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

Re: [reSIProcate] Building ReSIProcate


Byron,

Thanks for your help.

The resip stack builds OK. It is just the test module that doesn't build.

I've checked, I don't have DTLS support enabled. My configure looks like
this:-

Toolchain: gnu
Profile: debug
Shared libraries: no
Using Distcc: no
Using Ccache: no
DTLS support: no
SSL support: no
Popt cmd line: yes
DUM curl: no
Google malloc: no
Google cpuperf: no
IPv6 support: no
Floating point: no
Parse every msg: no
Lib install: /usr/local

This is where it fails:-

...
make[1]: Entering directory `/usr/resiprocate-1.0/resip/stack/test'
g++               -o bin.debug.Linux.i686/testDtlsTransport  
g++ obj.debug.Linux.i68
6/testDtlsTransport.o obj.debug.Linux.i686/TestSupport.o
-L../../../build/../
resip/stack/obj.debug.Linux.i686
-L../../../build/../rutil/obj.debug.Linux.i686
  -L../../../build/../contrib/ares  -lresip  -lrutil  -lares  -lpthread
-lpopt

obj.debug.Linux.i686/testDtlsTransport.o: In function `main':
/usr/resiprocate-1.0/resip/stack/test/testDtlsTransport.cxx:28: undefined
refere nce to `resip::BaseSecurity::ExportableSuite'
/usr/resiprocate-1.0/resip/stack/test/testDtlsTransport.cxx:28: undefined
refere nce to
`resip::Security::Security[in-charge](resip::BaseSecurity::CipherList con
st&)'
collect2: ld returned 1 exit status
make[1]: *** [bin.debug.Linux.i686/testDtlsTransport] Error 1
make[1]: Leaving directory `/usr/resiprocate-1.0/resip/stack/test'
make: *** [tests] Error 2

Any help much appreciated.

Regards

Ian McLauchlan 

> -----Original Message-----
> From: Byron Campen [mailto:bcampen@xxxxxxxxxxxx] 
> Sent: 17 October 2006 23:03
> To: ianmac@xxxxxxxxxxxx
> Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [reSIProcate] Building ReSIProcate
> 
> 
> On Oct 17, 2006, at 11:08 AM, Ian McLauchlan wrote:
> 
> > Hi,
> >
> > I've pulled resiprocate-1.0 off the Subversion server.
> >
> > I'm building the library on Redhat 8.0.
> >
> > I've had a few problems building it. First it couldn't find the 
> > Berkeley DB include and library files. I notice that the 
> source files 
> > for Berkeley are included under the ./contrib/db directory, 
> but this 
> > doesn't seem to be included in the build. Why is this?
> >
> 
>       The contrib/db directory is intended for the Windows 
> build only. The configure script in the top-level directory 
> prompts the user for the location of the bdb includes.
> 
> > I eventually downloaded the Berkeley library from sleepycat (now 
> > Oracle).
> > Made the mistake of using the latest Berkeley build (ver 
> 4.5). Got the 
> > resip build finally to work with Berkeley ver4.2.
> >
> > However, the make will not build 'test'. It complains that 
> there is an 
> > 'undefined reference':-
> >
> > testDtlsTransport.o to resip::BaseSecurity::ExportableSuite
> > testDtlsTransport.o to
> > resip::Security::Security[in-charge]
> > (resip::BaseSecurity::CipherList const&)
> >
> 
>       Not sure what is going on here, but it appears to be 
> related to  
> building with DTLS enabled. Anyone have something to add?
> 
> Best regards,
> Byron Campen
> 
> > Can anyone help?
> >
> > Regards,
> >
> > Ian McLauchlan
> >
> >
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 
>