Unable to link libraries in liblivemedia-dev

Bug #139994 reported by paskma
2
Affects Status Importance Assigned to Milestone
liblivemedia (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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.

Revision history for this message
paskma (paskma) wrote :

This bug is in both Edgy and Gusty version of liblivemedia-dev

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 RC or later?

Changed in liblivemedia:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in liblivemedia:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.