From owner-freebsd-questions@FreeBSD.ORG Tue May 10 01:21:39 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 D941516A4EB for ; Tue, 10 May 2005 01:21:39 +0000 (GMT) Received: from cheyenne.wixb.com (cheyenne.wixb.com [65.43.82.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4398543D88 for ; Tue, 10 May 2005 01:21:39 +0000 (GMT) (envelope-from jbronson@wixb.com) Message-Id: <6.2.3.0.2.20050509202018.00bf93a8@cheyenne.wixb.com> Date: Mon, 09 May 2005 20:21:37 -0500 To: Kris Kennaway , Abu Khaled From: "J.D. Bronson" In-Reply-To: <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> <20050510011343.GA95164@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org 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:21:40 -0000 At 08:13 PM 5/9/2005, Kris Kennaway wrote: >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 I didnt do anything. the build failed. so I removed the cflags reference to -DCOLORES and then build world fine. so then I replaced the reference and was able to build world normally. I have no idea why this failed in the first place! -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282