Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14775 - openh323 1.11.2 does not compile
Summary: openh323 1.11.2 does not compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
: 14867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-30 07:53 UTC by john read
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description john read 2003-01-30 07:53:40 UTC
emerge -u openh323 crashes with the following messages:

./obj_linux_x86_r/main.o(.text+0x124a): In function
`SimpleH323EndPoint::Initialise(PArgList&)':
: undefined reference to `H323EndPoint::SetAudioJitterDelay(unsigned, unsigned)'
./obj_linux_x86_r/main.o(.text+0x191c): In function
`SimpleH323EndPoint::Initialise(PArgList&)':
: undefined reference to
`H323TransportUDP::H323TransportUDP[in-charge](H323EndPoint&,
PIPSocket::Address, unsigned short)'
./obj_linux_x86_r/main.o(.text+0x1bad): In function
`SimpleH323EndPoint::Initialise(PArgList&)':
: undefined reference to
`H323TransportUDP::H323TransportUDP[in-charge](H323EndPoint&,
PIPSocket::Address, unsigned short)'
./obj_linux_x86_r/main.o(.data+0x3c): undefined reference to
`XiphSpeexNarrow2AudioCapability_Registration_Instance'
./obj_linux_x86_r/main.o(.data+0x40): undefined reference to
`XiphSpeexNarrow3AudioCapability_Registration_Instance'
./obj_linux_x86_r/main.o(.data+0x44): undefined reference to
`XiphSpeexNarrow4AudioCapability_Registration_Instance'
./obj_linux_x86_r/main.o(.data+0x48): undefined reference to
`XiphSpeexNarrow5AudioCapability_Registration_Instance'
./obj_linux_x86_r/main.o(.data+0x4c): undefined reference to
`XiphSpeexNarrow6AudioCapability_Registration_Instance'
./obj_linux_x86_r/main.o(.gnu.linkonce.d._ZTV18SimpleH323EndPoint+0x88):
undefined reference to `H323EndPoint::ForwardConnection(H323Connection&, PString
const&, H323SignalPDU const&)'
./obj_linux_x86_r/main.o(.gnu.linkonce.d._ZTV18SimpleH323EndPoint+0xc0):
undefined reference to `H323EndPoint::OnHTTPServiceControl(unsigned, unsigned,
PString const&)'
./obj_linux_x86_r/main.o(.gnu.linkonce.d._ZTV18SimpleH323EndPoint+0xc4):
undefined reference to `H323EndPoint::OnCallCreditServiceControl(PString const&,
int)'
./obj_linux_x86_r/main.o(.gnu.linkonce.d._ZTV18SimpleH323EndPoint+0xc8):
undefined reference to `H323EndPoint::OnServiceControlSession(unsigned,
unsigned, H323ServiceControlSession const&, H323Connection*)'
./obj_linux_x86_r/main.o(.gnu.linkonce.d._ZTV18SimpleH323EndPoint+0xcc):
undefined reference to
`H323EndPoint::CreateServiceControlSession(H225_ServiceControlDescriptor const&)'
/usr/lib/libh323_linux_x86_r.so: undefined reference to
`PASN_OctetString::DecodeSubType(PASN_Object&)'
/usr/lib/libh323_linux_x86_r.so: undefined reference to
`PIPSocket::Address::Address[in-charge](PIPSocket::Address const&)'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_encode'
/usr/lib/libh323_linux_x86_r.so: undefined reference to
`PSafeCollection::SafeAppend(PSafeObject*)'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_destroy'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_decode'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_encoder_ctl'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_decoder_destroy'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_encoder_destroy'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_nb_mode'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_encoder_init'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_reset'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_read_from'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_write'
/usr/lib/libh323_linux_x86_r.so: undefined reference to
`PIPSocket::Address::operator=(PIPSocket::Address const&)'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_decoder_init'
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_init'
Comment 1 Clemens Oertel 2003-01-30 17:14:12 UTC
Had the same problem: It worked as soon as I unmerged my previous openh323-installation:

emerge unmerge openh323
emerge openh323

Hope that works for you, too.

cheers
Comment 2 john read 2003-01-31 06:39:49 UTC
Yes that worked fine after unmerging the old version. Thanks. Is there any function in the portage to cover this type of problem?
Comment 3 Clemens Oertel 2003-01-31 08:11:14 UTC
The problem here is that you usually want these sideeffects. At least, you must ensure that you do not uninstall any software unless the updated version can be installed correctly and fully. I haven't seen such a function for ebuild-files yet. I would expect the ebuild to create a backup of the currently installed version, then unmerge the installed version, compile and install the new one. In case anything goes wring, the old version should be reinstalled.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-01-31 15:28:10 UTC
*** Bug 14867 has been marked as a duplicate of this bug. ***
Comment 5 Nick Hadaway 2003-02-03 02:26:36 UTC
make sure any previous versions of pwlib and openh323 are uninstalled before upgrading to the newer versions.  Speex support was needed externally previously but it has now been included in this upgraded version of pwlib/openh323.
enmerge old versions.
emerge new versions. It should work. :)