Hello,

   I am able to deploy SIPp 3.6.0 on CentOS 7, but I am unable to do so on
CentOS 6.  (I am able to deploy SIPp 3.5.1 on CentOS 6, but not SIPp 3.6.0).

   First I run command "config --with-pcap", which completes successfully.

   Then I run "make", and that's where it fails.  Here is the full output:

make clean
make[1]: Entering directory `/home/user1/sipp-3.6.0'
test -z "sipp" || rm -f sipp
test -z "sipp_unittest" || rm -f sipp_unittest
test -z "" || rm -f
rm -f *.o
rm -f gmock/src/*.o
rm -f gtest/src/*.o
rm -f src/*.o
test -z "sipp_unittest.log" || rm -f sipp_unittest.log
test -z "sipp_unittest.trs" || rm -f sipp_unittest.trs
test -z "test-suite.log" || rm -f test-suite.log
make[1]: Leaving directory `/home/user1/sipp-3.6.0'
echo > .autoclean
make  all-am
make[1]: Entering directory `/home/user1/sipp-3.6.0'
g++ -DHAVE_CONFIG_H  -DPCAPPLAY -DRTP_STREAM   -DHAVE_EPOLL -I. -I./include
 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__LINUX
-Dis_default_constructible=is_nothrow_constructible -I./include -Wall
-pedantic  -g -O2 -MT src/sipp-actions.o -MD -MP -MF
src/.deps/sipp-actions.Tpo -c -o src/sipp-actions.o `test -f
'src/actions.cpp' || echo './'`src/actions.cpp
In file included from ./include/scenario.hpp:32,
                 from ./include/sipp.hpp:69,
                 from src/actions.cpp:24:
./include/stat.hpp:323: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:323: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:330: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:436: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:437: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:443: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:456: warning: ISO C++ 1998 does not support ‘long long’
In file included from ./include/sipp.hpp:69,
                 from src/actions.cpp:24:
./include/scenario.hpp:262: warning: ISO C++ 1998 does not support ‘long
long’
In file included from ./include/sipp.hpp:75,
                 from src/actions.cpp:24:
./include/call.hpp:187: warning: ISO C++ 1998 does not support ‘long long’
In file included from ./include/sipp.hpp:347,
                 from src/actions.cpp:24:
./include/time.hpp:25: warning: ISO C++ 1998 does not support ‘long long’
In file included from ./include/sipp.hpp:465,
                 from src/actions.cpp:24:
./include/logger.hpp:33: warning: ISO C++ 1998 does not support ‘long long’
./include/logger.hpp:34: warning: ISO C++ 1998 does not support ‘long long’
src/actions.cpp: In member function ‘void CAction::afficheInfo()’:
src/actions.cpp:127: warning: ISO C++ does not support the ‘%lf’ gnu_printf
format
src/actions.cpp:135: warning: ISO C++ does not support the ‘%lf’ gnu_printf
format
src/actions.cpp:137: warning: ISO C++ does not support the ‘%lf’ gnu_printf
format
src/actions.cpp:139: warning: ISO C++ does not support the ‘%lf’ gnu_printf
format
src/actions.cpp:141: warning: ISO C++ does not support the ‘%lf’ gnu_printf
format
src/actions.cpp:143: warning: ISO C++ does not support the ‘%lf’ gnu_printf
format
src/actions.cpp:147: warning: ISO C++ does not support the ‘%lf’ gnu_printf
format
src/actions.cpp: In member function ‘void
CAction::setRTPStreamActInfo(const char*)’:
src/actions.cpp:503: warning: ISO C++ does not support the ‘z’ gnu_printf
length modifier
mv -f src/.deps/sipp-actions.Tpo src/.deps/sipp-actions.Po
g++ -DHAVE_CONFIG_H  -DPCAPPLAY -DRTP_STREAM   -DHAVE_EPOLL -I. -I./include
 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__LINUX
-Dis_default_constructible=is_nothrow_constructible -I./include -Wall
-pedantic  -g -O2 -MT src/sipp-auth.o -MD -MP -MF src/.deps/sipp-auth.Tpo
-c -o src/sipp-auth.o `test -f 'src/auth.cpp' || echo './'`src/auth.cpp
In file included from ./include/scenario.hpp:32,
                 from ./include/sipp.hpp:69,
                 from ./include/logger.hpp:7,
                 from src/auth.cpp:35:
./include/stat.hpp:323: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:323: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:330: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:436: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:437: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:443: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:456: warning: ISO C++ 1998 does not support ‘long long’
In file included from ./include/sipp.hpp:69,
                 from ./include/logger.hpp:7,
                 from src/auth.cpp:35:
./include/scenario.hpp:262: warning: ISO C++ 1998 does not support ‘long
long’
In file included from ./include/sipp.hpp:75,
                 from ./include/logger.hpp:7,
                 from src/auth.cpp:35:
./include/call.hpp:187: warning: ISO C++ 1998 does not support ‘long long’
In file included from ./include/sipp.hpp:347,
                 from ./include/logger.hpp:7,
                 from src/auth.cpp:35:
./include/time.hpp:25: warning: ISO C++ 1998 does not support ‘long long’
In file included from src/auth.cpp:35:
./include/logger.hpp:33: warning: ISO C++ 1998 does not support ‘long long’
./include/logger.hpp:34: warning: ISO C++ 1998 does not support ‘long long’
mv -f src/.deps/sipp-auth.Tpo src/.deps/sipp-auth.Po
gcc -DHAVE_CONFIG_H  -DPCAPPLAY -DRTP_STREAM   -DHAVE_EPOLL -I. -I./include
 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__LINUX
-Dis_default_constructible=is_nothrow_constructible -I./include -Wall
-pedantic  -g -O2 -D__LINUX -MT src/sipp-comp.o -MD -MP -MF
src/.deps/sipp-comp.Tpo -c -o src/sipp-comp.o `test -f 'src/comp.c' || echo
'./'`src/comp.c
src/comp.c: In function ‘comp_load’:
src/comp.c:42: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/comp.c:48: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/comp.c:54: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/comp.c:42: warning: dereferencing pointer ‘comp_compress.5’ does break
strict-aliasing rules
src/comp.c:42: note: initialized from here
src/comp.c:48: warning: dereferencing pointer ‘comp_uncompress.8’ does
break strict-aliasing rules
src/comp.c:48: note: initialized from here
src/comp.c:54: warning: dereferencing pointer ‘comp_free.10’ does break
strict-aliasing rules
src/comp.c:54: note: initialized from here
mv -f src/.deps/sipp-comp.Tpo src/.deps/sipp-comp.Po
g++ -DHAVE_CONFIG_H  -DPCAPPLAY -DRTP_STREAM   -DHAVE_EPOLL -I. -I./include
 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__LINUX
-Dis_default_constructible=is_nothrow_constructible -I./include -Wall
-pedantic  -g -O2 -MT src/sipp-call.o -MD -MP -MF src/.deps/sipp-call.Tpo
-c -o src/sipp-call.o `test -f 'src/call.cpp' || echo './'`src/call.cpp
src/call.cpp:99:19: warning: anonymous variadic macros were introduced in
C99
In file included from ./include/scenario.hpp:32,
                 from ./include/sipp.hpp:69,
                 from src/call.cpp:58:
./include/stat.hpp:323: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:323: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:330: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:436: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:437: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:443: warning: ISO C++ 1998 does not support ‘long long’
./include/stat.hpp:456: warning: ISO C++ 1998 does not support ‘long long’
In file included from ./include/sipp.hpp:69,
                 from src/call.cpp:58:
./include/scenario.hpp:262: warning: ISO C++ 1998 does not support ‘long
long’
In file included from ./include/sipp.hpp:75,
                 from src/call.cpp:58:
./include/call.hpp:187: warning: ISO C++ 1998 does not support ‘long long’
In file included from ./include/sipp.hpp:347,
                 from src/call.cpp:58:
./include/time.hpp:25: warning: ISO C++ 1998 does not support ‘long long’
In file included from ./include/sipp.hpp:465,
                 from src/call.cpp:58:
./include/logger.hpp:33: warning: ISO C++ 1998 does not support ‘long long’
./include/logger.hpp:34: warning: ISO C++ 1998 does not support ‘long long’
src/call.cpp: In member function ‘void call::init(scenario*, SIPpSocket*,
sockaddr_storage*, const char*, int, bool, bool, bool)’:
src/call.cpp:473: warning: ISO C++ 1998 does not support ‘long long’
src/call.cpp:473: warning: ISO C++ 1998 does not support ‘long long’
src/call.cpp: In member function ‘char* call::get_last_header(const char*)’:
src/call.cpp:957: warning: ISO C++ does not support the ‘z’ gnu_printf
length modifier
src/call.cpp: In member function ‘void call::do_bookkeeping(message*)’:
src/call.cpp:1078: warning: ISO C++ 1998 does not support ‘long long’
src/call.cpp:1079: warning: ISO C++ 1998 does not support ‘long long’
src/call.cpp: In member function ‘char*
call::createSendingMessage(SendingMessage*, int, char*, int, int*)’:
src/call.cpp:2167: warning: ISO C++ does not support the ‘%lf’ gnu_printf
format
src/call.cpp: In member function ‘virtual bool call::process_incoming(const
char*, const sockaddr_storage*)’:
src/call.cpp:2747: warning: ISO C++ does not support the ‘z’ gnu_printf
length modifier
src/call.cpp: In member function ‘call::T_ActionResult
call::executeAction(const char*, message*)’:
src/call.cpp:3267: error: ‘nullptr’ was not declared in this scope
src/call.cpp:3543: warning: ISO C++ does not support the ‘z’ gnu_printf
length modifier
make[1]: *** [src/sipp-call.o] Error 1
make[1]: Leaving directory `/home/user1/sipp-3.6.0'
make: *** [all] Error 2

   In the hope that this has been fixed but not yet shipped, I even tried
downloading the current master tree from github and building it using
"build.sh", but it has other issues:

[user1@centos6-64bit-1 sipp-3.6.0]$ ./build.sh --none
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
configure.ac:50: error: Autoconf version 2.64 or higher is required
m4/ax_check_compile_flag.m4:60: AX_CHECK_COMPILE_FLAG is expanded from...
configure.ac:50: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63
[user1@centos6-64bit-1 sipp-3.6.0]$

   Sure enough, the version of autoconf on CentOS 6 seems to
be autoconf-2.63-5.1.el6.noarch.  So I can't build it from src, but I hope
there is still a way to deploy it from the tar.gz file.

   Details of the CentOS 6 system:

[user1@centos6-64bit-1 sipp-3.6.0]$ uname -a
Linux centos6-64bit-1 2.6.32-754.24.3.el6.x86_64 #1 SMP Thu Nov 14 15:35:16
UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[user1@centos6-64bit-1 sipp-3.6.0]$

   Am I completely out of luck?

   Thanks.

-- 
Larry Menard
"Defender of Geese and of All Things Natural"
E-mail and Google Talk: larry.men...@gmail.com
Web: http://larrymenard.no-ip.biz
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to