LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-28-2006, 10:27 AM   #1
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 876

Rep: Reputation: 184Reputation: 184
D-ITG compilation error - me or the code?


Hi chaps,

I'm trying to compile a program called Distributed Internet Traffic Generator on my Suse SLED machine, however when ever I do it gives me this error -


Code:
make[1]: Entering directory `/usr/src/D-ITG-2.4.3/src/ITGSend'
make -C newran -ef nr_gnu.mak myexcept.o
make[2]: Entering directory `/usr/src/D-ITG-2.4.3/src/ITGSend/newran'
make[2]: `myexcept.o' is up to date.
make[2]: Leaving directory `/usr/src/D-ITG-2.4.3/src/ITGSend/newran'
make -C newran -ef nr_gnu.mak extreal.o
make[2]: Entering directory `/usr/src/D-ITG-2.4.3/src/ITGSend/newran'
make[2]: `extreal.o' is up to date.
make[2]: Leaving directory `/usr/src/D-ITG-2.4.3/src/ITGSend/newran'
make -C newran -ef nr_gnu.mak newran.o
make[2]: Entering directory `/usr/src/D-ITG-2.4.3/src/ITGSend/newran'
make[2]: `newran.o' is up to date.
make[2]: Leaving directory `/usr/src/D-ITG-2.4.3/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:73: error: no match for ‘operator*’ in ‘1.10000000000000008881784197001252323389053344727e+0 * * ParetoRV’
traffic.cpp:78: 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:175: error: no match for ‘operator*’ in ‘((VAD * framesize) * samples) * * ConstantRV’
traffic.cpp:179: error: no match for ‘operator*’ in ‘(1.0e+3 / pkts) * * ConstantRV’
traffic.cpp: In function ‘void dnsParser(SumRandom**, SumRandom**, TDistro&, TDistro&)’:
traffic.cpp:196: error: no match for ‘operator*’ in ‘1.785714285714285551875946111977100372314453125e+3 * * ConstantRV’
traffic.cpp:202: error: no match for ‘operator*’ in ‘2.2e+2 * * UniformRV’
make[1]: *** [traffic.o] Error 1
make[1]: Leaving directory `/usr/src/D-ITG-2.4.3/src/ITGSend'
make: *** [ITGSend] Error 2
Would anyone like to venture an opinion on whether this is shite code or just a stupid user?

I have compiled a number of other things without issue so I don't think its me.......


thanks

Pete
 
Old 12-08-2006, 05:21 AM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 876

Original Poster
Rep: Reputation: 184Reputation: 184
No one care to take a swing at this?
 
Old 12-08-2006, 05:47 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Fits better in programming section.

Ask a moderator to move it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 04:45 AM
Compilation error while mixing C & C++ code. mghiya Programming 3 04-11-2006 10:45 AM
compilation error - code 2 jhon Programming 2 08-31-2004 02:54 AM
Major compilation errors in emacs while compiling c code dualcyclone Linux - Software 0 03-26-2004 02:31 PM
How to add new apps to Gnome main menu ? / VB6 code compilation to Linux . linuxlover1 Linux - General 3 11-16-2003 06:35 PM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration