+ Reply to Thread
Page 1 of 4
1 2 3 ... LastLast
Results 1 to 3 of 10

Thread: Problems in compiling D-ITG

  1. #1
    anbinh2311
    Guest

    Problems in compiling D-ITG

    300.000 Free softwares download here
    Hi all, I have some problems in compiling Distributed Internet Traffic Generator (D-ITG) on an Ubuntu machine. The Generator is free and you can find it at http://www.grid.unina.it/software/ITG/. When I try to compile the program, I get the following error:





    fabio@fabio:~/Tesi Specialistica/DITG/trunk/src$ make

    make[1]: Entering directory `/home/fabio/Tesi Specialistica/DITG/trunk/src/ITGSend'

    make -C newran -ef nr_gnu.mak myexcept.o

    make[2]: Entering directory `/home/fabio/Tesi Specialistica/DITG/trunk/src/ITGSend/newran'

    make[2]: `myexcept.o' is up to date.

    make[2]: Leaving directory `/home/fabio/Tesi Specialistica/DITG/trunk/src/ITGSend/newran'

    make -C newran -ef nr_gnu.mak extreal.o

    make[2]: Entering directory `/home/fabio/Tesi Specialistica/DITG/trunk/src/ITGSend/newran'

    make[2]: `extreal.o' is up to date.

    make[2]: Leaving directory `/home/fabio/Tesi Specialistica/DITG/trunk/src/ITGSend/newran'

    make -C newran -ef nr_gnu.mak newran.o

    make[2]: Entering directory `/home/fabio/Tesi Specialistica/DITG/trunk/src/ITGSend/newran'

    make[2]: `newran.o' is up to date.

    make[2]: Leaving directory `/home/fabio/Tesi Specialistica/DITG/trunk/src/ITGSend/newran'

    g -DLINUX_OS -Wall -Wno-deprecated -c -o traffic.o traffic.cpp

    traffic.cpp: In function ‘void telnetParser(SumRandom**, SumRandom**, TDistro&, TDistro&)’:

    traffic.cpp:75: error: no match for ‘operator*’ in ‘1.10000000000000008881784197001252323389053 344727e 0 * * ParetoRV’

    traffic.cpp:80: error: no match for ‘operator ’ in ‘D 21’

    traffic.cpp: In function ‘void voIPParser(int, char**, int&, unsigned int, SumRandom**, SumRandom**, TDistro&, TDistro&)’:

    traffic.cpp:177: error: no match for ‘operator*’ in ‘((VAD * framesize) * samples) * * ConstantRV’

    traffic.cpp:181: error: no match for ‘operator*’ in ‘(1.0e 3 / pkts) * * ConstantRV’

    traffic.cpp: In function ‘void dnsParser(SumRandom**, SumRandom**, TDistro&, TDistro&)’:

    traffic.cpp:198: error: no match for ‘operator*’ in ‘1.78571428571428555187594611197710037231445 3125e 3 * * ConstantRV’

    traffic.cpp:204: error: no match for ‘operator*’ in ‘2.2e 2 * * UniformRV’

    make[1]: *** [traffic.o] Error 1

    make[1]: Leaving directory `/home/fabio/Tesi Specialistica/DITG/trunk/src/ITGSend'

    make: *** [ITGSend] Error 2





    Have I missed some option when I call "make"?

    Can someone help me?

    Thank you

  2. #2
    bebymilosyou
    Guest

    worked for me, which version did you download ??




    Code:

    root@chunky [~/D-ITG-2.4.3/src]# make
    g -DLINUX_OS -Wall -Wno-deprecated -c -o common/thread.o common/thread.cpp
    g -DLINUX_OS -Wall -Wno-deprecated -c -o common/ITG.o common/ITG.cpp
    g -DLINUX_OS -Wall -Wno-deprecated -c -o common/timestamp.o common/timestamp.cpp
    g -DLINUX_OS -Wall -Wno-deprecated -c -o common/serial.o common/serial.cpp
    make[1]: Entering directory `/root/D-ITG-2.4.3/src/ITGSend'
    make -C newran -ef nr_gnu.mak myexcept.o
    make[2]: Entering directory `/root/D-ITG-2.4.3/src/ITGSend/newran'
    g -DLINUX_OS -Wall -Wno-deprecated -c myexcept.cpp
    make[2]: Leaving directory `/root/D-ITG-2.4.3/src/ITGSend/newran'
    make -C newran -ef nr_gnu.mak extreal.o
    make[2]: Entering directory `/root/D-ITG-2.4.3/src/ITGSend/newran'
    g -DLINUX_OS -Wall -Wno-deprecated -c extreal.cpp
    make[2]: Leaving directory `/root/D-ITG-2.4.3/src/ITGSend/newran'
    make -C newran -ef nr_gnu.mak newran.o
    make[2]: Entering directory `/root/D-ITG-2.4.3/src/ITGSend/newran'
    g -DLINUX_OS -Wall -Wno-deprecated -c newran.cpp
    newran.cpp: In static member function `static double Random::Get()':
    newran.cpp:166: warning: this decimal constant is unsigned only in ISO C90
    newran.cpp: In static member function `static void Random::Set(double)':
    newran.cpp:174: warning: this decimal constant is unsigned only in ISO C90
    make[2]: Leaving directory `/root/D-ITG-2.4.3/src/ITGSend/newran'
    g -DLINUX_OS -Wall -Wno-deprecated -c -o traffic.o traffic.cpp
    g -DLINUX_OS -Wall -Wno-deprecated -c -o ../common/pipes.o ../common/pipes.cpp
    g -DLINUX_OS -Wall -Wno-deprecated -Inewran newran/myexcept.o newran/extreal.o newran/newran.o ../common/serial.o ../common/ITG.o ../common/timestamp.o ../common/thread.o traffic.o ../common/pipes.o ITGSend.cpp -o ITGSend -lpthread -g
    ITGSend.cpp: In function `void* flowSender(void*)':
    ITGSend.cpp:1817: warning: statement has no effect
    ITGSend.cpp:2062: warning: control reaches end of non-void function
    cp ITGSend /root/D-ITG-2.4.3/src/../bin/
    make[1]: Leaving directory `/root/D-ITG-2.4.3/src/ITGSend'
    make[1]: Entering directory `/root/D-ITG-2.4.3/src/ITGRecv'
    g -DLINUX_OS -Wall -Wno-deprecated -c -o data.o data.cpp
    data.cpp: In function `void* icmpSock(void*)':
    data.cpp:186: warning: statement has no effect
    data.cpp: In function `void* udpSock(void*)':
    data.cpp:384: warning: statement has no effect
    data.cpp: In function `void* tcpSock(void*)':
    data.cpp:596: warning: statement has no effect
    g -DLINUX_OS -Wall -Wno-deprecated ../common/ITG.o ../common/timestamp.o ../common/serial.o ../common/pipes.o ../common/thread.o data.o ITGRecv.cpp -o ITGRecv -lpthread -g
    cp ITGRecv /root/D-ITG-2.4.3/src/../bin/
    make[1]: Leaving directory `/root/D-ITG-2.4.3/src/ITGRecv'
    make[1]: Entering directory `/root/D-ITG-2.4.3/src/ITGLog'
    g -DLINUX_OS -Wall -Wno-deprecated -c -o channel.o channel.cpp
    g -DLINUX_OS -Wall -Wno-deprecated ../common/ITG.o ../common/timestamp.o ../common/thread.o channel.o ITGLog.cpp -o ITGLog -lpthread -g
    cp ITGLog /root/D-ITG-2.4.3/src/../bin/
    make[1]: Leaving directory `/root/D-ITG-2.4.3/src/ITGLog'
    make[1]: Entering directory `/root/D-ITG-2.4.3/src/ITGDec'
    g -DLINUX_OS -Wall -Wno-deprecated ITGDecod.cpp -lm -o ITGDec -lpthread -g
    cp ITGDec /root/D-ITG-2.4.3/src/../bin/
    g -DLINUX_OS -Wall -Wno-deprecated ITGDecod.cpp -lm -DV23 -o ITGDec-23 -lpthread -g
    cp ITGDec-23 /root/D-ITG-2.4.3/src/../bin/
    make[1]: Leaving directory `/root/D-ITG-2.4.3/src/ITGDec'
    make[1]: Entering directory `/root/D-ITG-2.4.3/src/libITG'
    g -DLINUX_OS -Wall -Wno-deprecated -fPIC -shared -o libITG.so ITGapi.cpp ../common/thread.o -lpthread -g
    cp libITG.so /root/D-ITG-2.4.3/src/../bin/
    make[1]: Leaving directory `/root/D-ITG-2.4.3/src/libITG'
    make[1]: Entering directory `/root/D-ITG-2.4.3/src/ITGManager'
    g -DLINUX_OS -Wall -Wno-deprecated ITGManager.cpp ../libITG/ITGapi.cpp -o ITGManager -lpthread -g
    cp ITGManager /root/D-ITG-2.4.3/src/../bin/
    make[1]: Leaving directory `/root/D-ITG-2.4.3/src/ITGManager'
    root@chunky [~/D-ITG-2.4.3/src]#


  3. #3
    vnboy
    Guest

    My version is the same that the yours, my operating system is UBUNTU 6.10, but I had the same problem on others machines, like MAC machines. Do you use the make command? Do you use this command with some particular option? I go in src directory of the program and type the make command with no options. Please Help me...

+ Reply to Thread
Page 1 of 4
1 2 3 ... LastLast

Similar Threads

  1. Basic Problem with compiling C - stdio.h no file/dir
    Hi, I've just started learning C, so I downloaded dev-C /C compiler. I put this very simple source in: Code: #include void main() {
  2. Is it me, or is my computer a bitch when it comes to compiling?
    When I run this code for improvised BFD in Dev C by Bloodshed, it just breaks and the infamous "don't send" window appears. Is there a mistake I...
  3. C compiling on Unix
    Hi I'm trying to compile a C program on Unix, but when I run in shell the makefile (command make) it gives these errors: stdio.h: No such file or...
  4. Help with compiling VB6
    I have Visual Studio.NET and I need to compile a vb6 script. I get errors when going to upgrade the code to vb.net. Is there any way to...
  5. Compiling and Running from the command prompt
    I spend all my time in IDEs, so I've actually forgotten how to compile from the command prompt. I have the JDK properly installed, so how exactly do...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish