>I am getting lot of undefined reference errors when I am cross >compiling the code for arm architecture, following are some errors. I am >using uclibc >Tool chain. > >make[1]: Entering directory `/home/ravinder/rtsp/live_arm/testProgs' >arm-linux-gcc -otestMP3Streamer -L. testMP3Streamer.o >../liveMedia/libliveMedia.a ../groupsock/libgroupsock.a >../UsageEnvironment/libUsageEnvironment.a >../BasicUsageEnvironment/libBasicUsageEnvironment.a >testMP3Streamer.o: In function `main': >testMP3Streamer.cpp:(.text+0x140): undefined reference to `operator >new(unsigned int)'
The problem is that you're not linking with the C++ runtime libraries. Try changing the definition of LINK in "config.armlinux" from $(CROSS_COMPILE)gcc -o to $(CROSS_COMPILE)g++ -o Perhaps that might help. -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel