From owner-freebsd-questions@FreeBSD.ORG Sun Jun 19 03:40:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01BD1106564A for ; Sun, 19 Jun 2011 03:40:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id A609A8FC1C for ; Sun, 19 Jun 2011 03:40:54 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx02.qsc.de (Postfix) with ESMTP id 3F28B1E3B8; Sun, 19 Jun 2011 05:40:53 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p5J3eqWH002697; Sun, 19 Jun 2011 05:40:52 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 19 Jun 2011 05:40:52 +0200 From: Polytropon To: Frank Shute Message-Id: <20110619054052.fe43bf10.freebsd@edvax.de> In-Reply-To: <20110619031516.GD21890@orange.esperance-linux.co.uk> References: <20110619003230.07fe7f64.freebsd@edvax.de> <20110619030510.f5e8f6b2.freebsd@edvax.de> <20110619043839.b11b2559.freebsd@edvax.de> <20110619031516.GD21890@orange.esperance-linux.co.uk> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Problems compiling 8-STABLE/amd64 system on Intel Core2 4300 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2011 03:40:55 -0000 On Sun, 19 Jun 2011 04:15:16 +0100, Frank Shute wrote: > I've used "nocona" with my core2 with satisfactory results. Is there a list that states which CPU should be used with (at least) which CPUTYPE setting? Meanwhile, the build process stopped after nearly 2 hours with the following error: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -Wall -Wredun dant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer- arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostd inc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTI ON_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline- unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcm odel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -m no-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-pr otector -Werror /usr/src/sys/dev/bktr/bktr_i2c.c cc1: warnings being treated as errors /usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_smb_callback': /usr/src/sys/dev/bktr/bktr_i2c.c:131: warning: implicit declaration of function 'mtx_lock' /usr/src/sys/dev/bktr/bktr_i2c.c:131: warning: nested extern declaration of 'mtx _lock' /usr/src/sys/dev/bktr/bktr_i2c.c:131: error: 'Giant' undeclared (first use in th is function) /usr/src/sys/dev/bktr/bktr_i2c.c:131: error: (Each undeclared identifier is repo rted only once /usr/src/sys/dev/bktr/bktr_i2c.c:131: error: for each function it appears in.) /usr/src/sys/dev/bktr/bktr_i2c.c:136: warning: implicit declaration of function 'mtx_unlock' /usr/src/sys/dev/bktr/bktr_i2c.c:136: warning: nested extern declaration of 'mtx _unlock' /usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_callback': sr/src/sys/dev/bktr/bktr_i2c.c:168: error: 'Giant' undeclared (first use in th is function) /usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_reset': /usr/src/sys/dev/bktr/bktr_i2c.c:195: error: 'Giant' undeclared (first use in th is function) /usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_setsda': /usr/src/sys/dev/bktr/bktr_i2c.c:208: error: 'Giant' undeclared (first use in th is function) /usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_setscl': /usr/src/sys/dev/bktr/bktr_i2c.c:225: error: 'Giant' undeclared (first use in th is function) /usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_iic_getsda': /usr/src/sys/dev/bktr/bktr_i2c.c:243: error: 'Giant' undeclared (first use in th is function) /usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_write': /usr/src/sys/dev/bktr/bktr_i2c.c:260: error: 'Giant' undeclared (first use in th is function) /usr/src/sys/dev/bktr/bktr_i2c.c: In function 'bti2c_smb_readb': /usr/src/sys/dev/bktr/bktr_i2c.c:330: error: 'Giant' undeclared (first use in th is function) *** Error code 1 Stop in /usr/obj/usr/src/sys/EC1056. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I intended to keep my TV (and video) capturing card in use, accoding to "pciconf -lv" it's a Conexant (Was: Brooktree Corp) "7610144D&REV_02\4&1F7DBC9F&0&09F0 TV Video Capture" which worked on 7-STABLE/i386 (and still does), so I added the following to my kernel config for 8.2: device bktr options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL options BKTR_USE_PLL options BKTR_GPIO_ACCESS options BKTR_USE_FREEBSD_SMBUS I also have the dependencies (smbus) for this device added. Is there a known problem with this (admittedly oldfashioned) hardware on 8-STABLE/amd64 I should know of? In the meantime, I'll also comment out this piece of hardware and try again from start. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...