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

[reSIProcate-users] Centos 6.6 compilation problems


Hello,

 

I am facing some issues in my compilation on Centos 6.6 (rpmbuild -tb resiprocate-1.9.8.tar.gz)

Here are the last lines from the compilation:

 

ssl/DtlsTransport.cxx: In member function 'void resip::DtlsTransport::_read(resip::FdSet&)':

ssl/DtlsTransport.cxx:217: warning: value computed is not used

ssl/DtlsTransport.cxx: In member function 'void resip::DtlsTransport::_write(resip::FdSet&)':

ssl/DtlsTransport.cxx:476: warning: value computed is not used

ssl/DtlsTransport.cxx: In member function 'void resip::DtlsTransport::_mapDebug(const char*, const char*, SSL*)':

ssl/DtlsTransport.cxx:708: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'

mv -f .deps/WsCookieContext.Tpo .deps/WsCookieContext.Plo

/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -I ../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wno-deprecated -MT TlsBaseTransport.lo -MD -MP -MF .deps/TlsBaseTransport.Tpo -c -o TlsBaseTransport.lo `test -f 'ssl/TlsBaseTransport.cxx' || echo './'`ssl/TlsBaseTransport.cxx

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -I ../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wno-deprecated -MT TlsBaseTransport.lo -MD -MP -MF .deps/TlsBaseTransport.Tpo -c ssl/TlsBaseTransport.cxx  -fPIC -DPIC -o .libs/TlsBaseTransport.o

ssl/DtlsTransport.cxx: In member function 'void resip::DtlsTransport::_write(resip::FdSet&)':

ssl/DtlsTransport.cxx:574: warning: dereferencing pointer 'peer.252' does break strict-aliasing rules

ssl/DtlsTransport.cxx:574: note: initialized from here

ssl/DtlsTransport.cxx: In member function 'void resip::DtlsTransport::_read(resip::FdSet&)':

ssl/DtlsTransport.cxx:250: warning: dereferencing pointer 'peer.221' does break strict-aliasing rules

ssl/DtlsTransport.cxx:250: note: initialized from here

ssl/DtlsTransport.cxx:263: warning: dereferencing pointer 'peer.221' does break strict-aliasing rules

ssl/DtlsTransport.cxx:263: note: initialized from here

ssl/DtlsTransport.cxx:273: warning: dereferencing pointer 'peer.221' does break strict-aliasing rules

ssl/DtlsTransport.cxx:273: note: initialized from here

ssl/DtlsTransport.cxx:278: warning: dereferencing pointer 'peer.221' does break strict-aliasing rules

ssl/DtlsTransport.cxx:278: note: initialized from here

mv -f .deps/WsDecorator.Tpo .deps/WsDecorator.Plo

/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -I ../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wno-deprecated -MT TlsConnection.lo -MD -MP -MF .deps/TlsConnection.Tpo -c -o TlsConnection.lo `test -f 'ssl/TlsConnection.cxx' || echo './'`ssl/TlsConnection.cxx

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -I ../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wno-deprecated -MT TlsConnection.lo -MD -MP -MF .deps/TlsConnection.Tpo -c ssl/TlsConnection.cxx  -fPIC -DPIC -o .libs/TlsConnection.o

ssl/Security.cxx: In static member function 'static long int resip::BaseSecurity::parseOpenSSLCTXOption(const resip::Data&)':

ssl/Security.cxx:2769: error: 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' was not declared in this scope

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -I ../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wno-deprecated -MT DtlsTransport.lo -MD -MP -MF .deps/DtlsTransport.Tpo -c ssl/DtlsTransport.cxx -o DtlsTransport.o >/dev/null 2>&1

../../rutil/Data.hxx: At global scope:

../../rutil/Data.hxx:1005: warning: 'resip::invokeDataInit' defined but not used

../../resip/stack/MultipartMixedContents.hxx:68: warning: 'resip::invokeMultipartMixedContentsInit' defined but not used

../../resip/stack/MultipartSignedContents.hxx:37: warning: 'resip::invokeMultipartSignedContentsInit' defined but not used

../../resip/stack/Pkcs7Contents.hxx:45: warning: 'resip::invokePkcs7ContentsInit' defined but not used

../../resip/stack/Pkcs7Contents.hxx:76: warning: 'resip::invokePkcs7SignedContentsInit' defined but not used

../../resip/stack/PlainContents.hxx:44: warning: 'resip::invokePlainContentsInit' defined but not used

make[4]: *** [Security.lo] Error 1

make[4]: *** Waiting for unfinished jobs....

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -I ../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wno-deprecated -MT TlsBaseTransport.lo -MD -MP -MF .deps/TlsBaseTransport.Tpo -c ssl/TlsBaseTransport.cxx -o TlsBaseTransport.o >/dev/null 2>&1

mv -f .deps/TlsBaseTransport.Tpo .deps/TlsBaseTransport.Plo

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_X86_64 -DRESIP_LARCH_ -D_REENTRANT -DRESIP_TOOLCHAIN_GNU -I ../.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wno-deprecated -MT TlsConnection.lo -MD -MP -MF .deps/TlsConnection.Tpo -c ssl/TlsConnection.cxx -o TlsConnection.o >/dev/null 2>&1

mv -f .deps/DtlsTransport.Tpo .deps/DtlsTransport.Plo

mv -f .deps/TlsConnection.Tpo .deps/TlsConnection.Plo

make[4]: Leaving directory `/root/rpmbuild/BUILD/resiprocate-1.9.8/resip/stack'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory `/root/rpmbuild/BUILD/resiprocate-1.9.8/resip/stack'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/root/rpmbuild/BUILD/resiprocate-1.9.8/resip'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/rpmbuild/BUILD/resiprocate-1.9.8'

make: *** [all] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.znLKD2 (%build)

 

 

RPM build errors:

    Bad exit status from /var/tmp/rpm-tmp.znLKD2 (%build)

 

Can you please assist me with solving this problem?

 

Regards,

 

Daniel Friedman

Trixton LTD.

 

Tel: 972.72.2557000

Mobile: 972.50.6655579

 

Email: dani@xxxxxxxxx

Website: http://www.3xton.com

 

LOGO trans- 3xton-01