Public bug reported:

Binary package hint: liblivemedia-dev

When I compile my project that uses liblivemedia

gcc -g3 -ggdb -DDEBUG -O0 -Wall -o rtspDump rtspDump.o  -lstdc++
../utils/librtsp/.libs/librtsp.a -lBasicUsageEnvironment -lgroupsock
-lliveMedia -lUsageEnvironment -lpthread
../utils/ipcorderError/.libs/liberrcodes.a

I get following error message:

/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libgroupsock.a(NetAddress.o): 
In function 
`AddressPortLookupTable::Iterator::Iterator(AddressPortLookupTable&)':
(.text+0x25a): undefined reference to `HashTable::Iterator::create(HashTable&)'

That means, some code in libgroupsock is not able to link Hashtable that
is stored in libUsageEnvironment. Both libgroupsock.a and
libUsageEnvironment.a are part of liblivemedia-dev package. That means,
this is internal problem in mentioned package.

When I build livemedia from scratch and copy all *.a files to, say,
/tmp/live and reference this directory:

 gcc -g3 -ggdb -DDEBUG -O0 -Wall -o rtspDump rtspDump.o  -lstdc++
../utils/librtsp/.libs/librtsp.a -L/tmp/live -lBasicUsageEnvironment
-lgroupsock -lliveMedia -lUsageEnvironment -lpthread
../utils/ipcorderError/.libs/liberrcodes.a

Link process passes without error.

** Affects: liblivemedia (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Unable to link libraries in liblivemedia-dev
https://bugs.launchpad.net/bugs/139994
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to