1) gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-aa/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include /data2/usr/local/src/linux-2.4-pre-aa/include/linux/modversions.h -I../ -DISP2200 -c qla2200.c -o qla2200.o qla2200.c:24: warning: `ISP2200' redefined *Initialization*:1: warning: this is the location of the previous definition In file included from qla2200.c:43: qla2x00.c:14897: unknown field `varyio' specified in initializer qla2x00.c:3402: warning: `qla2x00_biosparam' defined but not used qla2x00.c:14948: warning: `qla2x00_print_scsi_cmd' defined but not used qla2x00.c:15149: warning: `qla2x00_dump_requests' defined but not used qla2x00.c:14355: warning: `qla2x00_add_link_b' defined but not used qla2x00.c:14380: warning: `qla2x00_add_link_t' defined but not used qla2x00.c:14405: warning: `qla2x00_remove_link' defined but not used qla2x00.c:15002: warning: `qla2x00_print_q_info' defined but not used qla2x00.c:535: warning: `debug_buff' defined but not used qla_fo.cfg:24: warning: `MaxPathsPerDevice' defined but not used qla_fo.cfg:25: warning: `MaxRetriesPerPath' defined but not used qla_fo.cfg:26: warning: `MaxRetriesPerIo' defined but not used make[3]: *** [qla2200.o] Error 1 make[3]: Leaving directory `/data2/usr/local/src/linux-2.4-pre-aa/drivers/scsi/qla2xxx' A misspelt 'vary_io'. But also note that ISP2200 is defined on the command line as well as in qla2200.c:24. While this is only a warning, it should probably be cleaned. 2) drivers/usb/brlvger.c does not compile, since -pre5, on older gcc. 3) net/bluetooth/bnep/core.c line 461 refers to 'current->nice' which does not exist. Should be some priority field? 4) depmod: *** Unresolved symbols in /lib/modules/2.4.20-pre10-aa1/kernel/fs/xfs/xfs.o depmod: do_generic_file_write with: CONFIG_XFS_FS=m # CONFIG_XFS_RT is not set # CONFIG_XFS_QUOTA is not set # CONFIG_XFS_DMAPI is not set # CONFIG_XFS_DEBUG is not set # CONFIG_PAGEBUF_DEBUG is not set -- Eyal Lebedinsky (eyal@eyal.emu.id.au)