From owner-freebsd-questions@FreeBSD.ORG Tue May 10 01:13:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D67D16A4EB for ; Tue, 10 May 2005 01:13:45 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1399C43D2F for ; Tue, 10 May 2005 01:13:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AB3C9514DB; Mon, 9 May 2005 18:13:43 -0700 (PDT) Date: Mon, 9 May 2005 18:13:43 -0700 From: Kris Kennaway To: Abu Khaled Message-ID: <20050510011343.GA95164@xor.obsecurity.org> References: <6.2.3.0.2.20050509075508.00ad3490@cheyenne.wixb.com> <200505090856.19931.kstewart@owt.com> <6.2.3.0.2.20050509110438.00b4c468@cheyenne.wixb.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org cc: Kent Stewart cc: "J.D. Bronson" Subject: Re: build world failure help needed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 01:13:45 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 10, 2005 at 03:51:53AM +0300, Abu Khaled wrote: > > # make > > Warning: Object directory not changed from original /usr/src/bin/ls > > /usr/bin/gcc -O2 -pipe -DCOLORLS -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 > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c cmp.c > > /usr/bin/gcc -O2 -pipe -DCOLORLS -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 > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c ls.c > > ls.c: In function `main': > > ls.c:330: warning: passing arg 1 of `tgetstr' discards qualifiers > > from pointer target type > > ls.c:331: warning: passing arg 1 of `tgetstr' discards qualifiers > > from pointer target type > > ls.c:332: warning: passing arg 1 of `tgetstr' discards qualifiers > > from pointer target type > > ls.c:333: warning: passing arg 1 of `tgetstr' discards qualifiers > > from pointer target type > > ls.c:338: warning: passing arg 1 of `tgetstr' discards qualifiers > > from pointer target type > > ls.c:340: warning: passing arg 1 of `tgetstr' discards qualifiers > > from pointer target type > > *** Error code 1 It looks like you may have nonstandard -W settings, in particular -Werror. Don't do this unless you're willing to fix the warnings encountered in your build. Kris --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCgArHWry0BWjoQKURAlyXAJ9iUrMR4iNRNN5nRECjTn578API5gCdEit8 jNzC3wb6xB0VuI+CUgDv59I= =BqMW -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--