[Live-devel] "undefined references" when linking with liveMedia

Paulo Rogério Panhoto paulo at voicetechnology.com.br
Wed Mar 10 12:05:03 PST 2010


Hi,

    I'm trying to compile an application already built with LiveMedia
(on OpenSuSE 11.2, GCC 4.4). but I am having some problems when it comes
to linking. Apparently, I had no problems to compile LiveMedia. Here is
the make result of the app:

g++ -g -o "./Release/MultiMediaDemo" ./Release/CRTSPClient.o
./Release/CRTSPEnv.o ./Release/mmdemo.o ./Release/mmstream.o
./Release/config.o ./Release/exitsync.o ./Release/ipchannel.o
./Release/MultiMediaDemo_version.o       
-L/usr/dialogic/lib             -lgc -lipm -lsrl -lmml -ldevmgmt 
/usr/dialogic/demos/MultiMedia/live/liveMedia/libliveMedia.a
/usr/dialogic/demos/MultiMedia/live/groupsock/libgroupsock.a
/usr/dialogic/demos/MultiMedia/live/UsageEnvironment/libUsageEnvironment.a
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
-lboost_thread                                
/usr/dialogic/demos/sdpapi/Linux/sdpAPI.a
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler.o):(.rodata._ZTV18BasicTaskScheduler[vtable
for BasicTaskScheduler]+0x18): undefined reference to
`TaskScheduler::rescheduleDelayedTask(void*&, long long, void
(*)(void*), void*)'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicUsageEnvironment0.o):
In function `BasicUsageEnvironment0::~BasicUsageEnvironment0()':
BasicUsageEnvironment0.cpp:(.text+0x294): undefined reference to
`UsageEnvironment::~UsageEnvironment()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicUsageEnvironment0.o):
In function
`BasicUsageEnvironment0::BasicUsageEnvironment0(TaskScheduler&)':
BasicUsageEnvironment0.cpp:(.text+0x2c5): undefined reference to
`UsageEnvironment::UsageEnvironment(TaskScheduler&)'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicUsageEnvironment0.o):
In function
`BasicUsageEnvironment0::BasicUsageEnvironment0(TaskScheduler&)':
BasicUsageEnvironment0.cpp:(.text+0x305): undefined reference to
`UsageEnvironment::UsageEnvironment(TaskScheduler&)'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicUsageEnvironment0.o):
In function `BasicUsageEnvironment0::~BasicUsageEnvironment0()':
BasicUsageEnvironment0.cpp:(.text+0x251): undefined reference to
`UsageEnvironment::~UsageEnvironment()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicUsageEnvironment0.o):
In function `BasicUsageEnvironment0::~BasicUsageEnvironment0()':
BasicUsageEnvironment0.cpp:(.text+0x271): undefined reference to
`UsageEnvironment::~UsageEnvironment()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicUsageEnvironment0.o):(.rodata._ZTI22BasicUsageEnvironment0[typeinfo
for BasicUsageEnvironment0]+0x8): undefined reference to `typeinfo for
UsageEnvironment'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):
In function `BasicTaskScheduler0::~BasicTaskScheduler0()':
BasicTaskScheduler0.cpp:(.text+0x673): undefined reference to
`TaskScheduler::~TaskScheduler()'
BasicTaskScheduler0.cpp:(.text+0x699): undefined reference to
`TaskScheduler::~TaskScheduler()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):
In function `BasicTaskScheduler0::~BasicTaskScheduler0()':
BasicTaskScheduler0.cpp:(.text+0x701): undefined reference to
`TaskScheduler::~TaskScheduler()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):
In function `BasicTaskScheduler0::~BasicTaskScheduler0()':
BasicTaskScheduler0.cpp:(.text+0x771): undefined reference to
`TaskScheduler::~TaskScheduler()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):
In function `BasicTaskScheduler0::BasicTaskScheduler0()':
BasicTaskScheduler0.cpp:(.text+0x7a9): undefined reference to
`TaskScheduler::TaskScheduler()'
BasicTaskScheduler0.cpp:(.text+0x801): undefined reference to
`TaskScheduler::~TaskScheduler()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):
In function `BasicTaskScheduler0::BasicTaskScheduler0()':
BasicTaskScheduler0.cpp:(.text+0x839): undefined reference to
`TaskScheduler::TaskScheduler()'
BasicTaskScheduler0.cpp:(.text+0x891): undefined reference to
`TaskScheduler::~TaskScheduler()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):
In function `BasicTaskScheduler0::~BasicTaskScheduler0()':
BasicTaskScheduler0.cpp:(.text+0x6ec): undefined reference to
`TaskScheduler::~TaskScheduler()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):
In function `BasicTaskScheduler0::~BasicTaskScheduler0()':
BasicTaskScheduler0.cpp:(.text+0x75c): undefined reference to
`TaskScheduler::~TaskScheduler()'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):(.rodata._ZTV19BasicTaskScheduler0[vtable
for BasicTaskScheduler0]+0x18): undefined reference to
`TaskScheduler::rescheduleDelayedTask(void*&, long long, void
(*)(void*), void*)'
/usr/dialogic/demos/MultiMedia/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(BasicTaskScheduler0.o):(.rodata._ZTI19BasicTaskScheduler0[typeinfo
for BasicTaskScheduler0]+0x8): undefined reference to `typeinfo for
TaskScheduler'


Am I missing any library or flag?? Thanks for all help.

Regards,

Paulo.



More information about the live-devel mailing list