[Live-devel] Assembler Error for cross compiler

Çagdas Genç cgyencia at hotmail.com
Thu Feb 16 14:33:55 PST 2006


Hi

I am trying to compile live555 for armlinux media.

I installed  arm-linux-g++,  arm-linux-gasp,  arm-linux-gcc,  
arm-linux-gccbug,  arm-linux-gcov,  arm-linux-gdb,  and i try to compile 
.cpp files by (CROSS_COMPILE)gcc and then (CROSS_COMPILE)g++ but it didnt 
work

It recieved an error message that says bad instruction `rorw $8,r3' fault 
due to cross compiler.

The messages:
gmake[1]: Entering directory 
`/home/cgy/Desktop/Cgyencia/live555-latest/live/liveMedia'
arm-linux-g++ -c -Iinclude -I../UsageEnvironment/include 
-I../groupsock/include -I/usr/include -O2 -DSOCKLEN_T=socklen_t 
-DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -Wall -DBSD=1 -Wno-deprecated 
MP3HTTPSource.cpp
/tmp/ccvJKlNR.s: Assembler messages:
/tmp/ccvJKlNR.s:138: Error:  bad instruction `rorw $8,r3'
gmake[1]: *** [MP3HTTPSource.o] Error 1
gmake[1]: Leaving directory 
`/home/cgy/Desktop/Cgyencia/live555-latest/live/liveMedia'
gmake: *** [liveMedia/libliveMedia.a] Error 2



The code is compiled as elf and i can compile it with gcc...
(I even can not uninstall the rpm packages i recently installed)


What can i do?




More information about the live-devel mailing list