Re: exporting kernel symbols

Keith Owens (kaos@ocs.com.au)
Tue, 29 Jan 2002 00:22:44 +1100


On Mon, 28 Jan 2002 13:13:38 +0000,
"kumar M" <kumarm4@hotmail.com> wrote:
>On a freshly installed RedHat 7.1 machine
>with 2.4.2-2 kernel, a 'make modules'
>throws up errors such as :
>----------------------------------------
>/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not
>hexadecimal
>/usr/src/linux-2.4/include/linux/module.h:173: parse error before `62dada05'
>/usr/src/linux-2.4/include/linux/module.h:173:
>`inter_module_register_R_ver_str' declared as function returning a function
>/usr/src/linux-2.4/include/linux/module.h:173: warning: function declaration
>isn't a prototype
>.......................................................
>
>So we do a 'make mrproper' and 'make menuconfig' and
>save and exit without any changes to configuration.
>Then we rebuild the kernel.
>make dep & make modules are done smoothly.
>
>Can you let us know why we should be doing make mrproper
>on a system freshly installed with redhat 7.1(2.4.2-2smp)

RedHat do something strange with module symbols. I have never
understood what they are trying to do nor why it messes up a normal
kernel compile. Ask RH what the build procedure is for their
distributed kernels and why a normal build goes wrong.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/