From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12382 invoked by alias); 15 Aug 2006 11:48:43 -0000 Received: (qmail 12370 invoked by uid 22791); 15 Aug 2006 11:48:43 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Aug 2006 11:48:40 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7FBmY6a029051; Tue, 15 Aug 2006 07:48:34 -0400 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7FBmYtT021238; Tue, 15 Aug 2006 07:48:34 -0400 Received: from [10.32.68.5] (vpn-68-5.surrey.redhat.com [10.32.68.5]) by pobox.surrey.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7FBmVIT010434; Tue, 15 Aug 2006 12:48:32 +0100 Message-ID: <44E1B48E.1050109@redhat.com> Date: Tue, 15 Aug 2006 12:15:00 -0000 From: Nick Clifton User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: "Wealand, Barry" CC: Joel Sherrill , "H. J. Lu" , binutils@sourceware.org Subject: Re: Problems linking PSIM programs References: <8F507E88CEE37244AF6947A3E0E479DF0D54DBF3@emss01m14.us.lmco.com> In-Reply-To: <8F507E88CEE37244AF6947A3E0E479DF0D54DBF3@emss01m14.us.lmco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00175.txt.bz2 Hi Barry, > For sake of completeness, I've attempted to build binutils 2.17 as > suggested, also for a Linux host and powerpc-eabi target. This does not > build (using native gcc 3.3.4 on the Linux machine). Well this definitely should work. I have a built powerpc-eabi toolchain on my machine using the 2.17 sources and it completed OK. > A whole slew of > errors are reported when building bfd, compiling module elf32-ppc.c. > The errors seem to occur in an include file, elf32-target.h, the first > from line 468: > > elf32-target.h:468: error: `false' undeclared (not in a function) This presumably indicates that the definition of "elf_backend_can_make_lsda_relative_eh_frame" is "false" instead of "bfd_false". > Have I missed any new required steps for configuring and building > binutils-2.17? (2.12 configures and builds on this machine just fine.) Yes. But it is hard to say exactly what has gone wrong. It looks like you are getting hold of some old header of configuration files somewhere. (The "false" type was removed from the binutils sources a while ago now). Did you build in an entirely clean environment ? (If not, please try this). Otherwise, please could you show us the other error messages you are getting, and also the command lines you are using to configure and build the binutils ? Cheers Nick