problem to build binutils!

Matteo matteo.posterli at studenti.unipr.it
Mon Jan 30 14:50:48 UTC 2006



Hi
I would like to install binutils-2.13.2.1, gcc-3.2.3, newlib-1.11.0 with the
relative patch, with rtems-4.6.5 . 
I have do the the simbolic link with ;
 /usr/local/rtems/source/tools/gcc-3.2.3#ln -s ../newlib-1.13.0/newlib newlib

I'm trying to install binutils-2.13.2.1, I configure it with 
/usr/local/rtems/source/tools/b-binutils# ../binutils-2.13.2.1/configure
--target=i386-rtems4.7 –prefix=/usr/local/rtems/rtems4.7
..
..
and then I try to do 
/usr/local/rtems/source/tools/b-binutils# make -w all install 

and I have the following error;
..
..
Wmissing-prototypes -g -O2 -c ../../binutils-2.13.2.1/gas/app.c
In file included from ./targ-cpu.h:1,
                 from ../../binutils-2.13.2.1/gas/config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from ../../binutils-2.13.2.1/gas/config/te-generic.h:19,
                 from ./targ-env.h:1,
                 from ../../binutils-2.13.2.1/gas/as.h:614,
                 from ../../binutils-2.13.2.1/gas/app.c:30:
../../binutils-2.13.2.1/gas/config/tc-i386.h:530: error: array type has
incomplete element type
make[3]: *** [app.o] Error 1
make[3]: Leaving directory `/usr/local/rtems/source/tools/b-binutils/gas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/rtems/source/tools/b-binutils/gas'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/rtems/source/tools/b-binutils/gas'
make: *** [all-gas] Error 2
make: Leaving directory `/usr/local/rtems/source/tools/b-binutils'

Why I have problem to build binutils-2.13.2.1 ?  
Someone can help me ?

Thanks in advance.




More information about the users mailing list