[tulip] Error during compile : what is .modinfo?

Keith Owens kaos@ocs.com.au
Sun, 03 Sep 2000 05:32:50 +1100


On Sat, 2 Sep 2000 08:31:23 -0400, 
"Frank J. Schmuck" <fschmuck@chartertn.net> wrote:
>When compiling the tulip drivers with -D__SMP__ I receive errors similar to
>the following for each file compiled using the makefile included.  I can't
>locate .modinfo in order to track down the errors.  The result is production
>of drivers that do initialize the card but hangs the system.
>
>pci-skeleton.c
>{standard input} : Assembler messages:
>{standard input} :70: Warning: Ignoring changed section attributes for
>.modinfo

.modinfo is an ELF section in the object that contains module
information.  It holds things like parameter definitions for insmod,
the author, the PCI table, the kernel version the module was compiled
for etc.  The message "Ignoring changed section attributes for
.modinfo" is the assembler complaining that the definitions for
.modinfo in the source are inconsistent.

You need to provide more details, which kernel, which version of
pci-skeleton, which version of gcc, which command was used to run the
compiler, what are the exact error messages?