步骤

1. 在ftp://ftp.netperf.org/netperf/ 上下载2.6.0版本,解压
2. mkdir out
3. ./configure --host=mips-linux CC=/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc --prefix=`pwd`/out
会提示checking whether setpgrp takes no argument... configure: error: cannot check setpgrp when cross compiling
网上搜索的解决方法是, 先echo "ac_cv_func_setpgrp_void=yes" > config.cache, 再./configure --host=mips-linux CC=/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc --prefix=`pwd`/out --config-cache
4. make;makeinstall

完整log:

[xioliu@cn0512lnx02 gmac]$ cd netperf-2.6.0
[xioliu@cn0512lnx02 netperf-2.6.0]$ ls
acinclude.m4  config.sub    INSTALL        netperf.spec.in  README.solaris
aclocal.m4    configure     install-sh     NEWS             README.vmware
AUTHORS       configure.ac  m4             README           README.windows
autogen.sh    COPYING       Makefile.am    README.aix       Release_Notes
ChangeLog     depcomp       Makefile.in    README.hpux      src
config.guess  doc           missing        README.osx
config.h.in   inet_ntop.c   mkinstalldirs  README.ovms
[xioliu@cn0512lnx02 netperf-2.6.0]$ mkdir out
[xioliu@cn0512lnx02 netperf-2.6.0]$ ./configure --host=mips-linux CC=/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc --prefix=out
configure: error: expected an absolute directory name for --prefix: out
[xioliu@cn0512lnx02 netperf-2.6.0]$ ./configure --host=mips-linux CC=/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc --prefix=`pwd`/out
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mips-unknown-linux-gnu
checking target system type... mips-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-linux-gcc... /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc accepts -g... yes
checking for /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc... gcc3
checking for mips-linux-ranlib... no
checking for ranlib... ranlib
configure: WARNING: using cross tools not prefixed with host triplet
checking for an ANSI C-conforming const... yes
checking for main in -lm... yes
checking how to run the C preprocessor... /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking ifaddrs.h usability... no
checking ifaddrs.h presence... no
checking for ifaddrs.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/tcp.h usability... yes
checking linux/tcp.h presence... yes
checking for linux/tcp.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... no
checking for netinet/sctp.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/wait.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for sys/wait.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/ip.h usability... yes
checking netinet/ip.h presence... yes
checking for netinet/ip.h... yes
checking for main in -lsocket... no
checking for main in -lmach... no
checking for an ANSI C-conforming const... (cached) yes
checking for off_t... yes
checking for size_t... yes
checking for socklen_t equivalent... size_t
checking for h_errno declaration in netdb.h... yes
checking for struct sockaddr_storage... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking if sockaddr struct has sa_len member... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
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
[xioliu@cn0512lnx02 netperf-2.6.0]$ make
make: *** No targets specified and no makefile found.  Stop.
[xioliu@cn0512lnx02 netperf-2.6.0]$ ls
acinclude.m4  config.log    inet_ntop.c  mkinstalldirs    README.osx
aclocal.m4    config.sub    INSTALL      netperf.spec.in  README.ovms
AUTHORS       configure     install-sh   NEWS             README.solaris
autogen.sh    configure.ac  m4           out              README.vmware
ChangeLog     COPYING       Makefile.am  README           README.windows
config.guess  depcomp       Makefile.in  README.aix       Release_Notes
config.h.in   doc           missing      README.hpux      src
[xioliu@cn0512lnx02 netperf-2.6.0]$ echo "ac_cv_func_setpgrp_void=yes" > config.cache
[xioliu@cn0512lnx02 netperf-2.6.0]$ ./configure --host=mips-linux CC=/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc --prefix=`pwd`/out --config-cache
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
configure: loading cache config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mips-unknown-linux-gnu
checking target system type... mips-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-linux-gcc... /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc accepts -g... yes
checking for /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc... gcc3
checking for mips-linux-ranlib... no
checking for ranlib... ranlib
configure: WARNING: using cross tools not prefixed with host triplet
checking for an ANSI C-conforming const... yes
checking for main in -lm... yes
checking how to run the C preprocessor... /usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking ifaddrs.h usability... no
checking ifaddrs.h presence... no
checking for ifaddrs.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/tcp.h usability... yes
checking linux/tcp.h presence... yes
checking for linux/tcp.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... no
checking for netinet/sctp.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/wait.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for sys/wait.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/ip.h usability... yes
checking netinet/ip.h presence... yes
checking for netinet/ip.h... yes
checking for main in -lsocket... no
checking for main in -lmach... no
checking for an ANSI C-conforming const... (cached) yes
checking for off_t... yes
checking for size_t... yes
checking for socklen_t equivalent... size_t
checking for h_errno declaration in netdb.h... yes
checking for struct sockaddr_storage... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking if sockaddr struct has sa_len member... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
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... (cached) yes
checking return type of signal handlers... void
checking for alarm... yes
checking for bzero... no
checking for daemon... yes
checking for gethostbyname... yes
checking for gethrtime... no
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for memcpy... yes
checking for munmap... yes
checking for select... yes
checking for setsid... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strstr... yes
checking for strtoul... yes
checking for uname... yes
checking for toupper... yes
checking for getnameinfo... yes
checking for getaddrinfo... yes
checking for inet_ntop... yes
checking for getifaddrs... no
checking for sendfile... yes
checking for uname... (cached) yes
checking for mpctl... no
checking for processor_bind... no
checking for sched_setaffinity... yes
checking for bind_to_cpu_id... no
checking for bindprocessor... no
checking whether to include histogram support... no
checking whether to include dirty support... no
checking whether to include demo support... no
checking whether to include Unix-domain socket tests... no
checking whether to include DLPI tests... no
checking whether to include DCCP tests... no
checking whether to include OMNI tests... yes
checking whether to include XTI tests... no
checking whether to include SDP tests... no
checking whether to include ICSC-EXS tests... no
checking whether to include SCTP tests... no
checking whether to include paced send (intervals) support... no
checking whether paced sends should spin... no
checking whether to include initial burst support in _RR tests... yes
checking which CPU utilization measurement type to use... "procstat - auto"
checking which route lookup type to use... "rtnetlink - auto"
checking which slot lookup type to use... "linux - auto"
checking which sec lookup type to use... checking for main in -ldl... yes
"linux - auto"
checking which driver info lookup type to use... "ethtool - auto"
checking which system info lookup type to use... checking smbios/SystemInfo.h usability... no
checking smbios/SystemInfo.h presence... no
checking for smbios/SystemInfo.h... no
checking for main in -lsmbios... no
"linux - auto"
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/netperf_version.h
config.status: creating src/Makefile
config.status: creating src/missing/Makefile
config.status: creating src/missing/m4/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating netperf.spec
config.status: creating config.h
config.status: executing depfiles commands
[xioliu@cn0512lnx02 netperf-2.6.0]$ make
make  all-recursive
make[1]: Entering directory `/home/xioliu/gmac/netperf-2.6.0'
Making all in src
make[2]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src'
Making all in missing
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
Making all in m4
make[4]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src/missing/m4'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src/missing/m4'
make[4]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src'
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netperf.o -MD -MP -MF .deps/netperf.Tpo -c -o netperf.o netperf.c
mv -f .deps/netperf.Tpo .deps/netperf.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netlib.o -MD -MP -MF .deps/netlib.Tpo -c -o netlib.o netlib.c
mv -f .deps/netlib.Tpo .deps/netlib.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netsh.o -MD -MP -MF .deps/netsh.Tpo -c -o netsh.o netsh.c
mv -f .deps/netsh.Tpo .deps/netsh.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT nettest_bsd.o -MD -MP -MF .deps/nettest_bsd.Tpo -c -o nettest_bsd.o nettest_bsd.c
mv -f .deps/nettest_bsd.Tpo .deps/nettest_bsd.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT nettest_dlpi.o -MD -MP -MF .deps/nettest_dlpi.Tpo -c -o nettest_dlpi.o nettest_dlpi.c
mv -f .deps/nettest_dlpi.Tpo .deps/nettest_dlpi.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT nettest_unix.o -MD -MP -MF .deps/nettest_unix.Tpo -c -o nettest_unix.o nettest_unix.c
mv -f .deps/nettest_unix.Tpo .deps/nettest_unix.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT nettest_xti.o -MD -MP -MF .deps/nettest_xti.Tpo -c -o nettest_xti.o nettest_xti.c
mv -f .deps/nettest_xti.Tpo .deps/nettest_xti.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT nettest_sctp.o -MD -MP -MF .deps/nettest_sctp.Tpo -c -o nettest_sctp.o nettest_sctp.c
mv -f .deps/nettest_sctp.Tpo .deps/nettest_sctp.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT nettest_sdp.o -MD -MP -MF .deps/nettest_sdp.Tpo -c -o nettest_sdp.o nettest_sdp.c
mv -f .deps/nettest_sdp.Tpo .deps/nettest_sdp.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT nettest_omni.o -MD -MP -MF .deps/nettest_omni.Tpo -c -o nettest_omni.o nettest_omni.c
mv -f .deps/nettest_omni.Tpo .deps/nettest_omni.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT net_uuid.o -MD -MP -MF .deps/net_uuid.Tpo -c -o net_uuid.o net_uuid.c
mv -f .deps/net_uuid.Tpo .deps/net_uuid.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT dscp.o -MD -MP -MF .deps/dscp.Tpo -c -o dscp.o dscp.c
mv -f .deps/dscp.Tpo .deps/dscp.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netcpu_procstat.o -MD -MP -MF .deps/netcpu_procstat.Tpo -c -o netcpu_procstat.o netcpu_procstat.c
mv -f .deps/netcpu_procstat.Tpo .deps/netcpu_procstat.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netrt_rtnetlink.o -MD -MP -MF .deps/netrt_rtnetlink.Tpo -c -o netrt_rtnetlink.o netrt_rtnetlink.c
mv -f .deps/netrt_rtnetlink.Tpo .deps/netrt_rtnetlink.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netdrv_ethtool.o -MD -MP -MF .deps/netdrv_ethtool.Tpo -c -o netdrv_ethtool.o netdrv_ethtool.c
mv -f .deps/netdrv_ethtool.Tpo .deps/netdrv_ethtool.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netslot_linux.o -MD -MP -MF .deps/netslot_linux.Tpo -c -o netslot_linux.o netslot_linux.c
mv -f .deps/netslot_linux.Tpo .deps/netslot_linux.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netsys_linux.o -MD -MP -MF .deps/netsys_linux.Tpo -c -o netsys_linux.o netsys_linux.c
mv -f .deps/netsys_linux.Tpo .deps/netsys_linux.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netsec_linux.o -MD -MP -MF .deps/netsec_linux.Tpo -c -o netsec_linux.o netsec_linux.c
mv -f .deps/netsec_linux.Tpo .deps/netsec_linux.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc     -o netperf netperf.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_unix.o nettest_xti.o nettest_sctp.o nettest_sdp.o nettest_omni.o net_uuid.o dscp.o netcpu_procstat.o netrt_rtnetlink.o netdrv_ethtool.o netslot_linux.o netsys_linux.o netsec_linux.o  -ldl -lm
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I..      -MT netserver.o -MD -MP -MF .deps/netserver.Tpo -c -o netserver.o netserver.c
mv -f .deps/netserver.Tpo .deps/netserver.Po
/usr/local/mipsel-linux/usr/bin/mipsel-linux-gcc     -o netserver netserver.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_unix.o nettest_xti.o nettest_sctp.o nettest_sdp.o nettest_omni.o net_uuid.o dscp.o netcpu_procstat.o netrt_rtnetlink.o netdrv_ethtool.o netslot_linux.o netsys_linux.o netsec_linux.o  -ldl -lm
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src'
make[2]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src'
Making all in doc
make[2]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/doc'
Making all in examples
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/doc/examples'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/doc/examples'
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/doc'
make[2]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/doc'
make[2]: Entering directory `/home/xioliu/gmac/netperf-2.6.0'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0'
make[1]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0'
[xioliu@cn0512lnx02 netperf-2.6.0]$ ls
acinclude.m4  config.log     INSTALL        netperf.spec.in  README.vmware
aclocal.m4    config.status  install-sh     NEWS             README.windows
AUTHORS       config.sub     m4             out              Release_Notes
autogen.sh    configure      Makefile       README           src
ChangeLog     configure.ac   Makefile.am    README.aix       stamp-h1
config.cache  COPYING        Makefile.in    README.hpux
config.guess  depcomp        missing        README.osx
config.h      doc            mkinstalldirs  README.ovms
config.h.in   inet_ntop.c    netperf.spec   README.solaris
[xioliu@cn0512lnx02 netperf-2.6.0]$ ls -l
total 840
-rw-r--r-- 1 xioliu depgrpsocsw  14022 Feb 11  2011 acinclude.m4
-rw-r--r-- 1 xioliu depgrpsocsw  35094 Jun 20  2012 aclocal.m4
-rw-r--r-- 1 xioliu depgrpsocsw   7809 Apr  3  2012 AUTHORS
-rwxr-xr-x 1 xioliu depgrpsocsw     95 Feb 11  2011 autogen.sh
-rw-r--r-- 1 xioliu depgrpsocsw     27 Feb 11  2011 ChangeLog
-rw-r--r-- 1 xioliu depgrpsocsw   7012 Apr 28 11:12 config.cache
-rwxr-xr-x 1 xioliu depgrpsocsw  43499 Feb 11  2011 config.guess
-rw-r--r-- 1 xioliu depgrpsocsw  11992 Apr 28 11:12 config.h
-rw-r--r-- 1 xioliu depgrpsocsw  11248 Jun 20  2012 config.h.in
-rw-r--r-- 1 xioliu depgrpsocsw 112130 Apr 28 11:12 config.log
-rwxr-xr-x 1 xioliu depgrpsocsw  36707 Apr 28 11:12 config.status
-rwxr-xr-x 1 xioliu depgrpsocsw  31743 Feb 11  2011 config.sub
-rwxr-xr-x 1 xioliu depgrpsocsw 255854 Jun 20  2012 configure
-rw-r--r-- 1 xioliu depgrpsocsw  21464 Jun 20  2012 configure.ac
-rw-r--r-- 1 xioliu depgrpsocsw   2079 Feb 11  2011 COPYING
-rwxr-xr-x 1 xioliu depgrpsocsw  13866 Feb 11  2011 depcomp
drwxr-xr-x 3 xioliu depgrpsocsw   4096 Apr 28 11:12 doc
-rw-r--r-- 1 xioliu depgrpsocsw     30 Feb 11  2011 inet_ntop.c
-rw-r--r-- 1 xioliu depgrpsocsw   9240 Feb 11  2011 INSTALL
-rwxr-xr-x 1 xioliu depgrpsocsw  13663 Jul 20  2011 install-sh
drwxr-xr-x 4 xioliu depgrpsocsw   4096 Feb 11  2011 m4
-rw-r--r-- 1 xioliu depgrpsocsw  22911 Apr 28 11:12 Makefile
-rw-r--r-- 1 xioliu depgrpsocsw    120 Feb 11  2011 Makefile.am
-rw-r--r-- 1 xioliu depgrpsocsw  22579 Jun 20  2012 Makefile.in
-rwxr-xr-x 1 xioliu depgrpsocsw  10266 Feb 11  2011 missing
-rwxr-xr-x 1 xioliu depgrpsocsw   1988 Feb 11  2011 mkinstalldirs
-rw-r--r-- 1 xioliu depgrpsocsw   1803 Apr 28 11:12 netperf.spec
-rw-r--r-- 1 xioliu depgrpsocsw   1807 Feb 11  2011 netperf.spec.in
-rw-r--r-- 1 xioliu depgrpsocsw      0 Feb 11  2011 NEWS
drwxr-xr-x 2 xioliu depgrpsocsw   4096 Apr 28 11:08 out
-rw-r--r-- 1 xioliu depgrpsocsw   2104 Feb 11  2011 README
-rw-r--r-- 1 xioliu depgrpsocsw   1673 Nov  3  2011 README.aix
-rw-r--r-- 1 xioliu depgrpsocsw   1772 Feb 11  2011 README.hpux
-rw-r--r-- 1 xioliu depgrpsocsw    258 Feb 11  2011 README.osx
-rw-r--r-- 1 xioliu depgrpsocsw   2382 Feb 11  2011 README.ovms
-rw-r--r-- 1 xioliu depgrpsocsw   1260 Feb 11  2011 README.solaris
-rw-r--r-- 1 xioliu depgrpsocsw    720 Feb 11  2011 README.vmware
-rw-r--r-- 1 xioliu depgrpsocsw   4348 Jun 20  2012 README.windows
-rw-r--r-- 1 xioliu depgrpsocsw  47547 Jun 20  2012 Release_Notes
drwxr-xr-x 6 xioliu depgrpsocsw   4096 Apr 28 11:12 src
-rw-r--r-- 1 xioliu depgrpsocsw     23 Apr 28 11:12 stamp-h1
[xioliu@cn0512lnx02 netperf-2.6.0]$ make install
Making install in src
make[1]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src'
Making install in missing
make[2]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
Making install in m4
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src/missing/m4'
make[4]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src/missing/m4'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src/missing/m4'
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src/missing/m4'
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
make[4]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
make[2]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src/missing'
make[2]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src'
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/src'
test -z "/home/xioliu/gmac/netperf-2.6.0/out/bin" || /bin/mkdir -p "/home/xioliu/gmac/netperf-2.6.0/out/bin"
  /usr/bin/install -c netperf netserver '/home/xioliu/gmac/netperf-2.6.0/out/bin'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src'
make[2]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src'
make[1]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/src'
Making install in doc
make[1]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/doc'
Making install in examples
make[2]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/doc/examples'
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/doc/examples'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/doc/examples'
make[2]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/doc/examples'
make[2]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/doc'
make[3]: Entering directory `/home/xioliu/gmac/netperf-2.6.0/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/xioliu/gmac/netperf-2.6.0/out/share/info" || /bin/mkdir -p "/home/xioliu/gmac/netperf-2.6.0/out/share/info"
 /usr/bin/install -c -m 644 ./netperf.info '/home/xioliu/gmac/netperf-2.6.0/out/share/info'
test -z "/home/xioliu/gmac/netperf-2.6.0/out/share/man/man1" || /bin/mkdir -p "/home/xioliu/gmac/netperf-2.6.0/out/share/man/man1"
 /usr/bin/install -c -m 644 'netperf.man' '/home/xioliu/gmac/netperf-2.6.0/out/share/man/man1/netperf.1'
 /usr/bin/install -c -m 644 'netserver.man' '/home/xioliu/gmac/netperf-2.6.0/out/share/man/man1/netserver.1'
make[3]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/doc'
make[2]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/doc'
make[1]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0/doc'
make[1]: Entering directory `/home/xioliu/gmac/netperf-2.6.0'
make[2]: Entering directory `/home/xioliu/gmac/netperf-2.6.0'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0'
make[1]: Leaving directory `/home/xioliu/gmac/netperf-2.6.0'
[xioliu@cn0512lnx02 netperf-2.6.0]$ cd out
[xioliu@cn0512lnx02 out]$ ls
bin  share
[xioliu@cn0512lnx02 out]$ cd bin
[xioliu@cn0512lnx02 bin]$ ls
netperf  netserver
[xioliu@cn0512lnx02 bin]$ file netperf
netperf: ELF 32-bit LSB executable, MIPS, MIPS64 version 1 (SYSV), dynamically linked (uses shared libs), not stripped
[xioliu@cn0512lnx02 bin]$ file netserver
netserver: ELF 32-bit LSB executable, MIPS, MIPS64 version 1 (SYSV), dynamically linked (uses shared libs), not stripped

netperf mips 移植相关推荐

  1. 不同平台下移植x264

    一.   编译环境 mips移植x264相关记录,mips交叉编译工具采用buildroot-gcc342版本,x264 版本x264-snapshot-20140831-2245. android ...

  2. turbolinux mysql 5.0 cluste,Debian -- 新聞 -- Debian GNU/Linux 5.0 發布

    Debian GNU/Linux 5.0 發布 2009年02月14日 Debian 計劃高興地宣佈,經過 22 個月的不斷開發下, Debian GNU/Linux 5.0 版(代號Lenny)正式 ...

  3. 海康威视摄像头 onvif 鉴权

    问题描述 在调试海康威视摄像头过程中,遇到无法鉴权成功的问题.同样的代码,其他的摄像头均能鉴权成功,而海康威视的摄像头却不能. 问题原因 其他的摄像头,网页登录用的用户名和密码与onvif鉴权用的用户 ...

  4. Froyo(Android2.2)移植到Mips平台经验总结

    经过以前已经移植Eclair(Android2.1)移植到MIPS平台的 经验(请参考我博客中的相关文章),移植Froyo相比移植Eclair简单多了.在此把移植Froyo的一些经验在本文做一个总结, ...

  5. OpenHarmony适配移植:X86、ARM、RISC-V、MIPS、LoongArch芯片架构简析

    前言 基于OpenHarmony的开发相关工作,特别适配移植.设备开发这块,芯片的基础构架知识,是最初的学习起点.本文我们整理了几种常见的芯片构架的基础知识. 一.整体分析 序号 架构 特点 运营机构 ...

  6. 在openwrt(mips架构上)移植libusb库

    背景 有个项目,需要在openwrt的linux系统中使用libusb与挂载的一颗芯片进行USB通信,我要尝试在应用层通过libusb与外挂芯片进行USB通信. 调研 网上刚开始检索时,有网友说ope ...

  7. 详解qtopia4.4.3移植到mips处理器以及相关问题总结

    最近公司做一个linux手机项目,需要做一个图形界面程序,移植qtopia,其中遇到一些难题也折腾了1个多星期,总算是弄好了,这里总结一下.分为以下几部分: 1 编译运行x86版本的qtopia 2 ...

  8. java的移植性_详细介绍JAVA的可移植性

    软件可移植性指与软件从某一环境转移到另一环境下的难易程度.为获得较高的可移植性,在设计过程中常采用通用的程序设计语言和运行支撑环境.尽量不用与系统的底层相关性强的语言.下面介绍JAVA的可移植性. 1 ...

  9. NDK/JNI demo ( 五 ) ORB_SLAM2在Android上的移植过程

    Android平台搭建和NDK环境配置 Android移植基础 NDK是集成的Android中调用C++代码的工具包,核心是JNI(Java Native Interface)技术,具体这里略过不表. ...

  10. gtk移植到嵌入式_入行嵌入式研发10多年,一位工程师悟出了这些道理

    嵌入式行业需要什么样的技术人才? 仔细观察各种招聘的岗位要求吧,无非是两方面. (1)通用要求 比如什么学历,多少年工作经验,有创新精神,抗压能力强,吃苦耐劳,善于沟通,态度认真等等等等... (2) ...

最新文章

  1. 三星oneui主屏幕费电_都 9012 年了,三星系统还「负优化」吗?
  2. ubuntu首次给root用户设置密码和root用户登录设置
  3. angularjsl路由_AngularJS路由和模板
  4. Java核心类库篇5——异常
  5. WinForm中WebBrowser的使用
  6. 内存管理单元MMU简介
  7. 并行算法设计与性能优化_MySQL高性能优化规范建议,从设计,命名,开发等一条线的建议...
  8. mysql中group_concat函数_MySQL中group_concat函数
  9. apk与android系统签名
  10. KTHREAD 线程调度 SDT TEB SEH shellcode中DLL模块机制动态获取 《寒江独钓》内核学习笔记(5)...
  11. 如何写一个NB的商业计划书
  12. 十分钟智商运动 李永乐 第2章 奇妙的物理
  13. 航空三字代码表_航空运输三字代码表
  14. DSP2812 RAM不够用的解决方法【转载】
  15. 天创速盈:拼多多新店什么时候适合直通车?
  16. java验证码短信发送_java发送短信验证码
  17. HTML5+CSS3制作透视正方体
  18. POJO 与javaBean(普通bean和EJB)
  19. 20200428|为了完成“使用ARCGIS绘制山东省行政区划图”实验而做的事情——从安装到成图
  20. 小米4Linux刷机包,小米4官方固件rom系统刷机包下载_小米4原版系统升级包

热门文章

  1. 远程会诊系统加持,长三角(上海)智慧互联网医院有多智慧?
  2. 深入浅出、通俗易懂的讲解CAN bus
  3. mame 最新版本以及fba 编译
  4. MICROSOFT REPORTVIEWER(微软报表)项目中的应用
  5. Linux性能优化(五)——性能监控工具
  6. JS打开新页面的两种方式:当前页面打开和新页面打开
  7. openpyxl使用教程
  8. A.B.C类地址的私有地址、局域网地址、保留地址
  9. 电脑一键装机软件哪个好 目前干净的一键重装系统软件推荐
  10. CentOS7.5.1804 Minimal 静默安装oracle 12c R1企业版