-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Greetings,
Is there a way for building libstdc++ and friends without
having to do a ``make build'' in /usr/src ?I've managed to upgrade gcc to 3.3.5, but I get the following issue
when compiling a fresh kernel from today's head branch:mkdir -p /usr/src/sys/arch/i386/compile/GENERIC/lib/kern
making sure the kern library is up to date...
`libkern.o' is up to date.
making sure the compat library is up to date...
`libcompat.a' is up to date.
sh /usr/src/sys/arch/i386/compile/GENERIC/../../../../conf/newvers.sh
cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized - Wno-format -Wno-main -fno-builtin-printf -fno-builtin-log -O2 -pipe -nostdinc - I. -I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch -I/usr/src/sys/arch /i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKME MSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMP AT_35 -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS - DMFS -DXFS -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DPORTAL -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP -DP PP_DEFLATE -DMROUTING -DBOOT_CONFIG -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DUSER_PCICONF -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_BSDOS -DCOMPAT_AOUT -DPROCFS -DACPIVERBOSE -DPCIVERBO SE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD - DWSDI!
SPLAY_DEF
rm -f bsd
ld -Ttext 0xD0100120 -e start -N -S -x -o bsd ${SYSTEM_OBJ} vers.o
vfs_bio.o(.text+0x171): In function `bufinit':
: undefined reference to `buf'
vfs_bio.o(.text+0x193): In function `bufinit':
: undefined reference to `buffers'
vfs_subr.o(.text+0x1ca4): In function `vfs_syncwait':
: undefined reference to `buf'
vfs_subr.o(.text+0x1d5d): In function `vfs_syncwait':
: undefined reference to `buf'
ffs_subr.o(.text+0x231): In function `ffs_checkoverlap':
: undefined reference to `buf'
ext2fs_subr.o(.text+0xc9): In function `ext2fs_checkoverlap':
: undefined reference to `buf'
uvm_glue.o(.text+0x86): In function `uvm_kernacc':
: undefined reference to `buffers'
machdep.o(.text+0x367): In function `allocsys':
: undefined reference to `buf'
machdep.o(.text+0x397): In function `setup_buffers':
: undefined reference to `buffers'
machdep.o(.text+0x48f): In function `setup_buffers':
: undefined reference to `buffers'
*** Error code 1Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 702 of Makefile).
Here's some details:
cc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.2/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)uname -a
OpenBSD flick 4.2 GENERIC#1 i386(I know this question is not quite related with the bug outlined above
but at least it could help to get the kernel compiling :]Also, for extra bonus points, I'm not sure why a 'basic_file.h'
file is missing when trying to build libstdc++:cd /usr/src
make build
... lot's of lines here skipped for readability but included in attachment ...
install: ./i386-unknown-openbsd4.2/bits/basic_file.h: No such file or directory
*** Error code 71Any ideas what should be done for upgrading libstdc++ to 4.2 ?
Regards,
- -Etienne
iEYEARECAAYFAkb1xLUACgkQdXKAffkXj4OUQgCfR0nL6doj45ydgjD4vTsYHD9X
UCgAoL8EFbMGrYfoyjswy+3sXkF/7dKu
=ip5E
-----END PGP SIGNATURE-----[demime 1.01d removed an attachment of type application/octet-stream which had a name of out]
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Gabriel C | Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| David Miller | [GIT]: Networking |
| Thomas Jarosch | Re: TCP connection stalls under 2.6.24.7 |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
