From owner-freebsd-stable@FreeBSD.ORG Fri Oct 5 09:24:37 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 07840106564A for ; Fri, 5 Oct 2012 09:24:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id BB5188FC2A for ; Fri, 5 Oct 2012 09:24:36 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id DD3E55C59; Fri, 5 Oct 2012 11:24:34 +0200 (CEST) Message-ID: <506EA759.4030700@FreeBSD.org> Date: Fri, 05 Oct 2012 11:24:41 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121002 Thunderbird/16.0 MIME-Version: 1.0 To: Mike Manilone References: <506E7742.6060308@gmx.us> In-Reply-To: <506E7742.6060308@gmx.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: error while building stable world X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2012 09:24:37 -0000 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 > ^ > 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.