compile-time warnings in ac8 and 10 (never tried 9)

CaT (cat@zip.com.au)
Wed, 29 Sep 1999 22:50:33 +1000


[22:47:19] mcp@sputnik:/usr/src/linux>> make bzlilo
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -c
-o init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make -C kernel
make[1]: Entering directory `/usr/src/linux.2318/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux.2318/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DEXPORT_SYMTAB -DMODULE_NAME=\"signal_\" -c signal.c
In file included from /usr/src/linux/include/linux/modversions.h:48,
from /usr/src/linux/include/linux/module.h:20,
from signal.c:10:
/usr/src/linux/include/linux/modules/pcisyms.ver:49: warning: `__ver_pci_drv_register' redefined
/usr/src/linux/include/linux/modules/pci-scan.ver:1: warning: this is the location of the previous definition
/usr/src/linux/include/linux/modules/pcisyms.ver:51: warning: `__ver_pci_drv_unregister' redefined
/usr/src/linux/include/linux/modules/pci-scan.ver:3: warning: this is the location of the previous definition
/usr/src/linux/include/linux/modules/pcisyms.ver:57: warning: `__ver_register_cb_hook' redefined
/usr/src/linux/include/linux/modules/pci-scan.ver:9: warning: this is the location of the previous definition
/usr/src/linux/include/linux/modules/pcisyms.ver:59: warning: `__ver_unregister_cb_hook' redefined
/usr/src/linux/include/linux/modules/pci-scan.ver:11: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DEXPORT_SYMTAB -DMODULE_NAME=\"ksyms_\" -c ksyms.c
In file included from /usr/src/linux/include/linux/modversions.h:48,
from /usr/src/linux/include/linux/module.h:20,
from ksyms.c:14:
/usr/src/linux/include/linux/modules/pcisyms.ver:49: warning: `__ver_pci_drv_register' redefined
/usr/src/linux/include/linux/modules/pci-scan.ver:1: warning: this is the location of the previous definition
/usr/src/linux/include/linux/modules/pcisyms.ver:51: warning: `__ver_pci_drv_unregister' redefined
/usr/src/linux/include/linux/modules/pci-scan.ver:3: warning: this is the location of the previous definition
/usr/src/linux/include/linux/modules/pcisyms.ver:57: warning: `__ver_register_cb_hook' redefined
/usr/src/linux/include/linux/modules/pci-scan.ver:9: warning: this is the location of the previous definition
/usr/src/linux/include/linux/modules/pcisyms.ver:59: warning: `__ver_unregister_cb_hook' redefined
/usr/src/linux/include/linux/modules/pci-scan.ver:11: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -fno-omit-frame-pointer -DMODULE_NAME=\"sched_\" -c -o sched.o sched.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE_NAME=\"dma_\" -c -o dma.o dma.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE_NAME=\"fork_\" -c -o fork.o fork.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DCPU=686 -march=i686 -DMODULE_NAME=\"exec_domain_\" -c -o exec_domain.o exec_domain.c

This happens in a lot of other places. Same deal though.

stuff used: gcc 2.95.1, glibc 2.1.2

-- 
CaT (cat@zip.com.au)                       URL: http://www.zip.com.au/dev/null

'He had position, but I was determined to score.' -- Worf, DS9, Season 5: 'Let He Who Is Without Sin...'

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