Export to GitHub

iperf - issue #86

can't link to libiperf.a


Posted on Aug 17, 2013 by Happy Rabbit

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

Comment #1

Posted on Nov 9, 2013 by Happy Kangaroo

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

Comment #2

Posted on Nov 9, 2013 by Happy Kangaroo

appears to work now, so closing.

Status: Done

Labels:
Type-Defect Priority-Medium