Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 21:27:19 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: Build failure: ata_boot_attach() references ata_raid_attach()
Message-ID:  <20021206032719.GB34916@dan.emsphone.com>
In-Reply-To: <20021206012334.GA1274@athlon.pn.xcllnt.net>
References:  <20021206012334.GA1274@athlon.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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