logo       

openh323 error part 2: msg#00379

telephony.openh323.general

Subject: openh323 error part 2

Then I tryed to compile OPENH323 on absolutely fresh FreeBSD 4.11-RELEASE
(GENERIC) #0: Fri Jan 21 17:21:22 GMT 2005. I installed it from disk with
minimal configuration.
I added row USE_GCC= 3.4 to PWLIB Makefile in ports tree. Then I entered
to /usr/ports/net/openh323 and just typed "make install"
It took a lot time, everything dependable was compiled and installed
sucsesfully. But while compiling OPENH323 I recieved error:

gmake[2]: Leaving directory `/usr/ports/net/openh323/work/openh323/src'
gmake[2]: Entering directory
`/usr/ports/net/openh323/work/openh323/samples/simple'
c++ -DP_FREEBSD=492000 -D_REENTRANT -pthread -Wall -DP_FREEBSD=492000
-DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix
-I/usr/ports/devel/pwlib/work/pwlib/include -DPTRACING
-I/usr/ports/net/openh323/work/openh323/include -DHAS_IXJ -DHAS_OSS
-DNDEBUG -O -pipe -c main.cxx -o obj_FreeBSD_x86_r/main.o
/usr/ports/net/openh323/work/openh323/include/gsmcodec.h:89: warning:
`class H323_GSM0610Capability_Registration *
H323_GSM0610Capability_Registration_Static_Library_Loader' defined but not
used
/usr/ports/net/openh323/work/openh323/include/mscodecs.h:88: warning:
`class MicrosoftGSMAudioCapability_Registration *
MicrosoftGSMAudioCapability_Registration_Static_Library_Loader' defined
but not used
/usr/ports/net/openh323/work/openh323/include/mscodecs.h:89: warning:
`class MicrosoftIMAAudioCapability_Registration *
MicrosoftIMAAudioCapability_Registration_Static_Library_Loader' defined
but not used
/usr/ports/net/openh323/work/openh323/include/lpc10codec.h:79: warning:
`class H323_LPC10Capability_Registration *
H323_LPC10Capability_Registration_Static_Library_Loader' defined but not
used
/usr/ports/net/openh323/work/openh323/include/g726codec.h:138: warning:
`class H323_G726_40_Capability_Registration *
H323_G726_40_Capability_Registration_Static_Library_Loader' defined but
not used
/usr/ports/net/openh323/work/openh323/include/g726codec.h:139: warning:
`class H323_G726_32_Capability_Registration *
H323_G726_32_Capability_Registration_Static_Library_Loader' defined but
not used
/usr/ports/net/openh323/work/openh323/include/g726codec.h:140: warning:
`class H323_G726_24_Capability_Registration *
H323_G726_24_Capability_Registration_Static_Library_Loader' defined but
not used
/usr/ports/net/openh323/work/openh323/include/g726codec.h:141: warning:
`class H323_G726_16_Capability_Registration *
H323_G726_16_Capability_Registration_Static_Library_Loader' defined but
not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:180: warning:
`class SpeexNarrow2AudioCapability_Registration *
SpeexNarrow2AudioCapability_Registration_Static_Library_Loader' defined
but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:181: warning:
`class SpeexNarrow3AudioCapability_Registration *
SpeexNarrow3AudioCapability_Registration_Static_Library_Loader' defined
but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:182: warning:
`class SpeexNarrow4AudioCapability_Registration *
SpeexNarrow4AudioCapability_Registration_Static_Library_Loader' defined
but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:183: warning:
`class SpeexNarrow5AudioCapability_Registration *
SpeexNarrow5AudioCapability_Registration_Static_Library_Loader' defined
but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:184: warning:
`class SpeexNarrow6AudioCapability_Registration *
SpeexNarrow6AudioCapability_Registration_Static_Library_Loader' defined
but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:259: warning:
`class XiphSpeexNarrow2AudioCapability_Registration *
XiphSpeexNarrow2AudioCapability_Registration_Static_Library_Loader'
defined but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:260: warning:
`class XiphSpeexNarrow3AudioCapability_Registration *
XiphSpeexNarrow3AudioCapability_Registration_Static_Library_Loader'
defined but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:261: warning:
`class XiphSpeexNarrow4AudioCapability_Registration *
XiphSpeexNarrow4AudioCapability_Registration_Static_Library_Loader'
defined but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:262: warning:
`class XiphSpeexNarrow5AudioCapability_Registration *
XiphSpeexNarrow5AudioCapability_Registration_Static_Library_Loader'
defined but not used
/usr/ports/net/openh323/work/openh323/include/speexcodec.h:263: warning:
`class XiphSpeexNarrow6AudioCapability_Registration *
XiphSpeexNarrow6AudioCapability_Registration_Static_Library_Loader'
defined but not used
/usr/ports/net/openh323/work/openh323/include/ilbccodec.h:55: warning:
`class H323_iLBC_Capability_13k3_Registration *
H323_iLBC_Capability_13k3_Registration_Static_Library_Loader' defined but
not used
/usr/ports/net/openh323/work/openh323/include/ilbccodec.h:56: warning:
`class H323_iLBC_Capability_15k2_Registration *
H323_iLBC_Capability_15k2_Registration_Static_Library_Loader' defined but
not used
c++ -o obj_FreeBSD_x86_r/simph323 -O -pipe -s
-L/usr/ports/devel/pwlib/work/pwlib/lib
-L/usr/ports/net/openh323/work/openh323/lib ./obj_FreeBSD_x86_r/main.o
-lh323_FreeBSD_x86_r_s -lpt_FreeBSD_x86_r_s -lssl -lcrypto -llber -lldap
-lldap_r -lexpat -pthread
/usr/libexec/elf/ld: cannot find -llber
gmake[2]: *** [obj_FreeBSD_x86_r/simph323] Error 1
gmake[2]: Leaving directory
`/usr/ports/net/openh323/work/openh323/samples/simple'
gmake[1]: *** [opt] Error 2
gmake[1]: Leaving directory `/usr/ports/net/openh323/work/openh323'
gmake: *** [optnoshared] Error 2
*** Error code 2

Stop in /usr/ports/net/openh323.
server-2#


Then I decided to add row USE_GCC= 3.4 to OPENH323 Makefile.
I recieved next error message:

h4504.o(.H4504_RemoteRetrieveRes::gnu.linkonce.t.(H4504_RemoteRetrieveRes
const &)+0x211): undefined reference to `__terminate'
/usr/ports/net/openh323/work/openh323/lib/libh323_FreeBSD_x86_r_s.a(h4504.o):
In function `H4504_RemoteRetrieveRes type_info function':
h4504.o(.gnu.linkonce.t.__tf23H4504_RemoteRetrieveRes+0x10): undefined
reference to `PASN_Sequence type_info function'
h4504.o(.gnu.linkonce.t.__tf23H4504_RemoteRetrieveRes+0x18): undefined
reference to `PASN_Sequence type_info node'
h4504.o(.gnu.linkonce.t.__tf23H4504_RemoteRetrieveRes+0x27): undefined
reference to `__rtti_si'
/usr/ports/net/openh323/work/openh323/lib/libh323_FreeBSD_x86_r_s.a(h4504.o):
In function `H4504_RemoteRetrieveRes::GetClass(unsigned int) const':
h4504.o(.H4504_RemoteRetrieveRes::gnu.linkonce.t.GetClass(unsigned int)
const+0x22): undefined reference to `PObject::GetClass(unsigned int)
const'
/usr/ports/net/openh323/work/openh323/lib/libh323_FreeBSD_x86_r_s.a(h4504.o):
In function `H4504_RemoteRetrieveRes::IsDescendant(char const *) const':
h4504.o(.H4504_RemoteRetrieveRes::gnu.linkonce.t.IsDescendant(char const
*) const+0x5e): undefined reference to `PObject::IsDescendant(char const
*) const'
collect2: ld returned 1 exit status
gmake[2]: *** [obj_FreeBSD_x86_r/simph323] Error 1
gmake[2]: Leaving directory
`/usr/ports/net/openh323/work/openh323/samples/simple'
gmake[1]: *** [opt] Error 2
gmake[1]: Leaving directory `/usr/ports/net/openh323/work/openh323'
gmake: *** [optnoshared] Error 2
*** Error code 2

Stop in /usr/ports/net/openh323.
server-2#

Any ideas how to compile PWLIB & OPENH323 on FreeBSD 4.x ?
I need these libraries for compiling GNUGK-2.2.1


--------------------
Artem Panchenko
"I zvans"
Phone: +371 7614366
Fax: +371 7613682
GSM: +371 6545748
ICQ: 326404923
Mail: artem@xxxxx

------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscribe or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise