Hello I try to compile atapi-cam in FreeBSD 6.0. The command : config kernelname mage depend work fine, but when i try to make buildkernel KERNCONF=kernname, compilation of atapi-cam.c die with this error : 3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/dev/ata/atapi-cam.c /usr/src/sys/dev/ata/atapi-cam.c:112: warning: no previous prototype for 'atapi_cam_attach_bus' /usr/src/sys/dev/ata/atapi-cam.c:178: warning: no previous prototype for 'atapi_cam_detach_bus' /usr/src/sys/dev/ata/atapi-cam.c:187: warning: no previous prototype for 'atapi_cam_reinit_bus' /usr/src/sys/dev/ata/atapi-cam.c: In function `reinit_bus': /usr/src/sys/dev/ata/atapi-cam.c:208: error: structure has no member named `device' /usr/src/sys/dev/ata/atapi-cam.c:208: error: `MASTER' undeclared (first use in this function) /usr/src/sys/dev/ata/atapi-cam.c:208: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/ata/atapi-cam.c:208: error: for each function it appears in.) /usr/src/sys/dev/ata/atapi-cam.c:210: error: structure has no member named `device' /usr/src/sys/dev/ata/atapi-cam.c:210: error: `SLAVE' undeclared (first use in this function) /usr/src/sys/dev/ata/atapi-cam.c: In function `setup_dev': /usr/src/sys/dev/ata/atapi-cam.c:227: error: structure has no member named `softc' /usr/src/sys/dev/ata/atapi-cam.c:228: warning: implicit declaration of function`ata_set_name' /usr/src/sys/dev/ata/atapi-cam.c:228: warning: nested extern declaration of `ata_set_name' /usr/src/sys/dev/ata/atapi-cam.c:229: error: structure has no member named `channel' /usr/src/sys/dev/ata/atapi-cam.c:231: error: structure has no member named `softc' /usr/src/sys/dev/ata/atapi-cam.c: In function `atapi_action': /usr/src/sys/dev/ata/atapi-cam.c:285: error: structure has no member named `device' /usr/src/sys/dev/ata/atapi-cam.c:334: warning: passing arg 1 of `ata_reinit' from incompatible pointer type /usr/src/sys/dev/ata/atapi-cam.c:417: warning: implicit declaration of function`ata_prtdev' /usr/src/sys/dev/ata/atapi-cam.c:417: warning: nested extern declaration of `ata_prtdev' /usr/src/sys/dev/ata/atapi-cam.c:494: error: structure has no member named `device' /usr/src/sys/dev/ata/atapi-cam.c: In function `get_ata_device': /usr/src/sys/dev/ata/atapi-cam.c:797: error: structure has no member named `device' *** Error code 1 In kernel con i have this : device cd device pass device atapicam Tanks for any ideea.Received on Fri Apr 08 2005 - 12:32:42 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC