Problems compiling 8-STABLE/amd64 system on Intel Core2 4300
Polytropon
freebsd at edvax.de
Sun Jun 19 03:40:55 UTC 2011
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, ...
More information about the freebsd-questions
mailing list