步骤
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 移植分享到此就结束了,感谢您的阅读。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/5218.html