Hui Wang

no Tech, no Info

Hope you find this simple and helpful.

Install SIPp in Ubuntu

Posted on | September 7, 2009 | Views (797)

The common problem we are meeting in installing sipp 3.1 in ubuntu is a declaration problem.

Probably this error will prevent you from completing the compile.

‘INT_MAX’ was not declared in this scope

Please add #include <limits.h> in the file header where it is missed.

If you like an all-in-one solution to install sipp, a deb package is available by default, but it’s not the newest version.

Type the following command to install sip with both openssl and pcap supported.

sudo apt-get install sip-tester

Comments

3 Responses to “Install SIPp in Ubuntu”

  • Suresh S
    November 18th, 2009 @ 4:29 AM

    Dear Wang,

    I found this article useful and could trouble shoot my issue, but I could not understand the following thing which you wanted to say: “Please add #include in the file header where it is missed.”

    While compiling sipp v3.1 in Ubuntu 9.04, I am getting the following error:
    ‘INT_MAX’ was not declared in this scope

    I tried add the line [include "scenario.hpp"] in the file scenario.cpp under sipp directory and still i got the same error. I installed the openssl 0.9.8 version and then ran the following install commands:

    sudo apt-get install build-essential
    sudo apt-get install ncurses-dev
    sudo apt-get install libssl-dev
    sudo apt-get install libnet6-1.3-dev
    sudo apt-get install libpcap-dev
    sudo apt-get install sip-tester

    Everything was successfully executed, but still when I run “sudo make”, I get the same error as you have mentioned. Kindly help me out to solve this issue. Thanks.

    –s.suresh

    [Reply]

    Hui Reply:

    Hi Suresh, thanks for your feedback.
    In fact, what the code is missing is not the file scenario.php but limits.h in which the value of INT_MAX is defined.

    I’m sorry about the confusion. To get rid of this error you should add #include <limits.h> in the files where it is missed.
    Good luck.

    [Reply]

  • Huzefa
    January 6th, 2010 @ 2:32 PM

    Specifically, add #include to the scenario.hpp file

    Good Luck

    [Reply]

Leave a Reply






  • About

    Hui WANGHi everyone, I'm Hui, a student originally from China, now studying at TELECOM SudParis in France. Hui-Wang.info is being used as a place to record my various adventures with technology.

  • Find Me On

  • Search