Date: Fri, 18 Oct 2002 12:14:14 -0700 From: Kent Stewart <kstewart@owt.com> To: "Valentyn I. Martynenko" <val@slavutich.kiev.ua> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: /usr/src/gnu/usr.bin/binutils/libiberty ??? Message-ID: <3DB05D86.5030704@owt.com> References: <20021018211542.O564-100000@home.org.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Valentyn I. Martynenko wrote: > Hello, Help me please to solve problem. > I have FBSD 4.6 STABLE and tree of sorce code FBSD 4.7, > then rebuilding system 4.6 -> 4.7 reseive the > following error code: > > cc -O -pipe -march=pentium -D_GNU_SOURCE -I. > -I/usr/src/gnu/usr.bin/binutils/lib > iberty -I/usr/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386 > -I/usr/src/gnu/u > sr.bin/binutils/libiberty/../../../../contrib/binutils/include > -DHAVE_CONFIG_H - > W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Wno-uninitiali > zed -Werror -c It did what you told it to do. -Werror told the compiler to die on warnings, which it did. Remove -Werror from where ever you set it and it should work. I get the same message about mktemp and it builds just fine. FWIW, I do not have an active CFLAGS in my /etc/make.conf Kent > /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binu > tils/libiberty/choose-temp.c -o choose-temp.o > cc1: warnings being treated as errors > /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/c > hoose-temp.c: In function `choose_temp_base': > /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/c > hoose-temp.c:68: warning: implicit declaration of function `mktemp' > *** Error code 1 > Stop in /usr/src/gnu/usr.bin/binutils/libiberty. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > . > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB05D86.5030704>