asterisk-user@christoffersonrobb.com
2004-Jun-22 00:30 UTC
[Asterisk-Users] pwlib compile error
I am trying to compile pwlib in order to get h323 support working. Most of the compile is fine except it falls over at the point below. Does anyone have a solution? Thanks Johan make[2]: Entering directory `/root/pwlib/tools/asnparser' g++ -o obj_linux_x86_r/asnparser -Wl,--gc-sections -s -L/root/pwlib/lib ./obj_linux_x86_r/asn_grammar.o ./obj_linux_x86_r/asn_lex.o ./obj_linux_x86_r/main.o -lpt_linux_x86_r -lpthread -llber -lldap -lldap_r -lssl -lcrypto -lexpat -lresolv -ldl /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PObject::PreSerialise(PSerialiser&)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDevicePPM::IsOpen()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PQoS::guaranteedDSCP' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PQoS::PQoS[in-charge]()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `typeinfo for PAbstractDictionary' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PQoS::controlledLoadDSCP' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PObject::Serialise(PSerialiser&)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PPluginManager::GetPluginsProviding(PString const&) const' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceRGB::SetColourFormat(PString const&)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `typeinfo for PBYTEArray' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `typeinfo for PChannel' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDevicePPM::GetDeviceNames() const' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `typeinfo for PObject' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PString::Empty()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceNULL::GetMaxFrameBytes()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceNULL::SetFrameData(unsigned, unsigned, unsigned, unsigned, unsigned char const*, int)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceRGB::SetFrameData(unsigned, unsigned, unsigned, unsigned, unsigned char const*, int)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoInputDevice::GetFrame(PBYTEArray&)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `typeinfo for PAbstractArray' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceRGB::SetFrameSize(unsigned, unsigned)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDevicePPM::Close()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceNULL::GetDeviceNames() const' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDevicePPM::EndFrame()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PPluginManager::GetServiceDescriptor(PString const&, PString const&)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `operator<<(std::basic_ostream<char, std::char_traits<char> >&, PVideoDevice::VideoFormat)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoInputDevice::GetDeviceNames() const' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDevicePPM::Open(PString const&, int)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PObject::UnSerialise(PUnSerialiser&)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PQoS::bestEffortDSCP' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceNULL::Open(PString const&, int)' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceNULL::EndFrame()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceNULL::IsOpen()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PVideoOutputDeviceRGB::GetMaxFrameBytes()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PPluginManager::GetPluginManager()' /root/pwlib/lib/libpt_linux_x86_r.so: undefined reference to `PPluginManager::RegisterService(PString const&, PString const&, PPluginServiceDescriptor*)' collect2: ld returned 1 exit status make[2]: *** [obj_linux_x86_r/asnparser] Error 1
asterisk-user@christoffersonrobb.com wrote:> I am trying to compile pwlib in order to get h323 support working. Most > of the compile is fine except it falls over at the point below. Does > anyone have a solution?You are not using the proper version of PWLib (and i'll guess Open H.323 also) Read the README Jeremy McNamara
pwlib ver 1.5.2 /usr/bin/ld: ./obj_linux_x86_d/asn_grammar.o(.gnu.linkonce.r._ZTV5PListI7PStringE[vtable for PList<PString>]+0x1c): unresolvable relocation against symbol `PAbstractList::Compare(PObject const&) const' /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[3]: *** [obj_linux_x86_d/asnparser] Error 1 make[3]: Leaving directory `/usr/src/pwlib/tools/asnparser' make[2]: *** [debug] Error 2 make[2]: Leaving directory `/usr/src/pwlib' make[1]: *** [libs] Error 2 make[1]: Leaving directory `/usr/src/pwlib' make: *** [debuglibs] Error 2 any ideas ? thx in advance _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963