Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2005 08:56:19 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        "J.D. Bronson" <jbronson@wixb.com>
Subject:   Re: build world failure help needed
Message-ID:  <200505090856.19931.kstewart@owt.com>
In-Reply-To: <6.2.3.0.2.20050509075508.00ad3490@cheyenne.wixb.com>
References:  <6.2.3.0.2.20050509075508.00ad3490@cheyenne.wixb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505090856.19931.kstewart>