Can't make buildworld in 6-STABLE

Peter Jeremy peterjeremy at optushome.com.au
Fri May 4 19:57:26 UTC 2007


On 2007-May-04 14:19:15 +0200, "Neo [GC]" <neo at gothic-chat.de> wrote:
>When i do a 'make buildworld' in /usr/src, the make stops with the 
>following error:
>----------
>/usr/src/lib/libkvm/kvm_getswapinfo.c: In function `kvm_getswapinfo_kvm':
>/usr/src/lib/libkvm/kvm_getswapinfo.c:124: error: storage size of 
>'swinfo' isn't known
>/usr/src/lib/libkvm/kvm_getswapinfo.c: In function `nlist_init':
>/usr/src/lib/libkvm/kvm_getswapinfo.c:233: error: storage size of 
>'swinfo' isn't known
>*** Error code 1
...

Out of interest, is this when it's building the amd64 or i386 libkvm?

>CPUTYPE=nocona
>CFLAGS= -O2 -pipe
>CC=/usr/bin/cc
>CXX=/usr/bin/g++

I'd remove all 4 of these flags.  'CC' and 'CXX' in particular are
wrong for buildworld because most of buildworld uses a temporary
cross-compiler.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070504/6b18ed32/attachment.pgp


More information about the freebsd-stable mailing list