Date: Fri, 05 Oct 2012 17:55:57 +0800 From: Mike Manilone <crtmike@gmx.us> To: freebsd-stable@freebsd.org Subject: Re: error while building stable world Message-ID: <506EAEAD.209@gmx.us> In-Reply-To: <506EA759.4030700@FreeBSD.org> References: <506E7742.6060308@gmx.us> <506EA759.4030700@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506EAEAD.209>