Re: exporting kernel symbols

From: Keith Owens (kaos@ocs.com.au)
Date: Mon Jan 28 2002 - 08:22:44 EST


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/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:48 EST