This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make error in binutils


"Shaun M. Bogan" <bogans@uwplatt.edu> writes:

> When attempting to make binutils-2.8.1 I get the following error.  I've also tried binutils-2.9.1 and get virtually the same error.  The OSKit requires binutils version 2.8.x or 2.9.1 with BFD 2.9.1.  Any assistance you can provide would greatly be appreciated.  Here's the error:
> 
> [root@localhost binutils-2.8.1]# make
> make[1]: Entering directory `/prndb/binutils-2.8.1/libiberty'
> gcc -O2 -c -g -I. -I./../include  ./dummy.c 2>/dev/null
> make[1]: *** [dummy.o] Error 1
> make[1]: Leaving directory `/prndb/binutils-2.8.1/libiberty'
> make: *** [all-libiberty] Error 2
> [root@localhost binutils-2.8.1]# make
> make[1]: Entering directory `/prndb/binutils-2.8.1/libiberty'
> gcc -O2 -c -g -I. -I./../include  ./dummy.c 2>/dev/null
> make[1]: *** [dummy.o] Error 1
> make[1]: Leaving directory `/prndb/binutils-2.8.1/libiberty'
> make: *** [all-libiberty] Error 2

The current version is 2.14.  Versions 2.8.1 and 2.9.1 are very old,
and I doubt it's worth any volunteers time to support them.

I removed the dummy.c file in 1998, replacing it by using autoconf.
If you want to find out what is happening, the obvious first step
would be to remove the 2>/dev/null from the compilation command to see
what errors you are getting.  Most likely there are some conflicts
between the function prototypes in the system header files and the
function uses in dummy.c.  dummy.c worked pretty well five years ago,
but it obviously hasn't been updated for newer systems.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]