Error while building binutils

Ali Asgar Nasir aliasgar.nasir at patni.com
Mon Aug 7 07:26:17 UTC 2006


Hi,
I get the following error while building binutils on the  on Fedora core 
release 4.

../../binutils-2.13.2.1/gas/config/tc-m68k.h:227: error: array type has 
incomplete element type.

I guess this could be a problem with the gcc version 4.0.0.
Does any one have a fix to this.?

Binutils version 2.13.2.1
Command line commands after configuring: make all

Regards
Ali



gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.13.2.1/gas -I. -D_GNU_SOURCE -I.  
-I../../binutils-2.13.2.1/gas -I../bfd -I../../binutils-2.13.
/gas/config -I../../binutils-2.13.2.1/gas/../include -I../../binutils-2.13.2.1/gas/.. 
 -I../../binutils-2.13.2.1/gas/../bfd -I../../binuti
2.13.2.1/gas/../intl -I../intl -DLOCALEDIR="\"/home/ali/rtems/rtemsdocs-4.6.6/share/locale\"" 
   -W -Wall -Wstrict-prototypes -Wmissing-pr
types -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-m68k.h:227: error: array type has 
incomplete element type
make[3]: *** [app.o] Error 1
make[3]: Leaving directory `/home/ali/rtems/tools/b-binutils/gas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ali/rtems/tools/b-binutils/gas'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/ali/rtems/tools/b-binutils/gas'
make: *** [all-gas] Error 2



[ali at localhost b-binutils]$ gcc --version
gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[ali at localhost b-binutils]$ 


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin at patni.com and delete this mail. 
_____________________________________________________________________


More information about the users mailing list