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]

Compiling error.


Hi.

I'm compiling binutils because the PalmOS developement tools (prc-tools-2.0) need it to build gcc, but it gives an error at a certain moment.

----- make output:
Bla Bla Bla
c++ -g -O2 -I../../prc-tools-2.0/tools/../binutils/include -I../binutils/bfd -o binres.o -c ../../prc-tools-2.0/tools/binres.cpp
In file included from ../../prc-tools-2.0/tools/binres:38:
../../prc-tools-2.0/binutils/include/libiberty.h:115: `void () (int)' cannot be `const'-, `volatile'-,
or `restrict'-qualified
make[1]: *** [binres.o] Error 1
make[1]: Leaving directory `/usr/src/prc/build/tools'
make: *** [all-host] Error 1
------ end make output

How do I solve this problemo? (using another version isn't an option, because prc-tools patches the files, but doesn't like newer versions of binutils. However, it doesn't patch the file libiberty.h, so that's not messed with.)

facts'n'figures:

using binutils-2.9.1
using gcc-2.95.2
OS: i386-linux (kernel 2.2.14, redhat 6.1 with parts of 7.0)
 
 
 
 

-- 
>From Tijmen Stam - "I believe in Linux" - tijmen@stamadvies.nl
POVray page http://members.tripod.lycos.nl/somepage/ Updated Dec 10,2000
All my code layout inspired by Andy Warhol (check chaos.theory.org)
mknod /dev/cupholder 3,64 && cat "coffee" > /dev/cupholder
 
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]