Re: Compile issues, Ubuntu 9.04. Can't compile h323plus CVS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Robert,

you are using the unreleased developer versions. Thats the (b)leading
edge. ;-)

The answer is simple though: H323Plus CVS requires PTLib 2.7.x.
I'm not very happy with that either, but thats the way it is right now.

Regards,
Jan


Robert Kulagowski wrote:
> Sheesh.  I'm fairly proficient with compiling, but I feel like I'm 
> running around in circles trying to get the prerequisites compiled to 
> test out the new NAT traversal features!
> 
> What I've done:
> 
> # apt-get install flex bison build-essential
> # apt-get remove ekiga
> 
> Get and compile ptlib:
> 
> $ wget \
> http://downloads.sourceforge.net/project/opalvoip/v3.6%20Lalande/Stable%204/ptlib-2.6.4.tar.bz2
> $ tar -xjf ptlib-2.6.4.tar.bz2
> $ cd ptlib-2.6.4
> $ ./configure
> $ make
> $ make optnoshared
> $ sudo make install
> 
> --Note-- running "make optnoshared" without a "make" first results in 
> failure when you perform the "make install" step
> 
> 
> Compile h323plus:
> $ cvs 
> -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/h323plus login
> $ cvs -z3 
> -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/cvsroot/h323plus co 
> -P h323plus
> 
> $ export PTLIBDIR=~/ptlib-2.6.4
> $ cd h323plus
> $ ./configure
> $ make optnoshared
> 
> and here it fails:
> 
> make DEBUG= P_SHAREDLIB=0 default_target
> make[1]: Entering directory `/home/rkulagowski/h323plus'
> make[1]: Leaving directory `/home/rkulagowski/h323plus'
> make -C src optnoshared
> make[1]: Entering directory `/home/rkulagowski/h323plus/src'
> make DEBUG= P_SHAREDLIB=0 default_target
> make[2]: Entering directory `/home/rkulagowski/h323plus/src'
> g++ -I/home/rkulagowski/ptlib-2.6.4/include  -DPTRACING=1 -D_REENTRANT 
>     -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL    -fno-exceptions 
> -Wall  -DNDEBUG -Os  -DPTRACING -I/home/rkulagowski/h323plus/include 
> -felide-constructors -Wreorder   -c rtp.cxx -o 
> /home/rkulagowski/h323plus/lib/obj/rtp.o
> rtp.cxx: In member function âPBoolean RTP_UDP::Open(PIPSocket::Address, 
> WORD, WORD, BYTE, const H323Connection&, PNatMethod*, RTP_QOS*)â:
> rtp.cxx:1722: error: no matching function for call to 
> âPNatMethod::CreateSocketPair(PUDPSocket*&, PUDPSocket*&, 
> PIPSocket::Address&, void*)â
> /home/rkulagowski/ptlib-2.6.4/include/ptclib/pnat.h:149: note: 
> candidates are: virtual PBoolean 
> PNatMethod::CreateSocketPair(PUDPSocket*&, PUDPSocket*&, const 
> PIPSocket::Address&)
> make[2]: *** [/home/rkulagowski/h323plus/lib/obj/rtp.o] Error 1
> make[2]: Leaving directory `/home/rkulagowski/h323plus/src'
> make[1]: *** [optnoshared] Error 2
> make[1]: Leaving directory `/home/rkulagowski/h323plus/src'
> make: *** [optnoshared] Error 2

-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux