Hi Community!
I have solved the problem...To compile with getting errors, you need to
install first:
1) GSL (http://www.gnu.org/software/gsl)
2) Perl XML
3) Gnu plot
then do the following
cd ims_bench
make rmtl
make ossl
make mgr
Hope this will help!
Khaldon
2008/8/8 ims.asuser ims.asuser <[EMAIL PROTECTED]>
> Hi all,
>
> I've downloaded the IMS bench SIPp on my Ubuntu 8.04 - Hardy Heron LTS and
> I get some errors while compiling
> I did exactly want the document specified
>
> cd ims_bench
>
> make rmtl
> make ossl
> make mgr
>
> The "make rmtl" works but the others fail. Is there any requirement before
> compiling it?
>
> Hereunder is my trace
>
> Thank you
>
> make OSNAME=Linux MODELNAME=i686 OBJ_TLS="auth.o sslinit.o sslthreadsafe.o
> milenage.o rijndael.o" TLS_LIBS="-lssl -lcrypto" TLS="-D_USE_OPENSSL
> -DOPENSSL_NO_KRB5" sipp
> make[1]: entrant dans le répertoire « /home/aallouche/ims_bench »
> gcc -D__LINUX -pthread -DSIPP_EPOLL -D__3PCC__ -DHAVE_GSL -DFORCE_LOGGING
> -D_USE_OPENSSL -DOPENSSL_NO_KRB5 -I. -I/opt/openssl/include -c -o
> scenario.o scenario.cpp
> Dans le fichier inclus à partir de scenario.hpp:37,
> à partir de sipp.hpp:60,
> à partir de scenario.cpp:32:
> pause.hpp:30:25: erreur: gsl/gsl_rng.h : Aucun fichier ou dossier de ce
> type
> pause.hpp:31:29: erreur: gsl/gsl_randist.h : Aucun fichier ou dossier de ce
> type
> pause.hpp:32:25: erreur: gsl/gsl_cdf.h : Aucun fichier ou dossier de ce
> type
> In file included from scenario.hpp:37,
> from sipp.hpp:60,
> from scenario.cpp:32:
> pause.hpp:95: erreur: ISO C++ forbids declaration of «gsl_rng» with no type
> pause.hpp:95: erreur: expected «;» before «*» token
> pause.hpp:118: erreur: ISO C++ forbids declaration of «gsl_rng» with no
> type
> pause.hpp:118: erreur: expected «;» before «*» token
> pause.hpp:131: erreur: ISO C++ forbids declaration of «gsl_rng» with no
> type
> pause.hpp:131: erreur: expected «;» before «*» token
> pause.hpp:144: erreur: ISO C++ forbids declaration of «gsl_rng» with no
> type
> pause.hpp:144: erreur: expected «;» before «*» token
> pause.hpp:157: erreur: ISO C++ forbids declaration of «gsl_rng» with no
> type
> pause.hpp:157: erreur: expected «;» before «*» token
> pause.hpp:170: erreur: ISO C++ forbids declaration of «gsl_rng» with no
> type
> pause.hpp:170: erreur: expected «;» before «*» token
> pause.hpp:183: erreur: ISO C++ forbids declaration of «gsl_rng» with no
> type
> pause.hpp:183: erreur: expected «;» before «*» token
> scenario.cpp:349: erreur: expected initializer before «*» token
> scenario.cpp: In function «void init_clen_rng()»:
> scenario.cpp:353: erreur: «s_ContentLengthRng» was not declared in this
> scope
> scenario.cpp:358: erreur: «s_ContentLengthRng» was not declared in this
> scope
> scenario.cpp:358: erreur: «gsl_rng_default» was not declared in this scope
> scenario.cpp:358: erreur: «gsl_rng_alloc» was not declared in this scope
> scenario.cpp: In function «void seed_clen_rand(long unsigned int)»:
> scenario.cpp:368: erreur: «s_ContentLengthRng» was not declared in this
> scope
> scenario.cpp:368: erreur: «gsl_rng_set» was not declared in this scope
> scenario.cpp: At global scope:
> scenario.cpp:371: erreur: expected initializer before «*» token
> scenario.cpp: In function «void init_chance_rng()»:
> scenario.cpp:375: erreur: «s_ChanceRng» was not declared in this scope
> scenario.cpp:380: erreur: «s_ChanceRng» was not declared in this scope
> scenario.cpp:380: erreur: «gsl_rng_default» was not declared in this scope
> scenario.cpp:380: erreur: «gsl_rng_alloc» was not declared in this scope
> scenario.cpp: In function «void seed_chance_rand(long unsigned int)»:
> scenario.cpp:390: erreur: «s_ChanceRng» was not declared in this scope
> scenario.cpp:390: erreur: «gsl_rng_set» was not declared in this scope
> scenario.cpp: In function «unsigned int clen_uniform_func(Message*, int)»:
> scenario.cpp:403: erreur: «s_ContentLengthRng» was not declared in this
> scope
> scenario.cpp:403: erreur: «gsl_rng_uniform_int» was not declared in this
> scope
> scenario.cpp: In function «unsigned int chance_uniform_rand()»:
> scenario.cpp:413: erreur: «s_ChanceRng» was not declared in this scope
> scenario.cpp:413: erreur: «gsl_rng_uniform_int» was not declared in this
> scope
> scenario.cpp: In function «CSample* parse_distribution(bool)»:
> scenario.cpp:913: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp:915: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp:917: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp:919: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp:921: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp:923: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp:925: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp:927: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp:929: attention : deprecated conversion from string constant to
> «char*»
> scenario.cpp: In member function «void
> Message::parseActions(ScenarioParseContext&)»:
> scenario.cpp:1461: attention : deprecated conversion from string constant
> to «char*»
> scenario.cpp:1461: attention : deprecated conversion from string constant
> to «char*»
> scenario.cpp:1462: attention : deprecated conversion from string constant
> to «char*»
> scenario.cpp:1462: attention : deprecated conversion from string constant
> to «char*»
> In file included from scenario.cpp:1922:
> std_scen.tmp: At global scope:
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:12: attention : deprecated conversion from string constant to
> «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> std_scen.tmp:1301: attention : deprecated conversion from string constant
> to «char*»
> make[1]: *** [scenario.o] Erreur 1
> make[1]: quittant le répertoire « /home/aallouche/ims_bench »
> make: *** [ossl] Erreur 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