Date: Mon, 9 May 2005 19:48:47 -0700 From: Kris Kennaway <kris@obsecurity.org> To: "J.D. Bronson" <jbronson@wixb.com> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: build world failure help needed Message-ID: <20050510024847.GA19018@xor.obsecurity.org> In-Reply-To: <6.2.3.0.2.20050509202018.00bf93a8@cheyenne.wixb.com> 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> <a64c109e05050917517d39e65e@mail.gmail.com> <20050510011343.GA95164@xor.obsecurity.org> <6.2.3.0.2.20050509202018.00bf93a8@cheyenne.wixb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 09, 2005 at 08:21:37PM -0500, J.D. Bronson wrote: > 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 >=20 > 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! You clearly have some nonstandard settings, because your CC and CFLAGS variables are visibly nonstandard in the above log. This makes me think you have other nonstandard settings or customizations that are causing your error. Kris --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCgCEPWry0BWjoQKURArxkAJsFmU9zItkDGLTZvQ4wVvkeQTvIoQCg3/na O8OHKJkhEWhRvTTak+SL8e4= =B+jU -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050510024847.GA19018>