[netperf-talk] Netperf compilation problems

Tim Schneider schneid5 at cs.uni-bonn.de
Sun Aug 1 03:51:29 PDT 2010


Hello,

I'm currently working on my Bachelor's Thesis where I'm trying to compare different Transportprotocolls in a Wireless-Mesh-Network.
When I searched for Testsoftware, I found Netperf to be suitable for my needs. But, when I tried to use it, it didn't work right away...

First I had some compilation problems. Compiling just standard Netperf works fine, but once I add SCTP, omni or DCCP, I get errors.

When I add --enable-omni or --enable-sctp, I get an error saying:

netlib.c: In function ‘inet_ptos’:
netlib.c:518: error: ‘IPPROTO_SCTP’ undeclared (first use in this function)
netlib.c:518: error: (Each undeclared identifier is reported only once
netlib.c:518: error: for each function it appears in.)

When I add --enable-DCCP, I get the above error above and a warning

In file included from netlib.c:174:
netsh.h:57:2: warning: #warning This platform is missing one of sock_dccp ipproto_dccp or sol_dccp

I was able to work around this problem, by adding the line

#define IPPROTO_SCTP 132

to netlib.h, but this is a rather ugly workaround.

Am I doing anything wrong here? Is my system missing something?

I am trying to compile on a x86 Laptop with Ubuntu 10.04 installed. The Kernelversion is 2.6.32-22.

I would be glad about any hints about what could be wrong.

I also have some testing Problems but I'll address those in another e-mail, since the topics aren't really related.

Thank you,

Tim Schneider



More information about the netperf-talk mailing list