Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2008 11:00:32 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        current@freebsd.org
Subject:   Crossbuilding 7.x/amd64 from 8.x/i386 broken?
Message-ID:  <20081012090032.GA1461@roadrunner.spoerlein.net>

next in thread | raw e-mail | index | archive | help
Hi there,

I'm toying with putting RELENG_7/amd64 onto gmirrored CF-drives but need
to build it on a recent -CURRENT box. The build stops in libkvm, am I
doing this wrong?


% make buildworld buildkernel TARGET_ARCH=amd64
...
===> lib/libkvm (obj,depend,all,install)
rm -f .depend
mkdep -f .depend -a    -DLIBC_SCCS -I/vol/src7/lib/libkvm /vol/src7/lib/libkvm/kvm.c /vol/src7/lib/libkvm/kvm_amd64.c /vol/src7/lib/libkvm/kvm_cptime.c /vol/src7/lib/libkvm/kvm_file.c /vol/src7/lib/libkvm/kvm_getloadavg.c /vol/src7/lib/libkvm/kvm_getswapinfo.c /vol/src7/lib/libkvm/kvm_pcpu.c /vol/src7/lib/libkvm/kvm_proc.c /vol/src7/lib/libkvm/kvm_minidump_amd64.c
cc -O2 -fno-strict-aliasing -pipe  -DLIBC_SCCS -I/vol/src7/lib/libkvm  -c /vol/src7/lib/libkvm/kvm.c
cc -O2 -fno-strict-aliasing -pipe  -DLIBC_SCCS -I/vol/src7/lib/libkvm  -c /vol/src7/lib/libkvm/kvm_amd64.c
In file included from /usr/obj/amd64/vol/src7/tmp/usr/include/sys/param.h:63,
                 from /vol/src7/lib/libkvm/kvm_amd64.c:48:
/usr/obj/amd64/vol/src7/tmp/usr/include/sys/types.h:262: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__u_register_t'
*** Error code 1

Cheers,
Ulrich Spoerlein
-- 
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.



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