From owner-freebsd-current@FreeBSD.ORG Tue Oct 12 09:29:53 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C83516A4CE for ; Tue, 12 Oct 2004 09:29:53 +0000 (GMT) Received: from acidy.com (iade006wl01.blackmesh.com [216.66.28.50]) by mx1.FreeBSD.org (Postfix) with SMTP id 9037A43D46 for ; Tue, 12 Oct 2004 09:29:52 +0000 (GMT) (envelope-from steve@acidy.com) Received: (qmail 28543 invoked by uid 512); 12 Oct 2004 09:29:51 -0000 Received: from steve@acidy.com by terrence by uid 510 with qmail-scanner-1.21st (clamdscan: 0.70rc. spamassassin: 2.63. Clear:RC:1(212.44.26.32):. Processed in 1.726786 secs); 12 Oct 2004 09:29:51 -0000 Received: from unknown (HELO apollo.howes-macnaghten.com) (212.44.26.32) by acidy.com with SMTP; 12 Oct 2004 09:29:49 -0000 Received: from steve ([192.168.42.70]) by apollo.howes-macnaghten.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 12 Oct 2004 10:29:48 +0100 From: "Steve Hodgson" To: "'Steve Hodgson'" , Date: Tue, 12 Oct 2004 10:29:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-OriginalArrivalTime: 12 Oct 2004 09:29:48.0351 (UTC) FILETIME=[04851CF0:01C4B03E] Subject: RE: source upgrading from 5.2.1-p11 to RELENG_5 causes compile error in/usr/src/contrib/binutils/bfd (from/usr/src/gnu/usr.bin/binutils/libbfd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 09:29:53 -0000 owner-freebsd-current@freebsd.org wrote: > I've been cvsupping for the past few days and i always get > the following error. I've been unable to find much of this on google. > > My /etc/make.conf has nothing in particular in it, and i've > not done anything silly in the past with make includes et al. > I've tried setting OSRELDATE to zero to no avail, and i've > looked through /usr/src/UPDATING and not found much. I've > also tried running make cleandir (x2), deleting /usr/obj > again to no success. finally I can cd directly into > /usr/src/gnu/usr.bin/binutils/libbfd and "make" products the > same error. > > Am I missing the obvious? > > Steve > > apoligies for the length... > > BEGIN################################################ > ===> gnu/usr.bin/binutils/libbfd > cc -O -pipe -I. -I/usr/src/gnu/usr.bin/binutils/libbfd/i386 > -I/usr/src/gnu/usr.bin/binutils/libbfd > -I/usr/src/gnu/usr.bin/binutils/libbfd/../libbfd > -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/binutils/libbfd/../libbfd > -I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/bin > utils/include > -D_GNU_SOURCE > -I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/bin > utils/bfd > -DSELECT_ARCHITECTURES=" &bfd_i386_arch" > -DHAVE_bfd_elf32_i386_freebsd_vec -DHAVE_bfd_elf32_i386_vec > -DSELECT_VECS=" &bfd_elf32_i386_freebsd_vec > ,&bfd_elf32_i386_vec" -DDEFAULT_VECTOR=bfd_elf32_i386_freebsd_vec > -I/usr/obj/usr/src/i386/legacy/usr/include -c > /usr/src/contrib/binutils/bfd/cpu-i386.c > In file included from /usr/src/contrib/binutils/bfd/cpu-i386.c:23: > /usr/src/contrib/binutils/bfd/libbfd.h:114: error: syntax > error before "_bfd_add_bfd_to_archive_cache" > /usr/src/contrib/binutils/bfd/libbfd.h:115: warning: data > definition has no type or storage class > /usr/src/contrib/binutils/bfd/libbfd.h:116: error: syntax > error before "_bfd_generic_mkarchive" > /usr/src/contrib/binutils/bfd/libbfd.h:117: warning: data > definition has no type or storage class > /usr/src/contrib/binutils/bfd/libbfd.h:120: error: syntax > error before "bfd_slurp_armap" Well, to answer my own question: you need to compile sed first. This is the steps I did cd /usr/src/usr.bin/sed sudo make build cd /usr/src sudo make buildworld It's not finished the build yet but its on the way. Since nobody else seems to have had this problem it probably isn't worth looking into too much further. If more people are bitten then perhaps an entry in /usr/src/UPDATING? Steve