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

Scott Hays sdhays at neon.com.tw
Fri Jan 6 15:36:58 PST 2006


I've been compiling the liveMedia libraries with a version of an arm- 
elf-gcc 2.95.3 cross compiler built for my ARM Linux distribution  
(BlueCat 4.1) since last April.  I don't remember ever having a  
problem like this.  It looks like your linker may not be finding  
everything it's supposed to; Google has some suggestions that look  
useful.

Good luck!
Scott

On Jan 5, 2006, at 5:12 PM, David wrote:

> 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!!!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20060106/cc6fa6c9/attachment.html


More information about the live-devel mailing list