Re: PTLib SVN v2.10 build error

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

 



Hi Ap,

PTLib is a moving target. I would suggest to stick to the recommended
versions. If PTLib 2.0.8 SVN doesn't even compile by itself, I really
don't want to get in the middle of that.

Regards,
Jan


Ap.Muthu wrote:
> Attempting to compile PTLib under Debian Squeeze (OpenVZ) like:
> (I've been warned that the SVN should not be used)
> 
> apt-get update
> apt-get install flex bison build-essential pkg-config automake
> cd /usr/src
> wget http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/ptlib/branches/v2_10/?view=tar -O ptlib_v2_10.tar.gz
> tar -xzf ptlib_v2_10.tar.gz
> mv v2_10 ptlib
> cat ptlib/version.h
> ====
> #define MAJOR_VERSION 2
> #define MINOR_VERSION 10
> #define BUILD_TYPE BetaCode
> #define BUILD_NUMBER 8
> ====
> ./configure
> make optnoshared
> 
> 
> It gave the following errors:
> 
> [CC] ptclib/guid.cxx
> bison ptlib/common/getdate.y -o ptlib/common/getdate.tab.c
> ptlib/common/getdate.y: conflicts: 4 shift/reduce, 18 reduce/reduce
> [CC] ptlib/common/getdate.tab.c
> [CC] ptlib/unix/assert.cxx
> [CC] ptlib/common/pluginmgr.cxx
> [CC] ptlib/common/sockets.cxx
> [CC] ptclib/psockbun.cxx
> [CC] ptlib/common/qos.cxx
> [CC] ptlib/common/ptime.cxx
> [CC] ptlib/common/syslog.cxx
> sed -e "s/.WCREV./`sed -n -e 's/.*Revision: \([0-9]*\).*/\1/p' /usr/src/ptlib/revision.h.in`/" /usr/src/ptlib/revision.h.in > /usr/src/ptlib/revision.h
> [CC] ptlib/common/osutils.cxx
> ptlib/common/osutils.cxx: In static member function 'static PString PProcess::GetLibVersion()':
> ptlib/common/osutils.cxx:1765: error: expected primary-expression before ')' token
> /usr/src/ptlib/include/ptlib/pluginmgr.h: At global scope:
> /usr/src/ptlib/include/ptlib/pluginmgr.h:175: warning: 'PFactoryLoader::PluginLoaderStartup_loader' defined but not used
> make[2]: *** [/usr/src/ptlib/lib_linux_x86/obj_s/osutils.o] Error 1
> make[2]: Leaving directory `/usr/src/ptlib/src'
> make[1]: *** [optnoshared] Error 2
> make[1]: Leaving directory `/usr/src/ptlib/src'
> make: *** [optnoshared] Error 2
> 
> -Ap.Muthu


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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________________

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