Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2007 05:57:23 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        "Neo [GC]" <neo@gothic-chat.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Can't make buildworld in 6-STABLE
Message-ID:  <20070504195723.GE818@turion.vk2pj.dyndns.org>
In-Reply-To: <463B24C3.3010906@gothic-chat.de>
References:  <463B24C3.3010906@gothic-chat.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 2007-May-04 14:19:15 +0200, "Neo [GC]" <neo@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGO5Aj/opHv/APuIcRAnknAKC4tMf3m6r2cdb4jWDi1LYc/xwY1ACghkj3
xwNjZIsNVXy5UIfqyEZQEDk=
=0AK7
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070504195723.GE818>