[Live-devel] compilation problem

Derk-Jan Hartman hartman at videolan.org
Thu Nov 16 11:36:04 PST 2006


I get the following with gcc 4 on my macs:

cd mediaServer ; make
c++ -c -I../UsageEnvironment/include -I../groupsock/include -I../ 
liveMedia/include -I../BasicUsageEnvironment/include -I. - 
march=pentium-m -mtune=prescott  -DBSD=1 -O -DSOCKLEN_T=socklen_t - 
DUSE_LOCALE -DHAVE_SOCKADDR_LEN=1 -Wall live555MediaServer.cpp
c++ -c -I../UsageEnvironment/include -I../groupsock/include -I../ 
liveMedia/include -I../BasicUsageEnvironment/include -I. - 
march=pentium-m -mtune=prescott  -DBSD=1 -O -DSOCKLEN_T=socklen_t - 
DUSE_LOCALE -DHAVE_SOCKADDR_LEN=1 -Wall DynamicRTSPServer.cpp
c++ -o live555MediaServer -L.   live555MediaServer.o  
DynamicRTSPServer.o ../liveMedia/libliveMedia.a ../groupsock/ 
libgroupsock.a ../UsageEnvironment/libUsageEnvironment.a ../ 
BasicUsageEnvironment/libBasicUsageEnvironment.a
/usr/bin/ld: Undefined symbols:
TaskScheduler::rescheduleDelayedTask(void*&, long long, void (*) 
(void*), void*)
UsageEnvironment::UsageEnvironment(TaskScheduler&)
UsageEnvironment::~UsageEnvironment()
typeinfo for UsageEnvironment
TaskScheduler::TaskScheduler()
TaskScheduler::~TaskScheduler()
typeinfo for TaskScheduler
collect2: ld returned 1 exit status
make[3]: *** [live555MediaServer] Error 1
make[2]: *** [mediaServer/mediaServer] Error 2
make[1]: *** [.live] Error 2
make: *** [src] Error 2

DJ


More information about the live-devel mailing list