[netperf-talk] netperf compiling for arm linux

Holger Steudtner steudtne at cs.uni-bonn.de
Wed Jun 21 06:56:16 PDT 2006


Hello,

I recently read about netperf and think its a good tool to measure
bandwith with.

I wanna use it in a heterogen network enviroment with i686 linux und
some arm linux (sharp zaurus) systems. So I downloaded netperf-2.4.1,
2.4.2 und 4.0.0rc2 .

Here is what I get while trying to compile/configure the different
versions with

#>./configure CC=arm-linux-gcc
LDFLAGS=-L/usr/local/arm/3.4.1/arm-linux/lib --host arm --build
i686-pc-linux-gnu

for netperf-2.4.1 & 2.4.2:

It stops within the configure process with the error

#> checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether setpgrp takes no argument... configure: error: cannot
check setpgrp when cross compiling

and for netperf-4.0.0rc2 I can configure it butr the make comand fails with

#> nettest_bsd.c: At top level:
nettest_bsd.c:3027: error: parse error before '*' token
nettest_bsd.c: In function `print_results_summary':
nettest_bsd.c:3064: error: request for member `report_data' in something
not a structure or union
nettest_bsd.c:3106: error: request for member `confidence' in something
not a structure or union
nettest_bsd.c:3107: error: request for member `id' in something not a
structure or union
nettest_bsd.c: At top level:
nettest_bsd.c:3130: error: parse error before '*' token
nettest_bsd.c: In function `report_bsd_test_results':
nettest_bsd.c:3137: error: request for member `report_data' in something
not a structure or union
nettest_bsd.c:3140: error: `report_flags' undeclared (first use in this
function)
nettest_bsd.c:3140: error: `output' undeclared (first use in this function)
nettest_bsd.c:3141: error: request for member `report_data' in something
not a structure or union
nettest_bsd.c:3154: error: request for member `confidence' in something
not a structure or union
nettest_bsd.c:3155: error: request for member `confidence' in something
not a structure or union
nettest_bsd.c:3156: error: request for member `confidence' in something
not a structure or union
nettest_bsd.c:3159: error: request for member `confidence' in something
not a structure or union
nettest_bsd.c:3161: error: request for member `confidence' in something
not a structure or union
make[2]: *** [nettest_bsd.lo] Error 1
make[2]: Leaving directory `/data/steudtne/toolchain/netperf-4.0.0rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/steudtne/toolchain/netperf-4.0.0rc2'
make: *** [all] Error 2

I cutted the last output, because it finds a lot of errors in nettest_bsd.c

Any suggestion?

Regards,
Holger


More information about the netperf-talk mailing list