Error compiling sources - Upgrading from FreeBSD 5.2.1-p6 -> Current

From: Daryl Chance <chancedj_at_yahoo.com>
Date: Thu, 17 Jun 2004 08:21:30 -0700 (PDT)
Last cvsup was no more then an hour ago(did a complete
rm of the /usr/src dir).

i do a make buildworld and i get this error:

cc -O -pipe -I.
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../libbfd/i386
-I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../libbfd
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../contrib/binutils/include
-DDEFAULT_ARCH=\"i386\" -DTARGET_CPU=\"i386\"
-DTARGET_CANONICAL=\"i386-obrien-freebsd\"
-DTARGET_ALIAS=\"i386-obrien-freebsd\"
-DVERSION=\""2.15 [FreeBSD] 2004-05-23"\"
-D_GNU_SOURCE
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../contrib/binutils/gas
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../contrib/binutils/gas/config
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/../../../../../contrib/binutils
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/.. 
-I/usr/obj/usr/src/i386/legacy/usr/include  -static
-L/usr/obj/usr/src/i386/legacy/usr/lib -o as app.o
as.o atof-generic.o atof-ieee.o bignum-copy.o cond.o
dwarf2dbg.o ecoff.o expr.o flonum-copy.o
flonum-konst.o flonum-mult.o frags.o hash.o
input-file.o input-scrub.o listing.o literal.o macro.o
messages.o output-file.o read.o sb.o stabs.o subsegs.o
symbols.o write.o depend.o ehopt.o dw2gencfi.o
obj-elf.o tc-i386.o ../../libbfd/libbfd.a
../../libiberty/libiberty.a
../../libopcodes/libopcodes.a
/usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a
-legacy
as.o: In function `parse_args':
as.o(.text+0x3b8): undefined reference to
`getopt_long_only'
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/as/i386-freebsd.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/as.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


The only response I've gotten so far is that I
possibly have an outdated libc.  So I go to the libc
directory to upgrade it and get the following:

cc -O -pipe -mcpu=pentiumpro
-I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include
-I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE
-I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE
-I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP
-DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD
-Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized  -c nslexer.c
/dev/stdout: In function `_nsyylex':
/dev/stdout:711: warning: label `find_rule' defined
but not used
/usr/src/lib/libc/net/nslexer.l: At top level:
/dev/stdout:1678: warning: `yy_flex_realloc' defined
but not used
*** Error code 1

Stop in /usr/src/lib/libc.

I think it has something to do with the -Werror since
it's breaking on warnings, but I can't find where it
adds that to the command line.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Received on Thu Jun 17 2004 - 13:21:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC