From owner-freebsd-questions@FreeBSD.ORG Sun Feb 3 13:46:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DB1D16A418 for ; Sun, 3 Feb 2008 13:46:01 +0000 (UTC) (envelope-from kaevee@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 14D0713C46B for ; Sun, 3 Feb 2008 13:46:00 +0000 (UTC) (envelope-from kaevee@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1862150waf.3 for ; Sun, 03 Feb 2008 05:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=v/4YnWw2I5U6D1zcm77a7czMvLB61QfqnK4/XYw37Gs=; b=p2c0HlyS2ZXUV5OZRc4TIany0j0qJxrB28J0UN1ExVmYnrowCVRT1UpeDDPYb8TgUrVouXwQU5/OdJtY+8bNenmLLO/utWI/izh4otRVAWlgyE1N/EMdRFejl0l02XUOOGSBBJYdB2c7Nu0kSHznRtX6CLis8KB84RFp5RpBJ3s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=aWK0sYpWLlhCOnAMzs/CHBVEki4ixZC6keq4VF0jv+8dUU+cGiiuYzWumDRHPr/cJUXFdWjUJKU5pz2Q3pyrcCy7EAARLB8ROIIvQtpbYVxj2/Q7pjIbduVuxaEjaAJ0bpPoJRiEx1086tpnk+E1OdCyQPbvyAJrHloRKHN7GzU= Received: by 10.114.146.1 with SMTP id t1mr5811347wad.20.1202046360133; Sun, 03 Feb 2008 05:46:00 -0800 (PST) Received: by 10.114.81.16 with HTTP; Sun, 3 Feb 2008 05:46:00 -0800 (PST) Message-ID: Date: Sun, 3 Feb 2008 19:16:00 +0530 From: "Venkatesh K" To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3071_28549273.1202046360125" References: <20080203070602.165ad048@scorpio> Subject: Re: buildworld failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 13:46:01 -0000 ------=_Part_3071_28549273.1202046360125 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Feb 3, 2008 6:34 PM, Venkatesh K wrote: > On Feb 3, 2008 5:36 PM, Gerard wrote: > > On Sun, 3 Feb 2008 15:00:36 +0530 > > "Venkatesh K" wrote: > > > > > I did try that too! Still same problem. > > > > From the FreeBSD manual: > > > > 23.4.14.6. What do I do if something goes wrong? > > > > Make absolutely sure your environment has no extraneous cruft from > > earlier builds. This is simple enough. > > # chflags -R noschg /usr/obj/usr > > # rm -rf /usr/obj/usr > > # cd /usr/src > > # make cleandir > > # make cleandir > > > > I had tried cleaning build tree as described above and building again. > It was of no help. Here are the steps I followed. 1. Cleaned up using following script clean.sh -------------------------------------------------------------------------- chflags -R noschg /usr/obj/usr rm -rf /usr/obj/usr cd /usr/src make cleandir make cleandir -------------------------------------------------------------------------- 2. Cvsup latest sources using cvsup -g -L 2 /etc/supfile (attached). Build fails while compiling /usr/src/sbin/gbde/gbde.c. --------------------------------------- error.log -------------------------- cc -O2 -fno-strict-aliasing -pipe -I/usr/src/sbin/fsdb/../fsck_ffs -DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/fsdb/../fsck_ffs/utilities.c cc -O2 -fno-strict-aliasing -pipe -I/usr/src/sbin/fsdb/../fsck_ffs -DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/fsdb/../../sys/ufs/ffs/ffs_subr.c cc -O2 -fno-strict-aliasing -pipe -I/usr/src/sbin/fsdb/../fsck_ffs -DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/fsdb/../../sys/ufs/ffs/ffs_tables.c (cd /usr/src/rescue/rescue/../../sbin/fsirand && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/fsirand/ depend && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/fsirand/ fsirand.o) rm -f .depend mkdep -f .depend -a -DRESCUE /usr/src/sbin/fsirand/fsirand.c echo fsirand: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/libutil.a >> .depend cc -O2 -fno-strict-aliasing -pipe -DRESCUE -c /usr/src/sbin/fsirand/fsirand.c (cd /usr/src/rescue/rescue/../../sbin/gbde && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/gbde/ depend && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/gbde/ gbde.o template.o rijndael-alg-fst.o rijndael-api-fst.o sha2.o g_bde_lock.o) file2c 'const char template[] = {' ',0};' < /usr/src/sbin/gbde/template.txt > template.c rm -f .depend mkdep -f .depend -a -I/usr/src/sbin/gbde/../../sys -DRESCUE /usr/src/sbin/gbde/gbde.c template.c /usr/src/sbin/gbde/../../sys/crypto/rijndael/rijndael-alg-fst.c /usr/src/sbin/gbde/../../sys/crypto/rijndael/rijndael-api-fst.c /usr/src/sbin/gbde/../../sys/crypto/sha2/sha2.c /usr/src/sbin/gbde/../../sys/geom/bde/g_bde_lock.c echo gbde: /usr/obj/usr/src/tmp/usr/lib/libc.a /usr/obj/usr/src/tmp/usr/lib/libmd.a /usr/obj/usr/src/tmp/usr/lib/libutil.a /usr/obj/usr/src/tmp/usr/lib/libgeom.a >> .depend cc -O2 -fno-strict-aliasing -pipe -I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c /usr/src/sbin/gbde/gbde.c /usr/src/sbin/gbde/gbde.c: In function `g_read_data': /usr/src/sbin/gbde/gbde.c:164: warning: implicit declaration of function `read' /usr/src/sbin/gbde/gbde.c: In function `setup_passphrase': /usr/src/sbin/gbde/gbde.c:216: warning: implicit declaration of function `close' /usr/src/sbin/gbde/gbde.c: In function `cmd_nuke': /usr/src/sbin/gbde/gbde.c:391: warning: implicit declaration of function `write' /usr/src/sbin/gbde/gbde.c: In function `cmd_init': /usr/src/sbin/gbde/gbde.c:556: warning: implicit declaration of function `unlink' /usr/src/sbin/gbde/gbde.c: In function `main': /usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of function `getopt' /usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared (first use in this function) /usr/src/sbin/gbde/gbde.c:804: error: (Each undeclared identifier is reported only once /usr/src/sbin/gbde/gbde.c:804: error: for each function it appears in.) *** Error code 1 Stop in /usr/src/sbin/gbde. *** Error code 1 Stop in /usr/obj/usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --------------------------------------------- End error.log ------------------------------------- I hope the above info is sufficient for helping me out. Thanks, -- Venkatesh. K ------=_Part_3071_28549273.1202046360125 Content-Type: application/octet-stream; name=supfile Content-Transfer-Encoding: base64 X-Attachment-Id: f_fc7ncqrl0 Content-Disposition: attachment; filename=supfile IyAkRnJlZUJTRDogc3JjL3NoYXJlL2V4YW1wbGVzL2N2c3VwL3N0YWJsZS1zdXBmaWxlLHYgMS4y OS4yLjMgM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