Re: Important note for modutils snapshot for 970103

Felix A. Koop (koop@koop.inka.de)
Sat, 4 Jan 1997 23:20:03 +0100 (MET)


On Sat, 4 Jan 1997, Keith Owens wrote:

> On Fri, 03 Jan 1997 19:53:12 +0000,
> Klaus Kudielka <oe1kib@oe1xtu.ampr.org> wrote:
> >I applied the patch included to 2.1.20 and, during make modules, got
> >lots of these warnings (ARCH = i386):
> >
> >serial.c:2958: warning: parameter names (without types) in function
> >declaration
> >serial.c:2958: warning: data definition has no type or storage class
>
> After applying the kernel patch in modutils 970103 you MUST remake your
> configuration. Just run make config/menuconfig/xconfig, no need to
> change anything, exit and save configuration.
>
> The kernel patch adds a line to autoconf.h to detect mismatches between
> config.h and module.h, config.h must appear before module.h if
> EXPORT_... is used in the source. If you still get the above messages
> after rebuilding and saving your config, it means the source needs
> editting to add config.h before module.h.

I got the above mentioned error message while compiling with modules and
without modversions on i386. Apparently the definition of EXPORT_SYMTAB
isn't set in this case.

Greetings

Felix A. Koop
koop@koop.inka.de