[OpenSER-Users] compiling woomera for FS
David Villasmil Govea
david.villasmil at gmail.com
Sun Dec 2 05:47:48 CET 2007
Hello all again,
I jus compiled beta2 of FS perfectly. I want to use woomera H.323 but
it is simply impossible to do. I tried to follow the instructions on the
wiki but it simply doesn't work. pwlib and openh323 compiled fine but
woomera comes back with:
g++ -D_REENTRANT -Wall -I/root/openh323/../pwlib/include -DPTRACING
-I/root/openh323/include -Os -felide-constructors -Wreorder -c main.cxx -o
obj_linux_x86_r/main.o
In file included from main.cxx:129:
openh323.h:212:22: warning: no newline at end of file
/root/openh323/../pwlib/include/ptclib/pwavfile.h:166: warning: â?~packedâ?T
attribute ignored for field of type â?~char [4]â?T
/root/openh323/../pwlib/include/ptclib/pwavfile.h:172: warning: â?~packedâ?T
attribute ignored for field of type â?~PWAV::ChunkHeaderâ?T
/root/openh323/../pwlib/include/ptclib/pwavfile.h:173: warning: â?~packedâ?T
attribute ignored for field of type â?~char [4]â?T
/root/openh323/../pwlib/include/ptclib/pwavfile.h:178: warning: â?~packedâ?T
attribute ignored for field of type â?~PWAV::ChunkHeaderâ?T
lib/woomera.h:819: warning: â?~class Woomera::ExternalCommandâ?T has virtual
functions but non-virtual destructor
/root/openh323/include/h4601.h: In member function
â?~H460_FeatureContent::operator H460_FeatureTable*()â?T:
/root/openh323/include/h4601.h:292: warning: type-punning to incomplete type
might break strict-aliasing rules
after repeating the lines above several times:
g++ -D_REENTRANT -Wall -I/root/openh323/../pwlib/include -DPTRACING
-I/root/openh323/include -Os -felide-constructors -Wr
eorder -c wivr.cxx -o obj_linux_x86_r/wivr.o
/root/openh323/../pwlib/include/ptclib/pwavfile.h:166: warning: â?~packedâ?T
attribute ignored for field of type â?~char [4]â
?T
/root/openh323/../pwlib/include/ptclib/pwavfile.h:172: warning: â?~packedâ?T
attribute ignored for field of type â?~PWAV::Chu
nkHeaderâ?T
/root/openh323/../pwlib/include/ptclib/pwavfile.h:173: warning: â?~packedâ?T
attribute ignored for field of type â?~char [4]â
?T
/root/openh323/../pwlib/include/ptclib/pwavfile.h:178: warning: â?~packedâ?T
attribute ignored for field of type â?~PWAV::Chu
nkHeaderâ?T
./lib/woomera.h:819: warning: â?~class Woomera::ExternalCommandâ?T has
virtual functions but non-virtual destructor
g++ -o obj_linux_x86_r/woomera -L/root/openh323/../pwlib/lib
-L/root/openh323/lib ./obj_linux_x86_r/main.o ./obj_linux_
x86_r/openh323.o ./obj_linux_x86_r/woomera.o ./obj_linux_x86_r/server.o
./obj_linux_x86_r/connection.o ./obj_linux_x86_r/
client.o ./obj_linux_x86_r/wivr.o -lh323_linux_x86_r -lpt_linux_x86_r
-lpthread -lssl -lcrypto -lresolv -ldl
./obj_linux_x86_r/openh323.o: In function
`OpenH323WoomeraCall::OnH323OpenAudioChannel(H323AudioCodec&, int)':
openh323.cxx:(.text+0x2b49): undefined reference to
`PVXMLSession::PVXMLSession(PTextToSpeech*, int)'
openh323.cxx:(.text+0x2ba2): undefined reference to
`PVXMLSession::SetTextToSpeech(PString const&)'
./obj_linux_x86_r/woomera.o: In function
`WoomeraPlayableToneDevice::Open(PVXMLChannel&, PString const&, int, int,
int)':
woomera.cxx:(.text+0x1239): undefined reference to
`PVXMLPlayableData::SetData(PBYTEArray const&)'
woomera.cxx:(.text+0x1253): undefined reference to
`PVXMLPlayableData::Open(PVXMLChannel&, PString const&, int, int, int)'
./obj_linux_x86_r/woomera.o: In function `PVXMLPlayable::~PVXMLPlayable()':
woomera.cxx:(.text._ZN13PVXMLPlayableD2Ev[PVXMLPlayable::~PVXMLPlayable()]+0x10):
undefined reference to `vtable for PVXMLPla
yable'
./obj_linux_x86_r/woomera.o: In function
`PVXMLPlayableData::~PVXMLPlayableData()':
woomera.cxx:(.text._ZN17PVXMLPlayableDataD2Ev[PVXMLPlayableData::~PVXMLPlayableData()]+0x10):
undefined reference to `vtable
for PVXMLPlayableData'
./obj_linux_x86_r/woomera.o: In function
`PVXMLPlayableFilename::~PVXMLPlayableFilename()':
woomera.cxx:(.text._ZN21PVXMLPlayableFilenameD2Ev[PVXMLPlayableFilename::~PVXMLPlayableFilename()]+0x10):
undefined reference
to `vtable for PVXMLPlayableFilename'
./obj_linux_x86_r/woomera.o: In function
`PVXMLPlayableURL::~PVXMLPlayableURL()':
woomera.cxx:(.text._ZN16PVXMLPlayableURLD2Ev[PVXMLPlayableURL::~PVXMLPlayableURL()]+0x10):
undefined reference to `vtable for
PVXMLPlayableURL'
./obj_linux_x86_r/woomera.o: In function `PVXMLPlayable::PVXMLPlayable()':
woomera.cxx:(.text._ZN13PVXMLPlayableC2Ev[PVXMLPlayable::PVXMLPlayable()]+0xe):
undefined reference to `vtable for PVXMLPlaya
ble'
./obj_linux_x86_r/woomera.o: In function
`PVXMLPlayableData::PVXMLPlayableData()':
woomera.cxx:(.text._ZN17PVXMLPlayableDataC2Ev[PVXMLPlayableData::PVXMLPlayableData()]+0x13):
undefined reference to `vtable f
or PVXMLPlayableData'
./obj_linux_x86_r/woomera.o: In function
`PVXMLPlayableFilename::PVXMLPlayableFilename()':
woomera.cxx:(.text._ZN21PVXMLPlayableFilenameC2Ev[PVXMLPlayableFilename::PVXMLPlayableFilename()]+0x16):
undefined reference
to `vtable for PVXMLPlayableFilename'
./obj_linux_x86_r/woomera.o: In function
`PVXMLPlayableURL::PVXMLPlayableURL()':
woomera.cxx:(.text._ZN16PVXMLPlayableURLC2Ev[PVXMLPlayableURL::PVXMLPlayableURL()]+0x16):
undefined reference to `vtable for
PVXMLPlayableURL'
./obj_linux_x86_r/woomera.o: In function
`WoomeraPlayableFilename::OnStop()':
woomera.cxx:(.text._ZN23WoomeraPlayableFilename6OnStopEv[WoomeraPlayableFilename::OnStop()]+0xf):
undefined reference to `PVX
MLPlayableFilename::OnStop()'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV25WoomeraPlayableToneDevice[vtable
for WoomeraPlayableToneDevice]+0x38): undefined r
eference to `PVXMLPlayableData::Play(PVXMLChannel&)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV25WoomeraPlayableToneDevice[vtable
for WoomeraPlayableToneDevice]+0x54): undefined r
eference to `PVXMLPlayable::ReadFrame(PVXMLChannel&, void*, int)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV25WoomeraPlayableToneDevice[vtable
for WoomeraPlayableToneDevice]+0x58): undefined r
eference to `PVXMLPlayableData::Rewind(PChannel*)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV26WoomeraPlayableSoundDevice[vtable
for WoomeraPlayableSoundDevice]+0x54): undefined
reference to `PVXMLPlayable::ReadFrame(PVXMLChannel&, void*, int)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTI25WoomeraPlayableToneDevice[typeinfo
for WoomeraPlayableToneDevice]+0x10): undefined
reference to `typeinfo for PVXMLPlayableData'
./obj_linux_x86_r/woomera.o:(.rodata._ZTI26WoomeraPlayableSoundDevice[typeinfo
for WoomeraPlayableSoundDevice]+0x10): undefin
ed reference to `typeinfo for PVXMLPlayable'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV23WoomeraPlayableFilename[vtable
for WoomeraPlayableFilename]+0x34): undefined refer
ence to `PVXMLPlayableFilename::Open(PVXMLChannel&, PString const&, int,
int, int)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV23WoomeraPlayableFilename[vtable
for WoomeraPlayableFilename]+0x38): undefined refer
ence to `PVXMLPlayableFilename::Play(PVXMLChannel&)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV23WoomeraPlayableFilename[vtable
for WoomeraPlayableFilename]+0x54): undefined refer
ence to `PVXMLPlayable::ReadFrame(PVXMLChannel&, void*, int)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV23WoomeraPlayableFilename[vtable
for WoomeraPlayableFilename]+0x58): undefined refer
ence to `PVXMLPlayableFilename::Rewind(PChannel*)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTI23WoomeraPlayableFilename[typeinfo
for WoomeraPlayableFilename]+0x10): undefined ref
erence to `typeinfo for PVXMLPlayableFilename'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV18WoomeraPlayableURL[vtable for
WoomeraPlayableURL]+0x34): undefined reference to `P
VXMLPlayableURL::Open(PVXMLChannel&, PString const&, int, int, int)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV18WoomeraPlayableURL[vtable for
WoomeraPlayableURL]+0x38): undefined reference to `P
VXMLPlayableURL::Play(PVXMLChannel&)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTV18WoomeraPlayableURL[vtable for
WoomeraPlayableURL]+0x54): undefined reference to `P
VXMLPlayable::ReadFrame(PVXMLChannel&, void*, int)'
./obj_linux_x86_r/woomera.o:(.rodata._ZTI18WoomeraPlayableURL[typeinfo for
WoomeraPlayableURL]+0x10): undefined reference to
`typeinfo for PVXMLPlayableURL'
./obj_linux_x86_r/server.o: In function `Woomera::Call::SetVar(PString
const&, PString const&)':
server.cxx:(.text+0x59c): undefined reference to
`PVXMLSession::SetTextToSpeech(PString const&)'
./obj_linux_x86_r/server.o: In function
`Woomera::Call::OnCmdRecord(PStringArray const&, PMIMEInfo const&, PString
const&)':
server.cxx:(.text+0x70bc): undefined reference to
`PVXMLChannel::EndRecording()'
./obj_linux_x86_r/server.o: In function
`Woomera::Call::OnCmdSpeak(PStringArray const&, PMIMEInfo const&, PString
const&)':
server.cxx:(.text+0x7e79): undefined reference to
`PVXMLSession::ConvertTextToFilenameList(PString const&, PTextToSpeech::Tex
tType, PStringArray&, int)'
server.cxx:(.text+0x8053): undefined reference to
`PVXMLPlayableFilenameList::Open(PVXMLChannel&, PStringArray const&, int, i
nt, int)'
./obj_linux_x86_r/server.o: In function
`PVXMLPlayableFilenameList::~PVXMLPlayableFilenameList()':
server.cxx:(.text._ZN25PVXMLPlayableFilenameListD2Ev[PVXMLPlayableFilenameList::~PVXMLPlayableFilenameList()]+0x10):
undefine
d reference to `vtable for PVXMLPlayableFilenameList'
./obj_linux_x86_r/server.o: In function
`PVXMLRecordableFilename::~PVXMLRecordableFilename()':
server.cxx:(.text._ZN23PVXMLRecordableFilenameD2Ev[PVXMLRecordableFilename::~PVXMLRecordableFilename()]+0x10):
undefined refe
rence to `vtable for PVXMLRecordableFilename'
./obj_linux_x86_r/server.o: In function
`PVXMLPlayableFilenameList::PVXMLPlayableFilenameList()':
server.cxx:(.text._ZN25PVXMLPlayableFilenameListC2Ev[PVXMLPlayableFilenameList::PVXMLPlayableFilenameList()]+0x13):
undefined
reference to `vtable for PVXMLPlayableFilenameList'
./obj_linux_x86_r/server.o: In function
`WoomeraPlayableFilenameList::OnStop()':
server.cxx:(.text._ZN27WoomeraPlayableFilenameList6OnStopEv[WoomeraPlayableFilenameList::OnStop()]+0xf):
undefined reference
to `PVXMLPlayableFilenameList::OnStop()'
./obj_linux_x86_r/server.o: In function
`PVXMLRecordableFilename::PVXMLRecordableFilename()':
server.cxx:(.text._ZN23PVXMLRecordableFilenameC2Ev[PVXMLRecordableFilename::PVXMLRecordableFilename()]+0x16):
undefined refer
ence to `vtable for PVXMLRecordableFilename'
./obj_linux_x86_r/server.o:(.rodata._ZTV27WoomeraPlayableFilenameList[vtable
for WoomeraPlayableFilenameList]+0x3c): undefine
d reference to `PVXMLPlayableFilenameList::OnRepeat(PVXMLChannel&)'
./obj_linux_x86_r/server.o:(.rodata._ZTV27WoomeraPlayableFilenameList[vtable
for WoomeraPlayableFilenameList]+0x54): undefine
d reference to `PVXMLPlayable::ReadFrame(PVXMLChannel&, void*, int)'
./obj_linux_x86_r/server.o:(.rodata._ZTI27WoomeraPlayableFilenameList[typeinfo
for WoomeraPlayableFilenameList]+0x10): undefi
ned reference to `typeinfo for PVXMLPlayableFilenameList'
./obj_linux_x86_r/server.o:(.rodata._ZTV25WoomeraRecordableFilename[vtable
for WoomeraRecordableFilename]+0x30): undefined re
ference to `PVXMLRecordableFilename::Open(PString const&)'
.
.
.
.
.
wivr.cxx:(.text+0x5464): undefined reference to
`PXMLElement::GetElement(int) const'
wivr.cxx:(.text+0x5529): undefined reference to `PXML::~PXML()'
wivr.cxx:(.text+0x553a): undefined reference to `PXML::~PXML()'
collect2: ld returned 1 exit status
make: *** [obj_linux_x86_r/woomera] Error 1
root at icetech-server:~/woomera#
What's the problem?
Any help?
Thanks a lot
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20071202/090d616d/attachment.htm
More information about the Users
mailing list