Re: [reSIProcate] Building ReSIProcate
It looks like
static CipherList ExportableSuite;
static CipherList StrongestSuite;
are not defined in the case where USE_SSL is off.
You probably just need to add them after the #endif at the end of Security.cxx
BaseSecurity::CipherList
BaseSecurity::ExportableSuite("!SSLv2:aRSA+AES:aDSS+AES:@STRENGTH:aRSA+3DES:aDSS+3DES:aRSA+RC4+MEDIUM:aDSS+RC4+MEDIUM:aRSA+DES:aDSS+DES:aRSA+RC4:aDSS+RC4");
BaseSecurity::CipherList
BaseSecurity::StrongestSuite("!SSLv2:aRSA+AES:aDSS+AES:@STRENGTH:aRSA+3DES:aDSS+3DES");
On 10/18/06, Ian McLauchlan <ianmac@xxxxxxxxxxxx> wrote:
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
>
>
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel