Date: Sun, 07 Oct 2012 01:39:08 +0800 From: Mike Manilone <crtmike@gmx.us> To: freebsd-stable@freebsd.org Subject: Re: error while building stable world Message-ID: <50706CBC.5010304@gmx.us> In-Reply-To: <506EAEAD.209@gmx.us> References: <506E7742.6060308@gmx.us> <506EA759.4030700@FreeBSD.org> <506EAEAD.209@gmx.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012/10/05 17:55, Mike Manilone wrote: > But the problem will also happen even if I'm using the default gcc 4.2... > > cc -O2 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS > -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa > -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv > -D_ACL_PRIVATE -DPOSIX_MISTAKE > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c -o __vdso_gettc.o > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:31:22: error: sys/vdso.h: > No such file or directory > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: 'struct > vdso_timehands' declared inside parameter list > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: its scope is > only this definition or declaration, which is probably not what you want > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function > '__vdso_gettc_low': > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:40: error: dereferencing > pointer to incomplete type > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c: At top level: > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:45: warning: 'struct > vdso_timehands' declared inside parameter list > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function '__vdso_gettc': > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: error: dereferencing > pointer to incomplete type > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: warning: passing > argument 1 of '__vdso_gettc_low' from incompatible pointer type > *** [__vdso_gettc.o] Error code 1 > > > On 2012/10/05 17:24, Dimitry Andric wrote: >> Don't use an absolute path for CC, it will not work. You can't build >> FreeBSD with ports clang, yet. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Well. I noticed that /usr/src/sys/sys/vdso.h exists. Is there a way to install the new headers collection? I think this may solve the problem. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50706CBC.5010304>