On Wed, Jun 06, 2012 at 11:16:20AM +0000, FreeBSD Tinderbox wrote: > ... > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc > -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF > -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector > -Werror -pg -mprofiler-epilogue /src/sys/cam/scsi/scsi_xpt.c > /src/sys/cam/scsi/scsi_xpt.c:511: error: 'CAM_QUIRK_NORPTLUNS' undeclared > here (not in a function) > *** Error code 1 > > Stop in /obj/i386/src/sys/LINT. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2012-06-06 11:16:20 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2012-06-06 11:16:20 - ERROR: failed to build LINT kernel > TB --- 2012-06-06 11:16:20 - 2297.46 user 438.36 system 3000.24 real > ...
The attached patch fixed the problem for me; now running: FreeBSD g1-227.catwhisker.org 8.3-STABLE FreeBSD 8.3-STABLE #402 236672M: Wed Jun 6 04:48:11 PDT 2012 r...@g1-227.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
Index: scsi_xpt.c =================================================================== --- scsi_xpt.c (revision 236672) +++ scsi_xpt.c (working copy) @@ -71,6 +71,7 @@ #define CAM_QUIRK_NOSERIAL 0x02 #define CAM_QUIRK_HILUNS 0x04 #define CAM_QUIRK_NOHILUNS 0x08 +#define CAM_QUIRK_NORPTLUNS 0x10 u_int mintags; u_int maxtags; };
pgpDKyqEsXOwt.pgp
Description: PGP signature