Deven,
I was the one with the orignal problem on Mandriva 2009 which I still haven't
solved. Could you please send me a copy of your scenario.hpp file please?
I am not too sure how to include limits.h to this file, I simply added include
"/usr/include/limits.h" to the file but I receive the following error:
[r...@localhost 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/guest/Desktop/SIPp/sipp.svn'
gcc -D__LINUX -pthread -DSVN_VERSION="\"unknown\"" -DPCAPPLAY -I.
-I/usr/include/openssl -c -o send_packets.o send_packets.c
gcc -D__LINUX -pthread -DSVN_VERSION="\"unknown\"" -DPCAPPLAY -I.
-I/usr/include/openssl -c -o prepare_pcap.o prepare_pcap.c
gcc -D__LINUX -pthread -DSVN_VERSION="\"unknown\"" -DPCAPPLAY -I.
-I/usr/include/openssl -c -o xp_parser.o xp_parser.c
g++ -D__LINUX -pthread -DSVN_VERSION="\"unknown\"" -DPCAPPLAY -I.
-I/usr/include/openssl -c -o message.o message.cpp
In file included from sipp.hpp:63,
from message.cpp:38:
scenario.hpp:33: error: expected constructor, destructor, or type conversion
before string constant
make[1]: *** [message.o] Error 1
make[1]: Leaving directory `/home/guest/Desktop/SIPp/sipp.svn'
make: *** [pcapplay] Error 2
Many thanks,
Antoine
________________________________
From: Deven Parekh <[email protected]>
To: [email protected]
Sent: Friday, 5 December, 2008 22:22:52
Subject: [Sipp-users] Fw: error: INT_MAX was not declared in this scope
Hi
I had this error on Fedora core 9 as well.
It looks like the limits.h was inderectly included through
/usr/include/bits/socket.h
However on Fedora Core 9,for whatever reason, the /usr/include/bits/socket.h no
longer includes limits.h
Included limits.h explicitly in scenarios.hpp. Doing so seems to have got over
the compile problem.
---
DP
p.s: Still not sure about those
warning: deprecated conversion from string constant to ?char*?
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users