Build failure: ata_boot_attach() references ata_raid_attach()

2002-12-05 Thread Marcel Moolenaar
Gang,

Anyone seen the following build failure?

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-g -nostdinc -I-  -I. -I/nfs/freebsd/5.x/src/sys -I/nfs/freebsd/5.x/src/sys/dev 
-I/nfs/freebsd/5.x/src/sys/contrib/dev/acpica 
-I/nfs/freebsd/5.x/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h 
-fno-common  -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata 
-ffreestanding -Werror  vers.c
linking kernel.debug
ata-all.o: In function `ata_boot_attach':
/nfs/freebsd/5.x/src/sys/dev/ata/ata-all.c:614: undefined reference to 
`ata_raid_attach'
*** Error code 1

Stop in /usr/obj/nfs/freebsd/5.x/src/sys/ITANIUM.
*** Error code 1



\begin{ITANIUM}
machine ia64
cpu ITANIUM
ident   ITANIUM
maxusers0

makeoptions DEBUG=-g

options ATA_STATIC_ID
options CD9660
options COMPAT_43
options COMPAT_FREEBSD4
options DDB
options FFS
options INET
options KBD_INSTALL_CDEV
options KTRACE
options MSDOSFS
options NFSCLIENT
options PROCFS
options PSEUDOFS
options ROOTDEVNAME=\ufs:da0p2\
options SCSI_DELAY=3000
options SOFTUPDATES
options SYSVMSG
options SYSVSEM
options SYSVSHM
options UFS_DIRHASH
options _KPOSIX_PRIORITY_SCHEDULING

device  acpi
device  ata
device  atapicd
device  atapifd
device  atkbd
device  atkbdc
device  bpf
device  da
device  ether
device  fxp
device  ichsmb
device  isa
device  isp
device  loop
device  lpt
device  md
device  miibus
device  pass
device  pci
device  pcm
device  ppbus
device  ppc
device  psm
device  pty
device  random
device  sc
device  scbus
device  sio
device  smbus
device  vga
\end{ITANIUM}

-- 
 Marcel Moolenaar USPA: A-39004  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Build failure: ata_boot_attach() references ata_raid_attach()

2002-12-05 Thread Dan Nelson
In the last episode (Dec 05), Marcel Moolenaar said:
 Gang,
 
 Anyone seen the following build failure?
 
 cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-g -nostdinc -I-  -I. -I/nfs/freebsd/5.x/src/sys -I/nfs/freebsd/5.x/src/sys/dev 
-I/nfs/freebsd/5.x/src/sys/contrib/dev/acpica 
-I/nfs/freebsd/5.x/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h 
-fno-common  -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata 
-ffreestanding -Werror  vers.c
 linking kernel.debug
 ata-all.o: In function `ata_boot_attach':
 /nfs/freebsd/5.x/src/sys/dev/ata/ata-all.c:614: undefined reference to 
`ata_raid_attach'
 *** Error code 1
 
 Stop in /usr/obj/nfs/freebsd/5.x/src/sys/ITANIUM.
 *** Error code 1

Soeren knows about this; the fix is to wrap the call to
ata_raid_attach inside an #ifdef DEV_ATADISK.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message