Date: Fri, 05 Oct 2012 11:24:41 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Mike Manilone <crtmike@gmx.us> Cc: freebsd-stable@freebsd.org Subject: Re: error while building stable world Message-ID: <506EA759.4030700@FreeBSD.org> In-Reply-To: <506E7742.6060308@gmx.us> References: <506E7742.6060308@gmx.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-10-05 07:59, Mike Manilone wrote: > I'm trying to build a STABLE world. But now I've got an error. > > /usr/local/bin/clang -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 -Qunused-arguments -fstack-protector > -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -c > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c -o __vdso_gettc.o > /usr/src/lib/libc/amd64/sys/__vdso_gettc.c:31:10: fatal error: > 'sys/vdso.h' file not found > #include <sys/vdso.h> > ^ > 1 error generated. > *** [__vdso_gettc.o] Error code 1 > > > How can I fix this error? Don't use an absolute path for CC, it will not work. You can't build FreeBSD with ports clang, yet. > Another question: will buildworld also build the kernel? Use "make buildkernel" to build a kernel, optionally passing KERNCONF= to point at your custom kernel configuration.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506EA759.4030700>