From owner-freebsd-questions@FreeBSD.ORG Tue May 29 15:35:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8042A16A508 for ; Tue, 29 May 2007 15:35:25 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in08.adhost.com (mail-in08.adhost.com [216.211.128.141]) by mx1.freebsd.org (Postfix) with ESMTP id 6542213C455 for ; Tue, 29 May 2007 15:35:25 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (unknown [216.211.143.69]) by mail-in08.adhost.com (Postfix) with ESMTP id 19FFD8FC46 for ; Tue, 29 May 2007 08:35:25 -0700 (PDT) (envelope-from mksmith@adhost.com) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-cr-puzzleid: {9D23526B-8812-413A-8CD9-69D656A0885C} X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Date: Tue, 29 May 2007 08:35:24 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D52031602170E9B@ad-exh01.adhost.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: amd64 GENERIC fails to compile x-cr-hashedpuzzle: CNnp Ch41 CntG C5dG FM6A FSPC Fe/M F1b0 Gywl Hs7n HtFg H7m6 KGr2 KgPn KqRy K1+8; 1; ZgByAGUAZQBiAHMAZAAtAHEAdQBlAHMAdABpAG8AbgBzAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {9D23526B-8812-413A-8CD9-69D656A0885C}; bQBrAHMAbQBpAHQAaABAAGEAZABoAG8AcwB0AC4AYwBvAG0A; Tue, 29 May 2007 15:35:24 GMT; YQBtAGQANgA0ACAARwBFAE4ARQBSAEkAQwAgAGYAYQBpAGwAcwAgAHQAbwAgAGMAbwBtAHAAaQBsAGUA Thread-Index: AceiBvl7ZYUg+07TTnqcarX/5whxmw== From: "Michael K. Smith - Adhost" To: Subject: amd64 GENERIC fails to compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 15:35:25 -0000 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