Nikolay, I had exactly the same issue on Mandriva 2009, the issue was solved with a patch provided by Dmitry. See forwarded email below + attached file.
Antoine ----- Forwarded by Antoine Pouchot/UK/IBM on 19/01/2009 13:03 ----- Dmitry Goncharov <[email protected]> 19/12/2008 10:38 To [email protected] cc Subject [Sipp-users] sipp-3.1 is unable to play pcap files Hi, sipp version 3.1 has a bug in call.cpp in function get_remote_port_media(). The function improperly calculates the start position of the port. Also gcc-4.3.2 doesn't compile call.cpp and scenario.cpp since these files use INT_MAX and dont include limits.h. I am providing two patch files which fix the bugs. BR, Dmitry- "Nikolay Kondratyev" <[email protected]> 19/01/2009 11:42 To <[email protected]> cc Subject [Sipp-users] sipp compilation problem Hi all, When trying to compile sipp 3.1 from source I found that compilation aborts with the following error: scenario.cpp:900: error: ?INT_MAX? was not declared in this scope After some ?googling? I found that INT_MAX is defined in the /usr/include/limits.h and I was able to solve the problem via adding the line #include <limits.h> Into scenario.hpp file. Should this line be included in the distribution? I?m on fedora 10. And I feel like all RH5 clones have INT_MAX defined in the same file? Hope this may help other newbie?s with compiling sipp? Thanks and regards, Nikolay. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
sipp_limits_fix.patch
Description: Binary data
sipp_port_fix.patch
Description: Binary data
------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
