[root@proxy ftsrc]# make gcc -D__KERNEL__ -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -c fasttrak.c fasttrak.c: In function 'init_ioports': fasttrak.c:205: warning: 'check_region' is deprecated (declared at /usr/src/linux/include/linux/ioport.h:137) fasttrak.c:207: warning: 'check_region' is deprecated (declared at /usr/src/linux/include/linux/ioport.h:137) fasttrak.c:209: warning: 'check_region' is deprecated (declared at /usr/src/linux/include/linux/ioport.h:137) fasttrak.c:218: warning: passing argument 2 of 'request_irq' from incompatible pointer type fasttrak.c: At top level: fasttrak.c:868: warning: 'struct SHT' declared inside parameter list fasttrak.c:868: warning: its scope is only this definition or declaration, which is probably not what you want fasttrak.c: In function 'do_fasttrak_detect': fasttrak.c:909: warning: passing argument 1 of 'scsi_register' from incompatible pointer type fasttrak.c:923: warning: passing argument 1 of 'scsi_register' from incompatible pointer type fasttrak.c:992: warning: 'interruptible_sleep_on' is deprecated (declared at /usr/src/linux/include/linux/wait.h:375) fasttrak.c: At top level: fasttrak.c:1039: warning: 'struct SHT' declared inside parameter list fasttrak.c: In function 'fasttrak_detect': fasttrak.c:1050: error: dereferencing pointer to incomplete type fasttrak.c:1051: error: dereferencing pointer to incomplete type fasttrak.c:1052: warning: passing argument 1 of 'do_fasttrak_detect' from incompatible pointer type fasttrak.c: In function 'fasttrak_queuecommand': fasttrak.c:1070: error: dereferencing pointer to incomplete type fasttrak.c:1078: error: dereferencing pointer to incomplete type fasttrak.c:1079: error: dereferencing pointer to incomplete type fasttrak.c:1080: error: dereferencing pointer to incomplete type fasttrak.c:1081: error: dereferencing pointer to incomplete type fasttrak.c:1083: error: dereferencing pointer to incomplete type fasttrak.c:1084: error: dereferencing pointer to incomplete type fasttrak.c:1086: error: dereferencing pointer to incomplete type fasttrak.c:1087: error: dereferencing pointer to incomplete type fasttrak.c:1088: warning: passing argument 1 of 'virt_to_phys' makes pointer from integer without a cast fasttrak.c: In function 'EndRequest': fasttrak.c:1109: error: dereferencing pointer to incomplete type fasttrak.c:1110: error: dereferencing pointer to incomplete type fasttrak.c: At top level: fasttrak.c:1163: error: expected declaration specifiers or '...' before 'kdev_t' fasttrak.c:1163: warning: 'struct Disk' declared inside parameter list fasttrak.c: In function 'fasttrak_bios_param': fasttrak.c:1167: error: dereferencing pointer to incomplete type fasttrak.c:1169: error: dereferencing pointer to incomplete type fasttrak.c:1172: error: dereferencing pointer to incomplete type fasttrak.c:1177: error: dereferencing pointer to incomplete type fasttrak.c: At top level: fasttrak.c:1201: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'driver_template' fasttrak.c: In function 'init_module': fasttrak.c:1206: error: 'driver_template' undeclared (first use in this function) fasttrak.c:1206: error: (Each undeclared identifier is reported only once fasttrak.c:1206: error: for each function it appears in.) fasttrak.c:1207: error: 'MODULE_SCSI_HA' undeclared (first use in this function) fasttrak.c: In function 'cleanup_module': fasttrak.c:1244: error: 'driver_template' undeclared (first use in this function) fasttrak.c:1245: error: 'MODULE_SCSI_HA' undeclared (first use in this function) make: *** [fasttrak.o] Error 1 [root@proxy ftsrc]#