Re: [reSIProcate] Compilation error
Hi, Ron!
It seems you're trying to build resiprocate with gcc-4.x. Here is a
simple patch but !!!! BEWARE !!!!: It is for sources available in tar.gz
form. DON'T APPLY IT ON SVN version, I'm not familiar with its tree
structure!
------------- PATCH BEGIN --------------------
--- resiprocate-0.9.0-5019/resiprocate/Connection.hxx 2005-06-30
04:22:12.000000000 +0300
+++ resiprocate-0.9.0-5019-patched/resiprocate/Connection.hxx 2006-03-10
11:58:23.656113936 +0200
@@ -16,6 +16,7 @@
class Message;
class TlsConnection;
+class ConnectionManager;
class Connection;
--- resiprocate-0.9.0-5019/resiprocate/Helper.hxx 2005-06-30
04:22:12.000000000 +0300
+++ resiprocate-0.9.0-5019-patched/resiprocate/Helper.hxx 2006-03-10
11:58:37.692956312 +0200
@@ -15,6 +15,8 @@
class NameAddr;
class SecurityAttributes;
class Security;
+class Contents;
+class Auth;
class UnsupportedAuthenticationScheme : public BaseException
{
--- resiprocate-0.9.0-5019/resiprocate/dum/SubscriptionHandler.hxx
2005-06-30 04:22:07.000000000 +0300
+++
resiprocate-0.9.0-5019-patched/resiprocate/dum/SubscriptionHandler.hxx
2006-03-10 11:59:07.421460592 +0200
@@ -8,6 +8,7 @@
{
class SipMessage;
class SecurityAttributes;
+class Contents;
class ClientSubscriptionHandler
{
-------------- PATCH END ---------------------
Regards,
Petyo Milotinov
Karl Mutch wrote:
What is the gcc version being used ? Sounds like your running a stricter gcc
than what has been used/available to date.
"gcc --version"
Karl
-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx on behalf of Ron Shacham
Sent: Tue 4/25/2006 8:29 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Cc:
Subject: [reSIProcate] Compilation error
Hello.
I am trying to build resip in linux. I am getting the following error on
make:
make all-recursive
make[1]: Entering directory `/root/ron/resiprocate-0.9.0-5019/resiprocate'
Making all in .
make[2]: Entering directory `/root/ron/resiprocate-0.9.0-5019/resiprocate'
if /bin/sh ../libtool --tag=CXX --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -I/usr/include
-I/usr/local/ssl/include -I/root/ron/resiprocate-0.9.0-5019/contrib/ares
-I/usr/kerberos/include -g -O2 -Wall -Wno-deprecated -MT ApiCheck.lo -MD
-MP -MF ".deps/ApiCheck.Tpo" -c -o ApiCheck.lo ApiCheck.cxx; \
then mv -f ".deps/ApiCheck.Tpo" ".deps/ApiCheck.Plo"; else rm -f
".deps/ApiCheck.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -I/usr/include
-I/usr/local/ssl/include -I/root/ron/resiprocate-0.9.0-5019/contrib/ares
-I/usr/kerberos/include -g -O2 -Wall -Wno-deprecated -MT ApiCheck.lo -MD
-MP -MF .deps/ApiCheck.Tpo -c ApiCheck.cxx -fPIC -DPIC -o
.libs/ApiCheck.o
../resiprocate/Connection.hxx:59: error: ISO C++ forbids declaration of
'ConnectionManager' with no type
../resiprocate/Connection.hxx:59: error: expected ';' before '&' token
../resiprocate/ParameterTypes.hxx:30: warning: 'class resip::ParamBase'
has virtual functions but non-virtual destructor
../resiprocate/ParameterTypes.hxx:35: warning: 'class resip::data_Param'
has virtual functions but non-virtual destructor
../resiprocate/ParameterTypes.hxx:36: warning: 'class
resip::control_Param' has virtual functions but non-virtual destructor
There are many more of these warnings, followed by:
make[2]: *** [ApiCheck.lo] Error 1
make[2]: Leaving directory `/root/ron/resiprocate-0.9.0-5019/resiprocate'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ron/resiprocate-0.9.0-5019/resiprocate'
make: *** [all] Error 2
This is from the distribution tarball available on the website.
Can someone point me in the right direction?
Regards,
Ron
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
------------------------------------------------------------------------
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel