jkorell/iperf

can't link to libiperf.a

Closed this issue · 2 comments

I'm using Ubuntu and cross tools to cross compile iperf to raspberry pi. I have 
already got the static lib libiperf.a. I link compiler to it using -l.
When I compile my code using this lib. it always show "report_sum_outofoerder" 
and "report_sum_bw_jitter_loss_format" are undeclared (first use in this 
function). But I saw in the libiperf, it does have this two definition. Can 
someone help me solve this problem?
Thank you

Original issue reported on code.google.com by zongwei1...@gmail.com on 17 Aug 2013 at 12:26

I am able to cross compile under ubuntu 13 using the following:

./configure --host=arm-linux-gnueabi

buraglio@Ubuntu-13-Desktop:~/dev/iperf/src$ file iperf3
iperf3: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.32,
BuildID[sha1]=0x943f637a0b6921eef715073a19a45cdfbcf62981, not stripped

Original comment by burag...@es.net on 9 Nov 2013 at 6:09

appears to work now, so closing.

Original comment by bltier...@es.net on 9 Nov 2013 at 6:55

  • Changed state: Done