[reSIProcate-users] installing resiprocate on a gentoo machine
hi!
i've tried installing both the stable and the latest svn revision of
resiprocate (actually i'd be only interested in reTurn), but i've been
having some problems.
if anyone could tell me which flags i should abilitate while compiling
the dependencies, i'd be really grateful :)
i've compiled
. asio with only ssl support (the other flags were doc, examples, test)
. boost with _no_ flags enabled (-debug -doc -expat -icu -mpi -tools)
the following is the compilation error i received while compiling the
stable release:
--
TcpServer.cxx: In constructor
'reTurn::TcpServer::TcpServer(asio::io_service&,
reTurn::RequestHandler&, const asio::ip::address&, short unsigned int)':
TcpServer.cxx:26: error: no match for 'operator<<' in
'resip::operator<<(((resip::ResipFastOStream&)((resip::ResipFastOStream*)_resip_log_guard.resip::Log::Guard::asStream())),
((const char*)"TcpServer started. Listening on ")) << address'
../build/../rutil/resipfaststreams.hxx:146: note: candidates are:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(bool)
../build/../rutil/resipfaststreams.hxx:153: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(short int)
../build/../rutil/resipfaststreams.hxx:159: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(short
unsigned int)
../build/../rutil/resipfaststreams.hxx:165: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(int)
../build/../rutil/resipfaststreams.hxx:179: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(unsigned int)
../build/../rutil/resipfaststreams.hxx:186: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(long int)
../build/../rutil/resipfaststreams.hxx:203: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(long
unsigned int)
../build/../rutil/resipfaststreams.hxx:256: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(UInt64)
../build/../rutil/resipfaststreams.hxx:276: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(float)
../build/../rutil/resipfaststreams.hxx:283: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(double)
../build/../rutil/resipfaststreams.hxx:315: note:
resip::ResipFastOStream& resip::ResipFastOStream::operator<<(const void*)
../build/../rutil/resipfaststreams.hxx:335: note:
resip::ResipFastOStream&
resip::ResipFastOStream::operator<<(std::ostream& (*)(std::ostream&))
StunTuple.hxx:44: note: resip::ResipFastOStream&
reTurn::operator<<(resip::ResipFastOStream&, const reTurn::StunTuple&)
StunMessage.hxx:366: note: resip::ResipFastOStream&
reTurn::operator<<(resip::ResipFastOStream&, const
reTurn::StunMessage::StunAtrAddress&)
StunMessage.hxx:367: note: resip::ResipFastOStream&
reTurn::operator<<(resip::ResipFastOStream&, const reTurn::UInt128&)
StunMessage.hxx:368: note: resip::ResipFastOStream&
reTurn::operator<<(resip::ResipFastOStream&, const
reTurn::StunMessage::StunMsgHdr&)
../build/../rutil/Data.hxx:831: note:
resip::ResipFastOStream& resip::operator<<(resip::ResipFastOStream&,
const resip::Data&)
../build/../rutil/Data.hxx:833: note: std::ostream&
resip::operator<<(std::ostream&, const resip::Data&)
../build/../rutil/resipfaststreams.hxx:404: note:
resip::ResipFastOStream& resip::operator<<(resip::ResipFastOStream&,
const std::string&)
../build/../rutil/resipfaststreams.hxx:397: note:
resip::ResipFastOStream& resip::operator<<(resip::ResipFastOStream&,
const signed char*)
../build/../rutil/resipfaststreams.hxx:390: note:
resip::ResipFastOStream& resip::operator<<(resip::ResipFastOStream&,
signed char)
../build/../rutil/resipfaststreams.hxx:383: note:
resip::ResipFastOStream& resip::operator<<(resip::ResipFastOStream&,
const unsigned char*)
../build/../rutil/resipfaststreams.hxx:376: note:
resip::ResipFastOStream& resip::operator<<(resip::ResipFastOStream&,
unsigned char)
../build/../rutil/resipfaststreams.hxx:369: note:
resip::ResipFastOStream& resip::operator<<(resip::ResipFastOStream&, char)
../build/../rutil/resipfaststreams.hxx:362: note:
resip::ResipFastOStream& resip::operator<<(resip::ResipFastOStream&,
const char*)
../build/../rutil/Data.hxx: At global scope:
../build/../rutil/Data.hxx:744: warning: 'resip::invokeDataInit' defined
but not used
../build/../rutil/Log.hxx:218: warning: 'resip::invokeLogInit' defined
but not used
make[1]: *** [obj.nodebug.Linux.i686/TcpServer.o] Error 1
rm obj.nodebug.Linux.i686/reTurnServer.d
obj.nodebug.Linux.i686/reTurnServer.o
make[1]: Leaving directory `/home/lrnz/resiprocate-1.4.1/reTurn'
make: *** [return-server] Error 2
and this is my Makefile.conf:
# Which toolchain do you want to use?
# Allowed values: gnu, intel, sunpro, msgnu, gnu-cross
VOCAL_TOOLCHAIN_TYPE := gnu
# What is the name your toolchain uses for the cross platform?
CROSS_PLATFORM := arm-unknown-linux-gnu
# What is the prefix for the cross-compiler binaries?
CROSS_TOOL_PREFIX := arm-unknown-linux-gnu
# Where is your cross compiler installed?
VOCAL_CROSS_ROOT := /opt/crosstool/current/arm-unknown-linux-gnu/bin/
# What compile profile will you use?
# Allowed values: debug, nodebug, opt, gopt, prof, small
VOCAL_COMPILE_TYPE := nodebug
# Should the resip libraries be built shared?
# Allowed values: yes, no
BUILD_SHARED_LIBS := yes
# Will you be using distcc?
# Allowed values: yes, no
USE_DISTCC := no
# Will you be using ccache?
# Allowed values: yes, no
USE_CCACHE := no
# Build the Repro proxy server?
# Allowed values: yes, no
BUILD_REPRO := no
# Which database should be used with Repro?
# Allowed values: berkeley-db4
REPRO_DB := berkeley-db4
# Where is db_cxx.h?
DB_HEADERS := /usr/include/db4
# Build the RADIUS authentication module? (requires radiusclient-ng)
# Allowed values: yes, no
USE_RADIUS_CLIENT := no
# Build the TFM test framework?
# Allowed values: yes, no
BUILD_TFM := no
# Build the reCon Conversation Manager?
# Allowed values: yes, no
BUILD_RECON := no
# Build the reTurn client?
# Allowed values: yes, no
BUILD_RETURN_CLIENT := no
# Build the reTurn server?
# Allowed values: yes, no
BUILD_RETURN_SERVER := yes
# Where is boost/config.hpp?
BOOST_INCDIR_CONFIG := /usr/include
# Are the sipX libraries and headers installed?
# Allowed values: yes, no
SIPX_INSTALLED := no
# Where is the common root of the sipX libraries?
SIPX_ROOT := ../sipXtapi
# Where are the sipX libraries installed?
SIPX_LIBDIR := /usr/local/lib
# Where are the sipX header files installed?
SIPX_INCDIR := /usr/local/include
# Include SIP over TLS, SMIME or Identity header support? (Requires OpenSSL)
# Allowed values: yes, no
USE_SSL := yes
# Do you want to include SIP over DTLS support? (Requires OpenSSL 0.9.8+)
# Allowed values: yes, no
USE_DTLS := no
# Where is OpenSSL? (leave blank to use installed copy)
SSL_LOCATION :=
# Should DUM use curl to retreive identity information?
# Allowed values: yes, no
USE_CURL := no
# Use the Google malloc() implementation?
# Allowed values: yes, no
USE_GOOGLE_MALLOC := no
# Use Google cpuperf?
# Allowed values: yes, no
USE_GOOGLE_CPUPERF := no
# Compile in IPv6 support?
# Allowed values: yes, no
USE_IPV6 := no
# Use popt to read commandline options?
# Allowed values: yes, no
USE_POPT := yes
# Where is popt.h?
POPT_INCDIR_CONFIG := /usr/include
# Where is libpopt?
POPT_LIBDIR_CONFIG := /usr/lib
# Compile with no floating point functions?
# Allowed values: yes, no
RESIP_FIXED_POINT := no
# Force stack to fully parse every message it receives?
# Allowed values: yes, no
PEDANTIC_STACK := no
# Where should the libraries be installed?
INSTALL_PREFIX := /home/lrnz/usr/local
# Where should ares be installed?
ARES_PREFIX := /home/lrnz/usr/local
thanks a lot!
asymmetric