I managed to compile SIPp on many different distributions, ie Mandriva 2008,
Ubuntu, Fedora... the issue only occurs with Mandriva 2009.
scenario.cpp is not calling limits.h, not sure which package is required.
Anyway I am giving up on that one, I will keep using Mandriva 2008 since I
fixed my orginal problem.
----- Forwarded Message ----
From: Antoine <[EMAIL PROTECTED]>
To: Charles P Wright <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Friday, 17 October, 2008 21:24:44
Subject: Re: [Sipp-users] error: ?INT_MAX? was not declared in this scope
Charles,
I already have /usr/include/limits.h installed. Not sure which package I am
missing, is there a way to find out? The logs do not reveal a lot of useful
info. The failure occurs at line 900 (as below) but not sure what it means:
if (sanity_check && (pause_duration > INT_MAX)) {
[EMAIL PROTECTED] sipp.svn]$ locate limits.h
/usr/include/limits.h
/usr/include/c++/4.2.3/tr1/limits.h
/usr/include/c++/4.3.2/tr1/limits.h
/usr/include/linux/limits.h
/usr/lib/gcc/i586-manbo-linux-gnu/4.2.3/include/limits.h
/usr/lib/gcc/i586-manbo-linux-gnu/4.2.3/include/syslimits.h
/usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/include/limits.h
/usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/include/syslimits.h
Thanks,
Antoine
________________________________
From: Charles P Wright <[EMAIL PROTECTED]>
To: Antoine <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Thursday, 16 October, 2008 20:08:18
Subject: Re: [Sipp-users] error: ?INT_MAX? was not declared in this scope
On RedHat it is in /usr/include/limits.h, which is part of the
glibc-headers package.
Charles
Antoine <[EMAIL PROTECTED]>
10/16/2008 02:51 PM
To
[email protected]
cc
Subject
[Sipp-users] error: ?INT_MAX? was not declared in this scope
I am trying to install SIPp on a Linux Mandriva 2009 (did it previously on
Mandriva 2008 without any problems) however I am getting the following
error after running "make pcapplay":
scenario.cpp:900: error: ?INT_MAX? was not declared in this scope
Same error if I just do a make. Anyone has seen this error before?
[EMAIL PROTECTED] sipp.svn]$ make pcapplay
make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed
"s/Power Macintosh/ppc/"` OBJ_PCAPPLAY="send_packets.o prepare_pcap.o"
PCAPPLAY_LIBS="-lpcap" PCAPPLAY="-DPCAPPLAY" sipp
make[1]: Entering directory `/home/antoine/SIPp/sipp.svn'
g++ -D__LINUX -pthread -DSVN_VERSION="\"unknown\"" -DPCAPPLAY -I.
-I/usr/include/openssl -c -o scenario.o scenario.cpp
scenario.cpp: In constructor ?scenario::scenario(char*, int)?:
scenario.cpp:900: error: ?INT_MAX? was not declared in this scope
scenario.cpp: In function ?CSample* parse_distribution(bool)?:
scenario.cpp:1054: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1056: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1058: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1060: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1062: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1064: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1066: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1068: warning: deprecated conversion from string constant to
?char*?
scenario.cpp: In member function ?void
scenario::getActionForThisMessage()?:
scenario.cpp:1320: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1320: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1321: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1321: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1411: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1443: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1446: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1449: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1452: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1455: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1458: warning: deprecated conversion from string constant to
?char*?
scenario.cpp: At global scope:
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to
?char*?
scenario.cpp:3161: warning: deprecated conversion from string constant to
?char*?
make[1]: *** [scenario.o] Error 1
make[1]: Leaving directory `/home/antoine/SIPp/sipp.svn'
make: *** [pcapplay] Error 2
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users