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'
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
Yes that worked fine after unmerging the old version. Thanks. Is there any function in the portage to cover this type of problem?
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.
*** Bug 14867 has been marked as a duplicate of this bug. ***
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. :)