Hello everyone i am using ELDK cross compiler CC enviroment is 

arm-linux-gnueabi-g++

as shown in the example but the problem is that i am unable to do make it 
sucessfully.
here is the error what i get 




/root/ELDK/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/../../../../arm-linux-gnueabi/bin/ld:
macaw.o: Relocations in generic ELF (EM: 3)

macaw.o: could not read symbols: File in wrong format

collect2: ld returned 1 exit status

make: *** [macaw] Error 1

my make file is 


macaw:        macaw.h MACAW_Changes.h MACAW_Frames.h MACAW_Generic.h \
        MACAW_PHY.h MACAW_Timers.h\
        macaw.o MACAW_Generic.o MACAW_PHY.o MACAWTest.o \
        MACAW_Timers.o SystemClockResolution.o \
################################################################
        arm-linux-gnueabi-g++ macaw.o \
        MACAW_Generic.o MACAW_PHY.o MACAWTest.o \
        MACAW_Timers.o SystemClockResolution.o \
        -static -lstdc++ -o macaw

when i change arm-linux-gnueabi-g++ to only g++ it gets sucessfully compiled

Regard's
RT


      
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to