Date: Tue, 29 May 2007 08:35:24 -0700 From: "Michael K. Smith - Adhost" <mksmith@adhost.com> To: <freebsd-questions@freebsd.org> Subject: amd64 GENERIC fails to compile Message-ID: <17838240D9A5544AAA5FF95F8D52031602170E9B@ad-exh01.adhost.lan>
next in thread | raw e-mail | index | archive | help
Hello All: We have a system that was built with the amd64 source (uname -a below). I was attempting to make a custom kernel and the make kept failing so I decided to try the make against GENERIC. It fails at the same place in GENERIC as the custom kernel. Here is the output. It's failing on the 3Ware driver and fails even if I comment out the TWA driver in the custom kernel. We have a kernel module loaded dynamically (twa96SE.ko) to support the 9650 RAID controller. Any help in making the make work would be greatly appreciated. FreeBSD f1-bsd01.adhost.lan 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 UTC 2007 root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 =3D=3D=3D> twa (all) cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/twa/../../dev/twa -DHAVE_KERNEL_OPTION_HEADERS -include /usr/src/sys/amd64/compile/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common -g -fno-omit-frame-pointer -I/usr/src/sys/amd64/compile/GENERIC -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 = -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/twa/tw_cl_init.c /usr/src/sys/modules/twa/tw_cl_init.c: In function `tw_cl_ctlr_supported': /usr/src/sys/modules/twa/tw_cl_init.c:68: error: `TW_CL_DEVICE_ID_9K_E' undeclared (first use in this function) /usr/src/sys/modules/twa/tw_cl_init.c:68: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/twa/tw_cl_init.c:68: error: for each function it appears in.) /usr/src/sys/modules/twa/tw_cl_init.c: In function `tw_cl_get_pci_bar_info': /usr/src/sys/modules/twa/tw_cl_init.c:118: error: `TW_CL_DEVICE_ID_9K_E' undeclared (first use in this function) /usr/src/sys/modules/twa/tw_cl_init.c: In function `tw_cl_init_ctlr': /usr/src/sys/modules/twa/tw_cl_init.c:335: error: `TW_CL_DEVICE_ID_9K_E' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/sys/modules/twa. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/amd64/compile/GENERIC. Regards, Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17838240D9A5544AAA5FF95F8D52031602170E9B>