微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > ARM技术讨论 > 关于交叉编译udev的问题。

关于交叉编译udev的问题。

时间:10-02 整理:3721RD 点击:
你好!
         我现在在用TI的cortex-a8,用的工具链是 :arm-linux-gnueabihf-gcc (版本是V4.9的,最新)。
         udev的源码是V1.82的。
         ./configure --host=arm-linux-gnueabihf
          提示:
          configure: error: Package requirements (blkid >= 2.20) were not met:
No package 'blkid' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BLKID_CFLAGS
and BLKID_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

        下面是config.log的内容:
   This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by udev configure 182, which was
generated by GNU Autoconf 2.68.  Invocation command line was
  $ ./configure --host=arm-linux-gnueabihf
## --------- ##
## Platform. ##
## --------- ##
hostname = vincent-ThinkPad-X60
uname -m = i686
uname -r = 3.2.0-88-generic-pae
uname -s = Linux
uname -v = #126-Ubuntu SMP Mon Jul 6 21:47:47 UTC 2015
/usr/bin/uname -p = unknown
/bin/uname -X     = unknown
/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
PATH: /usr/lib/lightdm/lightdm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin

## ----------- ##
## Core tests. ##
## ----------- ##
configure:2384: checking for a BSD-compatible install
configure:2452: result: /usr/bin/install -c
configure:2463: checking whether build environment is sane
configure:2513: result: yes
configure:2562: checking for arm-linux-gnueabihf-strip
configure:2578: found /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-strip
configure:2589: result: arm-linux-gnueabihf-strip
configure:2654: checking for a thread-safe mkdir -p
configure:2693: result: /bin/mkdir -p
configure:2706: checking for gawk
configure:2736: result: no
configure:2706: checking for mawk
configure:2722: found /usr/bin/mawk
configure:2733: result: mawk
configure:2744: checking whether make sets $(MAKE)
configure:2766: result: yes
configure:2795: checking whether make supports nested variables
configure:2812: result: yes
configure:2880: checking how to create a pax tar archive
configure:2893: tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
configure:2896: $? = 0
configure:2936: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
configure:2939: $? = 0
configure:2943: tar -xf - <conftest.tar
configure:2946: $? = 0
configure:2959: result: gnutar
configure:2978: checking for style of include used by make
configure:3006: result: GNU
configure:3037: checking for arm-linux-gnueabihf-gcc
configure:3053: found /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-gcc
configure:3064: result: arm-linux-gnueabihf-gcc
configure:3333: checking for C compiler version
configure:3342: arm-linux-gnueabihf-gcc --version >&5
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.9-2014.07 - Linaro GCC 4.9-2014.07) 4.9.1 20140710 (prerelease)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3353: $? = 0
configure:3342: arm-linux-gnueabihf-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/../libexec/gcc/arm-linux-gnueabihf/4.9.1/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: /cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/src/gcc-linaro-4.9-2014.07/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=arm-linux-gnueabihf --prefix=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/install --with-sysroot=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/install/arm-linux-gnueabihf/libc --enable-languages=c,c++,fortran --disable-multilib --enable-multiarch --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=vfpv3-d16 --with-float=hard --with-pkgversion='crosstool-NG linaro-1.13.1-4.9-2014.07 - Linaro GCC 4.9-2014.07' --with-bugurl=https://bugs.launchpad.net/gcc-linaro --enable-__cxa_atexit --enable-libmudflap --enable-libgomp --enable-libssp --with-gmp=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/arm-linux-gnueabihf/build/static --with-mpfr=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/arm-linux-gnueabihf/build/static --with-mpc=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/arm-linux-gnueabihf/build/static --with-isl=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/arm-linux-gnueabihf/build/static --with-cloog=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/arm-linux-gnueabihf/build/static --with-libelf=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/arm-linux-gnueabihf/build/static --enable-threads=posix --disable-libstdcxx-pch --enable-linker-build-id --enable-plugin --enable-gold --with-local-prefix=/cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/install/arm-linux-gnueabihf/libc --enable-c99 --enable-long-long --with-mode=thumb --disable-multilib --with-float=hard
Thread model: posix
gcc version 4.9.1 20140710 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.07 - Linaro GCC 4.9-2014.07)
configure:3353: $? = 0
configure:3342: arm-linux-gnueabihf-gcc -V >&5
arm-linux-gnueabihf-gcc: error: unrecognized command line option '-V'
arm-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:3353: $? = 1
configure:3342: arm-linux-gnueabihf-gcc -qversion >&5
arm-linux-gnueabihf-gcc: error: unrecognized command line option '-qversion'
arm-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:3353: $? = 1
configure:3373: checking whether the C compiler works
configure:3395: arm-linux-gnueabihf-gcc    conftest.c  >&5
configure:3399: $? = 0
configure:3447: result: yes
configure:3450: checking for C compiler default output file name
configure:3452: result: a.out
configure:3458: checking for suffix of executables
configure:3465: arm-linux-gnueabihf-gcc -o conftest    conftest.c  >&5
configure:3469: $? = 0
configure:3491: result:
configure:3513: checking whether we are cross compiling
configure:3521: arm-linux-gnueabihf-gcc -o conftest    conftest.c  >&5
configure:3525: $? = 0
configure:3532: ./conftest
./configure: line 3534: ./conftest: cannot execute binary file
configure:3536: $? = 126
configure:3551: result: yes
configure:3556: checking for suffix of object files
configure:3578: arm-linux-gnueabihf-gcc -c   conftest.c >&5
configure:3582: $? = 0
configure:3603: result: o
configure:3607: checking whether we are using the GNU C compiler
configure:3626: arm-linux-gnueabihf-gcc -c   conftest.c >&5
configure:3626: $? = 0
configure:3635: result: yes
configure:3644: checking whether arm-linux-gnueabihf-gcc accepts -g
configure:3664: arm-linux-gnueabihf-gcc -c -g  conftest.c >&5
configure:3664: $? = 0
configure:3705: result: yes
configure:3722: checking for arm-linux-gnueabihf-gcc option to accept ISO C89
configure:3786: arm-linux-gnueabihf-gcc  -c -g -O2  conftest.c >&5
configure:3786: $? = 0
configure:3799: result: none needed
configure:3821: checking dependency style of arm-linux-gnueabihf-gcc
configure:3932: result: gcc3
configure:3953: checking how to run the C preprocessor
configure:3984: arm-linux-gnueabihf-gcc -E  conftest.c
configure:3984: $? = 0
configure:3998: arm-linux-gnueabihf-gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:3998: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "udev"
| #define PACKAGE_TARNAME "udev"
| #define PACKAGE_VERSION "182"
| #define PACKAGE_STRING "udev 182"
| #define PACKAGE_BUGREPORT "linux-hotplug@vger.kernel.org"
| #define PACKAGE_URL "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
| #define PACKAGE "udev"
| #define VERSION "182"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4023: result: arm-linux-gnueabihf-gcc -E
configure:4043: arm-linux-gnueabihf-gcc -E  conftest.c
configure:4043: $? = 0
configure:4057: arm-linux-gnueabihf-gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4057: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "udev"
| #define PACKAGE_TARNAME "udev"
| #define PACKAGE_VERSION "182"
| #define PACKAGE_STRING "udev 182"
| #define PACKAGE_BUGREPORT "linux-hotplug@vger.kernel.org"
| #define PACKAGE_URL "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
| #define PACKAGE "udev"
| #define VERSION "182"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4086: checking for grep that handles long lines and -e
configure:4144: result: /bin/grep
configure:4149: checking for egrep
configure:4211: result: /bin/grep -E
configure:4216: checking for ANSI C header files
configure:4236: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4236: $? = 0
configure:4320: result: yes
configure:4333: checking for sys/types.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4333: checking for sys/stat.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4333: checking for stdlib.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4333: checking for string.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4333: checking for memory.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4333: checking for strings.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4333: checking for inttypes.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4333: checking for stdint.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4333: checking for unistd.h
configure:4333: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4333: $? = 0
configure:4333: result: yes
configure:4346: checking minix/config.h usability
configure:4346: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
#include <minix/config.h>
                          ^
compilation terminated.
configure:4346: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "udev"
| #define PACKAGE_TARNAME "udev"
| #define PACKAGE_VERSION "182"
| #define PACKAGE_STRING "udev 182"
| #define PACKAGE_BUGREPORT "linux-hotplug@vger.kernel.org"
| #define PACKAGE_URL "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
| #define PACKAGE "udev"
| #define VERSION "182"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4346: result: no
configure:4346: checking minix/config.h presence
configure:4346: arm-linux-gnueabihf-gcc -E  conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
#include <minix/config.h>
                          ^
compilation terminated.
configure:4346: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "udev"
| #define PACKAGE_TARNAME "udev"
| #define PACKAGE_VERSION "182"
| #define PACKAGE_STRING "udev 182"
| #define PACKAGE_BUGREPORT "linux-hotplug@vger.kernel.org"
| #define PACKAGE_URL "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
| #define PACKAGE "udev"
| #define VERSION "182"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:4346: result: no
configure:4346: checking for minix/config.h
configure:4346: result: no
configure:4367: checking whether it is safe to define __EXTENSIONS__
configure:4385: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4385: $? = 0
configure:4392: result: yes
configure:4413: checking for special C compiler options needed for large files
configure:4458: result: no
configure:4464: checking for _FILE_OFFSET_BITS value needed for large files
configure:4489: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
conftest.c:32:3: warning: left shift count >= width of type
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   ^
conftest.c:32:3: warning: left shift count >= width of type
conftest.c:33:10: warning: left shift count >= width of type
          && LARGE_OFF_T % 2147483647 == 1)
          ^
conftest.c:33:10: warning: left shift count >= width of type
conftest.c:32:7: error: variably modified 'off_t_is_large' at file scope
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
       ^
configure:4489: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "udev"
| #define PACKAGE_TARNAME "udev"
| #define PACKAGE_VERSION "182"
| #define PACKAGE_STRING "udev 182"
| #define PACKAGE_BUGREPORT "linux-hotplug@vger.kernel.org"
| #define PACKAGE_URL "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
| #define PACKAGE "udev"
| #define VERSION "182"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|  /* Check that off_t can represent 2**63 - 1 correctly.
|     We can't simply define LARGE_OFF_T to be 9223372036854775807,
|     since some C++ compilers masquerading as C compilers
|     incorrectly reject 9223372036854775807.  */
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|                && LARGE_OFF_T % 2147483647 == 1)
|               ? 1 : -1];
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4513: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:4513: $? = 0
configure:4521: result: 64
configure:4616: checking whether make supports nested variables
configure:4633: result: yes
configure:4673: checking build system type
configure:4687: result: i686-pc-linux-gnu
configure:4707: checking host system type
configure:4720: result: arm-unknown-linux-gnueabihf
configure:4761: checking how to print strings
configure:4788: result: printf
configure:4809: checking for a sed that does not truncate output
configure:4873: result: /bin/sed
configure:4891: checking for fgrep
configure:4953: result: /bin/grep -F
configure:4988: checking for ld used by arm-linux-gnueabihf-gcc
configure:5055: result: /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/arm-linux-gnueabihf/bin/ld
configure:5062: checking if the linker (/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/arm-linux-gnueabihf/bin/ld) is GNU ld
configure:5077: result: yes
configure:5089: checking for BSD- or MS-compatible name lister (nm)
configure:5138: result: /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-nm -B
configure:5268: checking the name lister (/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-nm -B) interface
configure:5275: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:5278: /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-nm -B "conftest.o"
configure:5281: output
00000000 B some_variable
configure:5288: result: BSD nm
configure:5291: checking whether ln -s works
configure:5295: result: yes
configure:5303: checking the maximum length of command line arguments
configure:5433: result: 1572864
configure:5450: checking whether the shell understands some XSI constructs
configure:5460: result: yes
configure:5464: checking whether the shell understands "+="
configure:5470: result: yes
configure:5505: checking how to convert i686-pc-linux-gnu file names to arm-unknown-linux-gnueabihf format
configure:5545: result: func_convert_file_noop
configure:5552: checking how to convert i686-pc-linux-gnu file names to toolchain format
configure:5572: result: func_convert_file_noop
configure:5579: checking for /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/arm-linux-gnueabihf/bin/ld option to reload object files
configure:5586: result: -r
configure:5620: checking for arm-linux-gnueabihf-objdump
configure:5636: found /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-objdump
configure:5647: result: arm-linux-gnueabihf-objdump
configure:5719: checking how to recognize dependent libraries
configure:5921: result: pass_all
configure:5966: checking for arm-linux-gnueabihf-dlltool
configure:5996: result: no
configure:6006: checking for dlltool
configure:6036: result: no
configure:6066: checking how to associate runtime and link libraries
configure:6093: result: printf %s\n
configure:6109: checking for arm-linux-gnueabihf-ar
configure:6125: found /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-ar
configure:6136: result: arm-linux-gnueabihf-ar
configure:6217: checking for archiver @file support
configure:6234: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:6234: $? = 0
configure:6237: arm-linux-gnueabihf-ar cru libconftest.a @conftest.lst >&5
configure:6240: $? = 0
configure:6245: arm-linux-gnueabihf-ar cru libconftest.a @conftest.lst >&5
arm-linux-gnueabihf-ar: conftest.o: No such file or directory
configure:6248: $? = 1
configure:6260: result: @
configure:6278: checking for arm-linux-gnueabihf-strip
configure:6305: result: arm-linux-gnueabihf-strip
configure:6377: checking for arm-linux-gnueabihf-ranlib
configure:6393: found /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-ranlib
configure:6404: result: arm-linux-gnueabihf-ranlib
configure:6546: checking command to parse /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-nm -B output from arm-linux-gnueabihf-gcc object
configure:6666: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:6669: $? = 0
configure:6673: /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6676: $? = 0
configure:6742: arm-linux-gnueabihf-gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:6745: $? = 0
configure:6783: result: ok
configure:6820: checking for sysroot
configure:6850: result: no
configure:7066: checking for arm-linux-gnueabihf-mt
configure:7096: result: no
configure:7106: checking for mt
configure:7122: found /bin/mt
configure:7133: result: mt
configure:7145: WARNING: using cross tools not prefixed with host triplet
configure:7156: checking if mt is a manifest tool
configure:7162: mt '-?'
configure:7170: result: no
configure:7809: checking for dlfcn.h
configure:7809: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:7809: $? = 0
configure:7809: result: yes
configure:8014: checking for objdir
configure:8029: result: .libs
configure:8300: checking if arm-linux-gnueabihf-gcc supports -fno-rtti -fno-exceptions
configure:8318: arm-linux-gnueabihf-gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:8322: $? = 0
configure:8335: result: no
configure:8662: checking for arm-linux-gnueabihf-gcc option to produce PIC
configure:8669: result: -fPIC -DPIC
configure:8677: checking if arm-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works
configure:8695: arm-linux-gnueabihf-gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:8699: $? = 0
configure:8712: result: yes
configure:8741: checking if arm-linux-gnueabihf-gcc static flag -static works
configure:8769: result: yes
configure:8784: checking if arm-linux-gnueabihf-gcc supports -c -o file.o
configure:8805: arm-linux-gnueabihf-gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:8809: $? = 0
configure:8831: result: yes
configure:8839: checking if arm-linux-gnueabihf-gcc supports -c -o file.o
configure:8886: result: yes
configure:8919: checking whether the arm-linux-gnueabihf-gcc linker (/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/arm-linux-gnueabihf/bin/ld) supports shared libraries
configure:10072: result: yes
configure:10109: checking whether -lc should be explicitly linked in
configure:10117: arm-linux-gnueabihf-gcc -c -g -O2  conftest.c >&5
configure:10120: $? = 0
configure:10135: arm-linux-gnueabihf-gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:10138: $? = 0
configure:10152: result: no
configure:10312: checking dynamic linker characteristics
configure:10823: arm-linux-gnueabihf-gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:10823: $? = 0
configure:11049: result: GNU/Linux ld.so
configure:11156: checking how to hardcode library paths into programs
configure:11181: result: immediate
configure:11721: checking whether stripping libraries is possible
configure:11726: result: yes
configure:11761: checking if libtool supports shared libraries
configure:11763: result: yes
configure:11766: checking whether to build shared libraries
configure:11787: result: yes
configure:11790: checking whether to build static libraries
configure:11794: result: no
configure:11835: checking for gawk
configure:11862: result: mawk
configure:11873: checking for a sed that does not truncate output
configure:11937: result: /bin/sed
configure:11953: checking for arm-linux-gnueabihf-pkg-config
configure:11971: found /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-pkg-config
configure:11983: result: /home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-pkg-config
configure:12051: checking pkg-config is at least version 0.9.0
configure:12054: result: yes
configure:12067: checking for gtkdoc-check
configure:12100: result: no
configure:12109: checking for gtkdoc-rebase
configure:12142: result: no
configure:12153: checking for gtkdoc-mkpdf
configure:12186: result: no
configure:12317: checking whether to build gtk-doc documentation
configure:12319: result: no
configure:12387: checking for xsltproc
configure:12420: result: no
configure:12434: checking for library containing clock_gettime
configure:12465: arm-linux-gnueabihf-gcc -o conftest -g -O2   conftest.c  >&5
configure:12465: $? = 0
configure:12482: result: none required
configure:12495: checking for BLKID
configure:12502: $PKG_CONFIG --exists --print-errors "blkid >= 2.20"
Package blkid was not found in the pkg-config search path.
Perhaps you should add the directory containing `blkid.pc'
to the PKG_CONFIG_PATH environment variable
No package 'blkid' found
configure:12505: $? = 1
configure:12518: $PKG_CONFIG --exists --print-errors "blkid >= 2.20"
Package blkid was not found in the pkg-config search path.
Perhaps you should add the directory containing `blkid.pc'
to the PKG_CONFIG_PATH environment variable
No package 'blkid' found
configure:12521: $? = 1
configure:12534: result: no
No package 'blkid' found
configure:12550: error: Package requirements (blkid >= 2.20) were not met:
No package 'blkid' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BLKID_CFLAGS
and BLKID_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_BLKID_CFLAGS_set=
ac_cv_env_BLKID_CFLAGS_value=
ac_cv_env_BLKID_LIBS_set=
ac_cv_env_BLKID_LIBS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_GTKDOC_DEPS_CFLAGS_set=
ac_cv_env_GTKDOC_DEPS_CFLAGS_value=
ac_cv_env_GTKDOC_DEPS_LIBS_set=
ac_cv_env_GTKDOC_DEPS_LIBS_value=
ac_cv_env_INTROSPECTION_CFLAGS_set=
ac_cv_env_INTROSPECTION_CFLAGS_value=
ac_cv_env_INTROSPECTION_LIBS_set=
ac_cv_env_INTROSPECTION_LIBS_value=
ac_cv_env_KMOD_CFLAGS_set=
ac_cv_env_KMOD_CFLAGS_value=
ac_cv_env_KMOD_LIBS_set=
ac_cv_env_KMOD_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_USBUTILS_CFLAGS_set=
ac_cv_env_USBUTILS_CFLAGS_value=
ac_cv_env_USBUTILS_LIBS_set=
ac_cv_env_USBUTILS_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-gnueabihf
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=arm-unknown-linux-gnueabihf
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_PKG_CONFIG=/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-pkg-config
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AR=arm-linux-gnueabihf-ar
ac_cv_prog_AWK=mawk
ac_cv_prog_CC=arm-linux-gnueabihf-gcc
ac_cv_prog_CPP='arm-linux-gnueabihf-gcc -E'
ac_cv_prog_OBJDUMP=arm-linux-gnueabihf-objdump
ac_cv_prog_RANLIB=arm-linux-gnueabihf-ranlib
ac_cv_prog_STRIP=arm-linux-gnueabihf-strip
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_clock_gettime='none required'
ac_cv_sys_file_offset_bits=64
ac_cv_sys_largefile_CC=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_pax=gnutar
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/arm-linux-gnueabihf/bin/ld
lt_cv_path_NM='/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][     ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/vincent/udev-182/build-aux/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='arm-linux-gnueabihf-ar'
AUTOCONF='${SHELL} /home/vincent/udev-182/build-aux/missing --run autoconf'
AUTOHEADER='${SHELL} /home/vincent/udev-182/build-aux/missing --run autoheader'
AUTOMAKE='${SHELL} /home/vincent/udev-182/build-aux/missing --run automake-1.11'
AWK='mawk'
BLKID_CFLAGS=''
BLKID_LIBS=''
CC='arm-linux-gnueabihf-gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='arm-linux-gnueabihf-gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_FLOPPY_FALSE=''
ENABLE_FLOPPY_TRUE=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE='#'
ENABLE_GUDEV_FALSE=''
ENABLE_GUDEV_TRUE=''
ENABLE_INTROSPECTION_FALSE=''
ENABLE_INTROSPECTION_TRUE=''
ENABLE_KEYMAP_FALSE=''
ENABLE_KEYMAP_TRUE=''
ENABLE_MANPAGES_FALSE=''
ENABLE_MANPAGES_TRUE=''
ENABLE_MTD_PROBE_FALSE=''
ENABLE_MTD_PROBE_TRUE=''
ENABLE_RULE_GENERATOR_FALSE=''
ENABLE_RULE_GENERATOR_TRUE=''
EXEEXT=''
FGREP='/bin/grep -F'
FIRMWARE_PATH=''
GIRDIR=''
GIRTYPELIBDIR=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GPERF=''
GREP='/bin/grep'
GTKDOC_CHECK=''
GTKDOC_DEPS_CFLAGS=''
GTKDOC_DEPS_LIBS=''
GTKDOC_MKPDF=''
GTKDOC_REBASE='true'
GTK_DOC_BUILD_HTML_FALSE='#'
GTK_DOC_BUILD_HTML_TRUE=''
GTK_DOC_BUILD_PDF_FALSE=''
GTK_DOC_BUILD_PDF_TRUE='#'
GTK_DOC_USE_LIBTOOL_FALSE='#'
GTK_DOC_USE_LIBTOOL_TRUE=''
GTK_DOC_USE_REBASE_FALSE='#'
GTK_DOC_USE_REBASE_TRUE=''
G_IR_COMPILER=''
G_IR_GENERATE=''
G_IR_SCANNER=''
HAVE_XSLTPROC_FALSE=''
HAVE_XSLTPROC_TRUE='#'
HTML_DIR='${datadir}/gtk-doc/html'
INCLUDE_PREFIX=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTROSPECTION_CFLAGS=''
INTROSPECTION_LIBS=''
KMOD_CFLAGS=''
KMOD_LIBS=''
LD='/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/arm-linux-gnueabihf/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/vincent/udev-182/build-aux/missing --run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-nm -B'
NMEDIT=''
OBJDUMP='arm-linux-gnueabihf-objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='udev'
PACKAGE_BUGREPORT='linux-hotplug@vger.kernel.org'
PACKAGE_NAME='udev'
PACKAGE_STRING='udev 182'
PACKAGE_TARNAME='udev'
PACKAGE_URL='http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html'
PACKAGE_VERSION='182'
PATH_SEPARATOR=':'
PCI_DATABASE=''
PKG_CONFIG='/home/vincent/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin/arm-linux-gnueabihf-pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='arm-linux-gnueabihf-ranlib'
SED='/bin/sed'
SELINUX_LIBS=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-linux-gnueabihf-strip'
USBUTILS_CFLAGS=''
USBUTILS_LIBS=''
USB_DATABASE=''
VERSION='182'
WITH_SELINUX_FALSE=''
WITH_SELINUX_TRUE=''
WITH_SYSTEMD_FALSE=''
WITH_SYSTEMD_TRUE=''
XSLTPROC=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=posix -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-unknown-linux-gnueabihf'
host_alias='arm-linux-gnueabihf'
host_cpu='arm'
host_os='linux-gnueabihf'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/vincent/udev-182/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
my_CFLAGS=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
rootlib_execdir=''
rootprefix=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
systemdsystemunitdir=''
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "udev"
#define PACKAGE_TARNAME "udev"
#define PACKAGE_VERSION "182"
#define PACKAGE_STRING "udev 182"
#define PACKAGE_BUGREPORT "linux-hotplug@vger.kernel.org"
#define PACKAGE_URL "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
#define PACKAGE "udev"
#define VERSION "182"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
configure: exit 1
不知道是什么原因,这个问题困扰很久了,哪位老大能指点下,谢谢了。
         

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top