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
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
====
====
#define MAJOR_VERSION 2
#define MINOR_VERSION 10
#define BUILD_TYPE BetaCode
#define BUILD_NUMBER 8
====
./configure
make optnoshared
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
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
------------------------------------------------------------------------------ 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/