Re: Problem compiling binutils



Moe Trin wrote:
On Tue, 21 Nov 2006, in the Usenet newsgroup comp.unix.admin, in
article <ejvhha0129p@xxxxxxxxxxxxxxxxx>, Stan R. wrote:

( Original thread: <egpre8014hc@xxxxxxxxxxxxxxxxx> )

and who knows where _that_ got spewed to - you've posted exactly the
same article to

alt.os.linux.redhat Tue, 21 Nov 2006 10:45:34 -0800
comp.os.linux.misc Tue, 21 Nov 2006 10:45:22 -0800
comp.unix.admin Tue, 21 Nov 2006 10:45:58 -0800
linux.redhat Tue, 21 Nov 2006 10:45:51 -0800

and who knows where else. Think it might be an idea to provide some
information like what operating system you are using? If it's a
Linux, which distribution and version?

Sorry for multi posting. I rarely do this.

My system is originally RH 7.3, now Kernel:

2.4.20-20.7 #1 Mon Aug 18 14:56:30 EDT 2003 i686 unknown

When I try to compile binutils-2.17, it errors out with:

# CC=/usr/local/gcc4/bin/gcc ./configure
--prefix=/usr/local/binutils

Do you have all of the prerequisites installed?

IT would appear so. Actually, Im updating my binutils as a
/prerequisite/ of glibc 2.4 of which I'm trying to install (in parallel
to the existing one for the time being so not to break existing programs
that rely on 2.1)

In file included from /usr/local/include/signal.h:358,
from .././libiberty/pex-unix.c:28:
/usr/local/include/bits/sigthread.h:36: error:
storage class specified for parameter 'type name'

This looks like your 'include's are screwed up, but without having any
idea what O/S you are trying to use, who knows. You posted to (at
least) two Red Hat groups, and Fedora Core 6 does include
binutils-2.17.50.0.3-6 while earlier versions of Fedora had
2.15.x.x.x and 2.16.x.x.x, but I don't see a binutils package in any
of the errata since RH 7.2 in 2001.

Yes and I just realized that it's using headers from /usr/local/include
instead of /usr/include

I will test with the includes set for /usr/include for the compile (if
this can be set in .configure)

--
Stan


.



Relevant Pages