iperf

  1. Cross compile , if you got the compile error message : undefined reference to `rpl_malloc' ,
    you can use export ac_cv_func_malloc_0_nonnull=yes to fix the error message
  2. Fix for problem
  3. Use ./configure --host=arm-linux --libdir=/usr/local/arm/4.2.2-eabi/lib --libdir=/usr/local/arm/4.2.2-eabi/usr/include to configure before make.
    Must export the 4.2.2 usr/bin to $PATH. If you export the wrong version, you will get the illegal instrumention.
      Cross compile steps
    1. ./configure --host=arm-linux , you must see the cross compile is yes
    2. after configure , the Makefile will generate, use make to make the execute file. The file will generate in src folder.
    3. If you build the i386 execute, you can use make install to install to bin folder.
  4. Reference
    1. source code
    2. Win32 version


留言