build world failure help needed

Kent Stewart kstewart at owt.com
Mon May 9 08:56:25 PDT 2005


On Monday 09 May 2005 05:56 am, J.D. Bronson wrote:
> I am trying to build world on 5.4-RC4 and need some assistance
> troubleshooting the build...
>
> it builds fine until:
>
> ===> 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
> /usr/src/bin/ls/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
> /usr/src/bin/ls/ls.c
> /usr/src/bin/ls/ls.c: In function `main':
> /usr/src/bin/ls/ls.c:330: warning: passing arg 1 of `tgetstr'
> discards qualifiers from pointer target type
> /usr/src/bin/ls/ls.c:331: warning: passing arg 1 of `tgetstr'
> discards qualifiers from pointer target type
> /usr/src/bin/ls/ls.c:332: warning: passing arg 1 of `tgetstr'
> discards qualifiers from pointer target type
> /usr/src/bin/ls/ls.c:333: warning: passing arg 1 of `tgetstr'
> discards qualifiers from pointer target type
> /usr/src/bin/ls/ls.c:338: warning: passing arg 1 of `tgetstr'
> discards qualifiers from pointer target type
> /usr/src/bin/ls/ls.c:340: warning: passing arg 1 of `tgetstr'
> discards qualifiers from pointer target type
> *** Error code 1
>

You aren't seeing the error. This usually means you are running -jx of 
some size for x. You have run with no -j to see the error. If you time 
the build, you will probably see a smaller build time on non-smp 
systems when you don't provide a -j.

Kent

> Stop in /usr/src/bin/ls.
> *** Error code 1
>
> Stop in /usr/src/bin.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> Help?

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


More information about the freebsd-questions mailing list