LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-01-2009, 03:25 AM   #1
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Rep: Reputation: 0
Iperf 1.6.5 on Debian 5.0 error


Hello,

I want to use an modified iperf version from cern.ch on debian 5.0 with kernel 2.6.26 and g++ 4.3 but I get this errors and I don't know where the problem is:
Code:
debian:/usr/src/iperf-1.6.5-hb-lksctp# make
rm -f lib/libdast.a

make[1]: Entering directory `/usr/src/iperf-1.6.5-hb-lksctp/lib'
ar cr ../lib/libdast.a Socket.o SocketAddr.o Thread.o delay.o error.o gnu_getopt.o gnu_getopt_long.o signal.o sockets.o stdio.o string.o tcp_window_size.o 
ranlib ../lib/libdast.a
make[1]: Leaving directory `/usr/src/iperf-1.6.5-hb-lksctp/lib'
rm -f iperf

make[1]: Entering directory `/usr/src/iperf-1.6.5-hb-lksctp/src'
g++ -o ../iperf -pthread Client.o Extractor.o Listener.o PerfSocket.o PerfSocket_TCP.o PerfSocket_UDP.o Server.o Settings.o main.o PerfSocket_SCTP.o -L../lib -ldast 
/usr/bin/ld: error in Client.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in Listener.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in PerfSocket.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in PerfSocket_UDP.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in Server.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in main.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/ld: error in ../lib/libdast.a(Socket.o)(.eh_frame); no .eh_frame_hdr table will be created.
I looked in the web, but I can't find something what helps.

Perhaps somebody has had the same problem and know a solution.

Regards
Frank
 
Old 12-01-2009, 09:07 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
First thing, is there any special reason doing the build in /usr/src? /usr/local (or /opt) is the place for 3rd party installs and /usr/local/src (or /opt/src) for the related source.

This is a linking problem not a compile problem, so it is a bit hard to debug just from the error messages you posted.

I tried to get the source myself from cern but there seems to be a routing problem at the moment

Code:
% traceroute cern.ch
<snip>
 8  so-6-2-0.rt1.fra.de.geant2.net (62.40.112.57)  288.558 ms  288.771 ms  288.762 ms
 9  so-6-2-0.rt1.gen.ch.geant2.net (62.40.112.21)  296.835 ms  296.455 ms  296.442 ms
10  swiCE2-10GE-1-1.switch.ch (62.40.124.22)  296.507 ms  296.468 ms  296.484 ms
11  e513-e-rci76-1-te1.cern.ch (192.65.184.222)  296.887 ms  297.146 ms  297.397 ms
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
Can you tell me from where you downloaded the source?

Cheers,

Evo2.
 
Old 12-02-2009, 01:14 AM   #3
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
Yeah, I downloaded it from http://datatag.web.cern.ch/datatag/WP3/sctp/tests.htm.

But I know the reason now. I don't looked that the .o files are exists. So I have done first make clean and then make && make install. I thought that the files aren't compiled in tar.gz...
Ok it works, so far.

But do you know a newer version about iperf with lksctp-kernel?
Because the openss7 is to old and not implemented all new things of sctp.
And the iperf version 1.6.5 not implemented all new test of the version 2.0.x

Regards
Frank

Last edited by Frank85; 12-02-2009 at 01:16 AM.
 
Old 12-02-2009, 01:35 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
But do you know a newer version about iperf with lksctp-kernel?
Because the openss7 is to old and not implemented all new things of sctp.
And the iperf version 1.6.5 not implemented all new test of the version 2.0.x
No sorry.

Have you considered applying the sctp patches to iperf 2.0? I had a look at the source you linked to and the changes seem quite minimal. So how easy is will only really depend on how much the iperf 2.0 codebase differs from iperf 1.6.5

Evo2.
 
Old 12-02-2009, 02:50 AM   #5
Frank85
LQ Newbie
 
Registered: Oct 2009
Location: Germany
Distribution: Ubuntu 9.10, Debian 5.0
Posts: 18

Original Poster
Rep: Reputation: 0
The problem is, what I see...

In Iperf 1.6.5 from Cern the PerfSocket is written with classes.
In Iperf 2.0.8 from OpenSS7 it is all sequence code without classes.

I think that's to great for me to change all the classes.

Kind Regards
Frank
 
  


Reply



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
Help regarding iperf ssenthilkumar Linux - Software 2 06-20-2009 12:45 AM
Help regarding iperf ipv6 ssenthilkumar Linux - Networking 0 06-18-2009 10:21 AM
iperf for fedora core 4 wahaha Linux - Software 6 09-04-2006 01:00 AM
iperf vishamr2000 Linux - Networking 4 09-03-2006 01:12 PM
iperf vishamr2000 Linux - Networking 0 11-25-2005 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:21 PM.

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
Open Source Consulting | Domain Registration