[Live-devel] compile armlinux error!!!!

David zzmpeg at 163.com
Thu Jan 5 17:12:12 PST 2006


I just use the config.armlinux config file, and cross compile livemedia with arm-elf-gcc 2.95.3.
 but meet with the following errors:
//----------------------------------------------------------------------------------------------
cd testProgs ; make
make[1]: Entering directory `/work/sf/liveMedia/live/testProgs'
arm-elf-gcc -c -I../UsageEnvironment/include -I../groupsock/include -I../liveMedia/include -I../BasicUsageEnvironment/include -I. -O2 -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -Wall -DBSD=1 testMP3Streamer.cpp
arm-elf-gcc -otestMP3Streamer -L. testMP3Streamer.o ../liveMedia/libliveMedia.a ../groupsock/libgroupsock.a ../UsageEnvironment/libUsageEnvironment.a ../BasicUsageEnvironment/libBasicUsageEnvironment.a
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o): In function `__do_global_ctors':
__main.o(.text+0xc4): undefined reference to `__CTOR_LIST__'
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.data+0x0): undefined reference to `__DTOR_LIST__'
collect2: ld returned 1 exit status
make[1]: *** [testMP3Streamer] Error 1
make[1]: Leaving directory `/work/sf/liveMedia/live/testProgs'
make: *** [testProgs/testMP3Streamer] Error 2
//-----------------------------------------------------------------------------------------

Pls help me ! and I know many guys in this maillist have got it worked under uclinux.


thanks a lot!!!





More information about the live-devel mailing list