[vortex] Compile warnings

Joost joost@bingopaleis.com
Wed Mar 5 06:26:01 2003


I'm compiling the current 3c59x.c driver with the following command:

gcc -I/usr/src/kernel-headers-2.2.20/include/ -DMODULE -D__KERNEL__ -O6 -c
3c59x.c

And I get the following messages:

In file included from 3c59x.c:134:
kern_compat.h:216: warning: `DECLARE_MUTEX' redefined
/usr/src/kernel-headers-2.2.20/include/asm/semaphore.h:46: warning: this is
the location of the previous definition
kern_compat.h:224: warning: `time_before' redefined
/usr/src/kernel-headers-2.2.20/include/linux/timer.h:91: warning: this is
the location of the previous definition
/tmp/ccWXPotQ.s: Assembler messages:
/tmp/ccWXPotQ.s:72: Warning: ignoring changed section attributes for
.modinfo

Is this normal? I'm running Debian (Woody) with kernel 2.2.20. Any thoughts
would be appreciated.

Joost