newbie question regarding linker error

Fri Sep 26 21:50:00 GMT 2008

i used crosstool to build gcc for PPC64 target on an intel machine. Now i am trying to compile an application using the crosscompiler. 
The error i get towards the end of the compilation is: 
Relocatoins in generic ELF (EM: 62)
../sdk/libs/gallinuxppc64.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

Any ideas what causes this error. 

The app i am trying to compile uses 3 libraries all compiled with the same compiler and with the same options..specifically i added -m64 flag and -melf64ppc link flag too. 
Any help is appreciated. Please let me know if i need to provide more data as well.
Thanks, Nishita


For unsubscribe information see

More information about the crossgcc mailing list