当前位置: 技术问答>linux和unix
这个库编不过可能是什么原因呢?
来源: 互联网 发布时间:2016-07-15
本文导语: 使用交叉编译时configure不过,是否是因为没有找到gnu libc这个库呢? 小弟没分,大家帮帮忙吧:( [root@IPTV flickcurl-1.14]# ./configure --host=arm-hismall-linux --prefix=/home configure: WARNING: If you wanted to set the --build type, ...
使用交叉编译时configure不过,是否是因为没有找到gnu libc这个库呢?
小弟没分,大家帮帮忙吧:(
[root@IPTV flickcurl-1.14]# ./configure --host=arm-hismall-linux --prefix=/home
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 for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-hismall-linux-strip... arm-hismall-linux-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-hismall-linux-strip... (cached) arm-hismall-linux-strip
checking for style of include used by make... GNU
checking for arm-hismall-linux-gcc... arm-hismall-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-hismall-linux-gcc accepts -g... yes
checking for arm-hismall-linux-gcc option to accept ISO C89... none needed
checking dependency style of arm-hismall-linux-gcc... gcc3
checking dependency style of arm-hismall-linux-gcc... (cached) gcc3
checking whether arm-hismall-linux-gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... arm-hismall-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-hismall-linux-gcc... /opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/arm-hisi-linux/bin/ld
checking if the linker (/opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/arm-hisi-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/usr/bin/arm-hismall-linux-nm -B
checking the name lister (/opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/usr/bin/arm-hismall-linux-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/arm-hisi-linux/bin/ld option to reload object files... -r
checking for arm-hismall-linux-objdump... arm-hismall-linux-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-hismall-linux-ar... arm-hismall-linux-ar
checking for arm-hismall-linux-strip... (cached) arm-hismall-linux-strip
checking for arm-hismall-linux-ranlib... arm-hismall-linux-ranlib
checking command to parse /opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/usr/bin/arm-hismall-linux-nm -B output from arm-hismall-linux-gcc object... ok
checking how to run the C preprocessor... arm-hismall-linux-gcc -E
checking for ANSI C header files... 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 for dlfcn.h... yes
checking for objdir... .libs
checking if arm-hismall-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-hismall-linux-gcc option to produce PIC... -fPIC -DPIC
checking if arm-hismall-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-hismall-linux-gcc static flag -static works... yes
checking if arm-hismall-linux-gcc supports -c -o file.o... yes
checking if arm-hismall-linux-gcc supports -c -o file.o... (cached) yes
checking whether the arm-hismall-linux-gcc linker (/opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/arm-hisi-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether byte ordering is bigendian... no
checking for u32... no
checking size of unsigned int... 4
checking size of unsigned long... 4
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getopt... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for memset... yes
checking for strdup... yes
checking for usleep... yes
checking for vsnprintf... yes
checking for library containing nanosleep... none required
checking whether need to declare optind... no
checking vsnprintf has C99 compatible return value... configure: error: in `/home/wqyang/flickcurl-1.14':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
小弟没分,大家帮帮忙吧:(
[root@IPTV flickcurl-1.14]# ./configure --host=arm-hismall-linux --prefix=/home
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 for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-hismall-linux-strip... arm-hismall-linux-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-hismall-linux-strip... (cached) arm-hismall-linux-strip
checking for style of include used by make... GNU
checking for arm-hismall-linux-gcc... arm-hismall-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-hismall-linux-gcc accepts -g... yes
checking for arm-hismall-linux-gcc option to accept ISO C89... none needed
checking dependency style of arm-hismall-linux-gcc... gcc3
checking dependency style of arm-hismall-linux-gcc... (cached) gcc3
checking whether arm-hismall-linux-gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... arm-hismall-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-hismall-linux-gcc... /opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/arm-hisi-linux/bin/ld
checking if the linker (/opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/arm-hisi-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/usr/bin/arm-hismall-linux-nm -B
checking the name lister (/opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/usr/bin/arm-hismall-linux-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/arm-hisi-linux/bin/ld option to reload object files... -r
checking for arm-hismall-linux-objdump... arm-hismall-linux-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-hismall-linux-ar... arm-hismall-linux-ar
checking for arm-hismall-linux-strip... (cached) arm-hismall-linux-strip
checking for arm-hismall-linux-ranlib... arm-hismall-linux-ranlib
checking command to parse /opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/usr/bin/arm-hismall-linux-nm -B output from arm-hismall-linux-gcc object... ok
checking how to run the C preprocessor... arm-hismall-linux-gcc -E
checking for ANSI C header files... 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 for dlfcn.h... yes
checking for objdir... .libs
checking if arm-hismall-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-hismall-linux-gcc option to produce PIC... -fPIC -DPIC
checking if arm-hismall-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-hismall-linux-gcc static flag -static works... yes
checking if arm-hismall-linux-gcc supports -c -o file.o... yes
checking if arm-hismall-linux-gcc supports -c -o file.o... (cached) yes
checking whether the arm-hismall-linux-gcc linker (/opt/hisi-linux/x86-arm/gcc-3.4.3-uClibc-0.9.28/arm-hisi-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether byte ordering is bigendian... no
checking for u32... no
checking size of unsigned int... 4
checking size of unsigned long... 4
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getopt... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for memset... yes
checking for strdup... yes
checking for usleep... yes
checking for vsnprintf... yes
checking for library containing nanosleep... none required
checking whether need to declare optind... no
checking vsnprintf has C99 compatible return value... configure: error: in `/home/wqyang/flickcurl-1.14':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
|
config.log这个里面写什么了