Valentyn I. Martynenko wrote:
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.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
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message