Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2005 17:33:02 +0000
From:      Man Cristian <cristian@mail.next-computer.ro>
To:        freebsd-current@freebsd.org
Subject:   atapi-cam compile error
Message-ID:  <200504081733.03044.cristian@mail.next-computer.ro>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504081733.03044.cristian>