< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] About how to compile on debian 6


You don't need to compile asio - it is a header file only library.   It seems that the compiler cannot find the header files.  

Try installing the libasio-dev package and letting the compiler use the installed version of asio instead of the one in the resip repo:

Scott

On Thu, Jul 12, 2012 at 7:34 AM, Min Wang <ser.basis@xxxxxxxxx> wrote:
Hi

I am trying to compile

https://svn.resiprocate.org/rep/resiprocate
Revision: 9801

here is what I did:

autoreconf --install
./configure --with-ssl --with-mysql --with-c-ares \
CXXFLAGS="-DRESIP_FIXED_POINT"


but get the following error:

T -DRESIP_TOOLCHAIN_GNU -DRESIP_FIXED_POINT -Wall -Wno-deprecated -MT reTurnServer.o -MD -MP -MF .deps/reTurnServer.Tpo -c -o reTurnServer.o reTurnServer.cxx
reTurnServer.cxx:3:20: error: asio.hpp: No such file or directory
In file included from reTurnServer.cxx:10:
TlsServer.hxx:5:24: error: asio/ssl.hpp: No such file or directory
In file included from StunMessage.hxx:9,
from RequestHandler.hxx:8,
from TcpConnection.hxx:8,
from TcpServer.hxx:7,
from reTurnServer.cxx:9:
StunTuple.hxx:21: error: ISO C++ forbids declaration of ‘asio’ with no type


I noticed that is is asio.hpp under contrib/asio.

do I need to compile/install contrib/asio first? if so ,how?


thanks


min
_______________________________________________
resiprocate-users mailing list
resiprocate-users@resiprocate.org
List Archive: http://list.resiprocate.org/archive/resiprocate-users/