On 2007-May-04 14:19:15 +0200, "Neo [GC]" <[EMAIL PROTECTED]> 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
pgpDG2sUuKPe0.pgp
Description: PGP signature
