From owner-freebsd-stable Fri Oct 18 12:14:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8463737B401 for ; Fri, 18 Oct 2002 12:14:28 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E90F043E91 for ; Fri, 18 Oct 2002 12:14:27 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id MAA03948; Fri, 18 Oct 2002 12:14:14 -0700 Message-ID: <3DB05D86.5030704@owt.com> Date: Fri, 18 Oct 2002 12:14:14 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: "Valentyn I. Martynenko" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: /usr/src/gnu/usr.bin/binutils/libiberty ??? References: <20021018211542.O564-100000@home.org.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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