build world failure help needed

Kris Kennaway kris at obsecurity.org
Mon May 9 18:13:45 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050509/0c0bc15f/attachment.bin


More information about the freebsd-questions mailing list