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

Re: [reSIProcate-users] building resiprocate under Linux


You can try pointing to the asio drop from the resip/contrib folder - it is version 1.4.8.  Perhaps there was some changes in asio 1.5.3 that broke the build.

Scott


On Wed, Jan 22, 2014 at 9:43 AM, Wolfgang Rosenauer <wolfgang.rosenauer@xxxxxxxxxx> wrote:
Hi,

I'd like to play with resiprocate but I already fail to build the
software :-(
(I'm running on openSUSE so I cannot use the provided packages.)

The build error I get is:

[  349s] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../..
-DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT
-DRESIP_TOOLCHAIN_GNU -fmessage-length=0 -grecord-gcc-switches
-fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables
-fasynchronous-unwind-tables -g -Wall -Wno-deprecated -c
TurnAsyncSocket.cxx  -fPIC -DPIC -o .libs/TurnAsyncSocket.o
[  350s] libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../..
-DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT
-DRESIP_TOOLCHAIN_GNU -fmessage-length=0 -grecord-gcc-switches
-fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables
-fasynchronous-unwind-tables -g -Wall -Wno-deprecated -c
../StunTuple.cxx -o StunTuple.o >/dev/null 2>&1
[  351s] In file included from TurnAsyncSocket.cxx:3:0:
[  351s] ErrorCode.hxx:8:9: error: 'value_type' in 'class
asio::error_code' does not name a type
[  351s]  typedef asio::error_code::value_type ErrorType;
[  351s]          ^
[  351s] ErrorCode.hxx:10:14: error: 'ErrorType' does not name a type
[  351s]  static const ErrorType Success                               = 0;

and quite a lot more lines all telling me that ErrorType does not name a
type.
Later on there are some others:
[  351s] TurnAsyncSocket.cxx: In member function 'void
reTurn::TurnAsyncSocket::doRequestSharedSecret()':
[  351s] TurnAsyncSocket.cxx:81:122: error: 'NotConnected' is not a
member of 'reTurn'
[  351s]        if(mTurnAsyncSocketHandler)
mTurnAsyncSocketHandler->onSharedSecretFailure(getSocketDescriptor(),
asio::error_code(reTurn::NotConnected, asio::error::misc_category));

[  351s] TurnAsyncSocket.cxx:185:120: error: 'AlreadyAllocated' is not a
member of 'reTurn'
[  351s]        if(mTurnAsyncSocketHandler)
mTurnAsyncSocketHandler->onAllocationFailure(getSocketDescriptor(),
asio::error_code(reTurn::AlreadyAllocated, asio::error::misc_category));

Apparently all are somehow related to asio which I have installed in
version 1.5.3.

Any hints?


Thanks,
 Wolfgang
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/