If memory serves me right, divya polavaram wrote:
> Hi All,
> 
> Am trying to cross compile iperf3 for ARM on ubuntu.
> I have compiled the iperf binary. However, when i push it to my device,
> it shows the following error
> 
> msmxxx_64:/ # iperf -v
> /system/bin/sh: /system/bin/iperf: not executable: 64-bit ELF file
> 
> 
> It was found working on my ubuntu pc
> 
> rama@rreddyt-lab-linux:~/Desktop/iperf-3.0.1/bin$ ./iperf3 -v
> iperf version 3.0.1 (10 January 2014)
> Linux rreddyt-lab-linux 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16
> 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> rama@rreddyt-lab-linux:~/Desktop/iperf-3.0.1/bin$ ./iperf3 -s 0.1
> -----------------------------------------------------------
> Server listening on 5201
> -----------------------------------------------------------
> 
> 
> Please provide your suggestions on how do I need to fix this.

I don't know much about cross-compiling (for iperf3 or any other Linux
program), but have you checked the file mode to be sure it's really
executable?  Used file(1) to see exactly what type of executable file it
is, and to be sure that's what you're expecting to see?

Also, the build process normally builds and installs something called
"iperf3" but the thing that's staged on your ARM box is called
"iperf"...is the different filename something you did intentionally?

Good luck,

Bruce.


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to