in 1.3 M3 RC2 ,using meta-toolchain from : http://autobuilder.yoctoproject.org/pub/nightly/20120712-1/toolchain/ iptables 1.4.13 configure fail after below steps: 1. extract "iptables-1.4.13.tar.bz2" and set build env with command "source /opt/poky/1.2+snapshot/environment-setup-i586-poky-linux" for example. 2. in "iptables-1.4.13" extracted dir ,run "configure ${CONFIGURE_FLAGS}". 3. in "iptables-1.4.13" extracted dir ,run "autoreconf -fi". 4. in "iptables-1.4.13" extracted dir ,rerun "configure ${CONFIGURE_FLAGS}". error met below: configure: WARNING: unrecognized options: --with-libtool-sysroot configure: loading site script /opt/poky/1.2+snapshot/site-config-i586-poky-linux checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i586-poky-linux-strip... i586-poky-linux-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i586-poky-linux-gcc... i586-poky-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 i586-poky-linux-gcc accepts -g... yes checking for i586-poky-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-poky-linux-gcc... gcc3 checking whether i586-poky-linux-gcc and cc understand -c and -o together... yes checking build system type... x86_64-pc-linux-gnu checking host system type... i586-poky-linux-gnu checking how to print strings... printf 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 i586-poky-linux-gcc... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld checking if the linker (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B checking the name lister (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to i586-poky-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld option to reload object files... -r checking for i586-poky-linux-objdump... i586-poky-linux-objdump checking how to recognize dependent libraries... pass_all checking for i586-poky-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-poky-linux-ar... i586-poky-linux-ar checking for archiver @FILE support... @ checking for i586-poky-linux-strip... (cached) i586-poky-linux-strip checking for i586-poky-linux-ranlib... i586-poky-linux-ranlib checking command to parse /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B output from i586-poky-linux-gcc object... ok checking for sysroot... no checking for i586-poky-linux-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... i586-poky-linux-gcc -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if i586-poky-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-poky-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-poky-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-poky-linux-gcc static flag -static works... no checking if i586-poky-linux-gcc supports -c -o file.o... yes checking if i586-poky-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-poky-linux-gcc linker (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/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... no checking whether the linker accepts -Wl,--no-as-needed... yes checking whether /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld knows -Wl,--no-undefined... yes checking linux/dccp.h usability... yes checking linux/dccp.h presence... yes checking for linux/dccp.h... yes checking linux/ip_vs.h usability... yes checking linux/ip_vs.h presence... yes checking for linux/ip_vs.h... yes checking linux/magic.h usability... yes checking linux/magic.h presence... yes checking for linux/magic.h... yes checking linux/proc_fs.h usability... no checking linux/proc_fs.h presence... no checking for linux/proc_fs.h... no checking size of struct ip6_hdr... 40 checking for i586-poky-linux-pkg-config... no checking for pkg-config... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libnfnetlink... no configure: creating ./config.status config.status: creating Makefile config.status: creating extensions/GNUmakefile config.status: creating include/Makefile config.status: creating iptables/Makefile config.status: creating iptables/xtables.pc config.status: creating libipq/Makefile config.status: creating libipq/libipq.pc config.status: creating libiptc/Makefile config.status: creating libiptc/libiptc.pc config.status: creating libiptc/libip4tc.pc config.status: creating libiptc/libip6tc.pc config.status: creating libxtables/Makefile config.status: creating utils/Makefile config.status: creating include/xtables.h config.status: creating include/iptables/internal.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --with-libtool-sysroot liangli@liangli-OptiPlex-745:~/new_package_need_to_compile/iptables_test/iptables-1.4.13$ autoreconf -fi libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize: copying file `build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' liangli@liangli-OptiPlex-745:~/new_package_need_to_compile/iptables_test/iptables-1.4.13$ ./configure ${CONFIGURE_FLAGS} configure: loading site script /opt/poky/1.2+snapshot/site-config-i586-poky-linux checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i586-poky-linux-strip... i586-poky-linux-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i586-poky-linux-gcc... i586-poky-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 i586-poky-linux-gcc accepts -g... yes checking for i586-poky-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-poky-linux-gcc... gcc3 checking whether i586-poky-linux-gcc and cc understand -c and -o together... yes checking build system type... x86_64-pc-linux-gnu checking host system type... i586-poky-linux-gnu checking how to print strings... printf 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 i586-poky-linux-gcc... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld checking if the linker (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B checking the name lister (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to i586-poky-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld option to reload object files... -r checking for i586-poky-linux-objdump... i586-poky-linux-objdump checking how to recognize dependent libraries... pass_all checking for i586-poky-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-poky-linux-ar... i586-poky-linux-ar checking for archiver @FILE support... @ checking for i586-poky-linux-strip... (cached) i586-poky-linux-strip checking for i586-poky-linux-ranlib... i586-poky-linux-ranlib checking command to parse /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B output from i586-poky-linux-gcc object... ok checking for sysroot... /opt/poky/1.2+snapshot/sysroots/i586-poky-linux checking for i586-poky-linux-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... i586-poky-linux-gcc -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if i586-poky-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-poky-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-poky-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-poky-linux-gcc static flag -static works... no checking if i586-poky-linux-gcc supports -c -o file.o... yes checking if i586-poky-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-poky-linux-gcc linker (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/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... no checking whether the linker accepts -Wl,--no-as-needed... yes checking whether /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld knows -Wl,--no-undefined... yes checking linux/dccp.h usability... yes checking linux/dccp.h presence... yes checking for linux/dccp.h... yes checking linux/ip_vs.h usability... yes checking linux/ip_vs.h presence... yes checking for linux/ip_vs.h... yes checking linux/magic.h usability... yes checking linux/magic.h presence... yes checking for linux/magic.h... yes checking linux/proc_fs.h usability... no checking linux/proc_fs.h presence... no checking for linux/proc_fs.h... no checking size of struct ip6_hdr... 40 ./configure: line 11847: syntax error near unexpected token `libnfnetlink,' ./configure: line 11847: `PKG_CHECK_MODULES(libnfnetlink, libnfnetlink >= 1.0,' --------------------------- line 11847 of file "configure": PKG_CHECK_MODULES(libnfnetlink, libnfnetlink >= 1.0, nfnetlink=1, nfnetlink=0) after remove the lines and rerun "configure ${CONFIGURE_FLAGS}",no error met. the error met in all meta-toolchain tarball from autobuilder. git info: eb0cb7e8234f5d2e5623406e9660be91cf52f65e git branch: poky/master test env: hosts: fedora 17 i686, ubuntu 12.04 x86_64 , opensuse 12.1 x86_64.
why we're seeing this: configure: WARNING: unrecognized options: --with-libtool-sysroot isn't it fixed by 1603 long time ago? Probably the toolchain is not built correctly? Can you use a different toolchain to verify?
(In reply to comment #1) > why we're seeing this: > > configure: WARNING: unrecognized options: --with-libtool-sysroot > > isn't it fixed by 1603 long time ago? Probably the toolchain is not built > correctly? > > Can you use a different toolchain to verify? (In reply to comment #0) > in 1.3 M3 RC2 ,using meta-toolchain from : The error exists in 1.3 M2 RC1 (not 1.3 M3 RC2). in 1.3 M1 RC1 ,no such error: git info:7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0 git branch :poky/master
i met the same issue with liang. there are some regression in 1.3_M2 rc1 in toolchainSDK, like the bug 1908, pkg.m4 is missing in package pkgconfig-nativesdk.
the error still happened on nightly build 20120725-3: http://autobuilder.yoctoproject.org/pub/nightly/20120725-3/toolchain/ git info: 0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c git branch: poky/master
the error still happened on nightly build 20120801-1 two meta-toolchain tarballs: http://autobuilder.pokylinux.org/nightly/20120801-1/toolchain/i686/poky-eglibc-i686-mips-toolchain-gmae-1.2+snapshot-20120801.tar.bz2 http://autobuilder.pokylinux.org/nightly/20120801-1/toolchain/i686/poky-eglibc-i686-powerpc-toolchain-gmae-1.2+snapshot-20120801.tar.bz2 git info:3309cf42d314f0a26079a11836c6b9b9bb5f253e git branch:poky/master
Using iptables-1.4.15 Only the warning configure: WARNING: unrecognized options: --with-libtool-sysroot occurs
Toolchain from http://autobuilder.yoctoproject.org/pub/nightly/20120802-1/toolchain/x86_64/
(In reply to comment #7) > Toolchain from > http://autobuilder.yoctoproject.org/pub/nightly/20120802-1/toolchain/x86_64/ using iptables-1.4.15 and using the tarballs in http://autobuilder.yoctoproject.org/pub/nightly/20120802-1/toolchain/x86_64/,no such error. but the error happened on i686 tarballs: http://autobuilder.yoctoproject.org/pub/nightly/20120802-1/toolchain/i686/poky-eglibc-i686-mips-toolchain-gmae-1.2+snapshot-20120802.tar.bz2 and http://autobuilder.yoctoproject.org/pub/nightly/20120802-1/toolchain/i686/poky-eglibc-i686-arm-toolchain-gmae-1.2+snapshot-20120802.tar.bz2
the error still happened on nightly build 20120810-2 two meta-toolchain: http://autobuilder.pokylinux.org/nightly/20120810-2/toolchain/i686/poky-eglibc-i686-powerpc-toolchain-gmae-1.2+snapshot-20120810.sh and http://autobuilder.pokylinux.org/nightly/20120810-2/toolchain/i686/poky-eglibc-i686-x86_64-toolchain-gmae-1.2+snapshot-20120810.sh git info:1e4c63867c7dbf450e91a186cdb0e22fa39c4b9c git branch:poky/1.3_M3 test env: hosts: fedora 17 i686 test steps : 1. run " sudo ./poky-eglibc-i686-x86_64-toolchain-gmae-1.2+snapshot-20120810.sh" and output below("y" is the input from me): Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): You are about to install Poky SDK to "/opt/poky/1.2+snapshot". Proceed[Y/n]?y Extracting SDK...done Setting it up...done SDK has been successfully set up and is ready to be used. 2. extract "iptables-1.4.13.tar.bz2" and set build env with command " source /opt/poky/1.2+snapshot/environment-setup-x86_64-poky-linux" for example. 3. in "iptables-1.4.13" extracted dir ,run "configure ${CONFIGURE_FLAGS}". 4. in "iptables-1.4.13" extracted dir ,run "autoreconf -fi". 5. in "iptables-1.4.13" extracted dir ,rerun "configure ${CONFIGURE_FLAGS}". similar error below: ...... checking linux/dccp.h presence... yes checking for linux/dccp.h... yes checking linux/ip_vs.h usability... yes checking linux/ip_vs.h presence... yes checking for linux/ip_vs.h... yes checking linux/magic.h usability... yes checking linux/magic.h presence... yes checking for linux/magic.h... yes checking linux/proc_fs.h usability... no checking linux/proc_fs.h presence... no checking for linux/proc_fs.h... no checking size of struct ip6_hdr... 40 ./configure: line 11879: syntax error near unexpected token `libnfnetlink,' ./configure: line 11879: `PKG_CHECK_MODULES(libnfnetlink, libnfnetlink >= 1.0,'
the error still happened on nightly build 20120822-1 meta-toolchains below: http://autobuilder.pokylinux.org/nightly/20120822-1/toolchain/i686/poky-eglibc-i686-mips-toolchain-gmae-1.2+snapshot-20120822.sh http://autobuilder.pokylinux.org/nightly/20120822-1/toolchain/i686/poky-eglibc-i686-powerpc-toolchain-gmae-1.2+snapshot-20120822.sh
Running autogen.sh before running configure ${CONFIGURE_FLAGS} solves the warning issue, at least in version 1.4.15 I could not reproduce the bug with x86_64 -> arm toolchaing from http://autobuilder.yoctoproject.org/pub/nightly/20120822-1/toolchain/x86_64/
With 1.3 beta 20120905 build, ipatables 1.4.15 still failed to configure on 32 bit host. Toolchain tarball from http://autobuilder.yoctoproject.org/pub/nightly/20120905-6/toolchain/ Tree/Branch: poky/1.3_beta gitinfo: b99b700df89927482f14008a5537597fd0fa6a5f Steps: 1. Install the meta-toolchain tarball and set the build env. 2. Extract iptables 1.4.15 tarball 3. run command: ./autogen.sh; ./configure ${CONFIGURE_FLAGS} Error message: ############ $ ./autogen.sh libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize: copying file `build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libipq.la': linking libtool libraries using a non-POSIX /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' libipq/Makefile.am:7: while processing Libtool library 'libipq.la' /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libip4tc.la': linking libtool libraries using a non-POSIX /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' libiptc/Makefile.am:8: while processing Libtool library 'libip4tc.la' /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libip6tc.la': linking libtool libraries using a non-POSIX /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' libiptc/Makefile.am:8: while processing Libtool library 'libip6tc.la' /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libiptc.la': linking libtool libraries using a non-POSIX /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' libiptc/Makefile.am:8: while processing Libtool library 'libiptc.la' /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libxtables.la': linking libtool libraries using a non-POSIX /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' libxtables/Makefile.am:6: while processing Libtool library 'libxtables.la' $ ./configure ${CONFIGURE_FLAGS} configure: loading site script /opt/poky/1.2+snapshot/site-config-armv5te-poky-linux-gnueabi checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-poky-linux-gnueabi-strip... arm-poky-linux-gnueabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-poky-linux-gnueabi-gcc... arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi 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 arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi accepts -g... yes checking for arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi... gcc3 checking whether arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi and cc understand -c and -o together... yes checking build system type... i686-pc-linux-gnu checking host system type... arm-poky-linux-gnueabi checking how to print strings... printf 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-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi... arm-poky-linux-gnueabi-ld --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi checking if the linker (arm-poky-linux-gnueabi-ld --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... arm-poky-linux-gnueabi-nm checking the name lister (arm-poky-linux-gnueabi-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to arm-poky-linux-gnueabi format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for arm-poky-linux-gnueabi-ld --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi option to reload object files... -r checking for arm-poky-linux-gnueabi-objdump... arm-poky-linux-gnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-poky-linux-gnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-poky-linux-gnueabi-ar... arm-poky-linux-gnueabi-ar checking for archiver @FILE support... @ checking for arm-poky-linux-gnueabi-strip... (cached) arm-poky-linux-gnueabi-strip checking for arm-poky-linux-gnueabi-ranlib... arm-poky-linux-gnueabi-ranlib checking command to parse arm-poky-linux-gnueabi-nm output from arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi object... ok checking for sysroot... /opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi checking for arm-poky-linux-gnueabi-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... arm-poky-linux-gnueabi-gcc -E -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi supports -fno-rtti -fno-exceptions... no checking for arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi option to produce PIC... -fPIC -DPIC checking if arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi PIC flag -fPIC -DPIC works... yes checking if arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi static flag -static works... no checking if arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi supports -c -o file.o... yes checking if arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi supports -c -o file.o... (cached) yes checking whether the arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi linker (arm-poky-linux-gnueabi-ld --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi) 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... no checking whether the linker accepts -Wl,--no-as-needed... yes checking whether arm-poky-linux-gnueabi-ld --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi knows -Wl,--no-undefined... yes checking linux/dccp.h usability... yes checking linux/dccp.h presence... yes checking for linux/dccp.h... yes checking linux/ip_vs.h usability... yes checking linux/ip_vs.h presence... yes checking for linux/ip_vs.h... yes checking linux/magic.h usability... yes checking linux/magic.h presence... yes checking for linux/magic.h... yes checking linux/proc_fs.h usability... no checking linux/proc_fs.h presence... no checking for linux/proc_fs.h... no checking size of struct ip6_hdr... 40 ./configure: line 11879: syntax error near unexpected token `libnfnetlink,' ./configure: line 11879: `PKG_CHECK_MODULES(libnfnetlink, libnfnetlink >= 1.0,' ################### This issue only happens on 32 bit host (Fedora 17, ubuntu 12.04, openSuse 12.1). On 64 bit host, there is no this issue.
no such error on i686 toolchain from below: http://autobuilder.yoctoproject.org/pub/nightly/20120910-5/toolchain/i686/ configure pass on 32 bit host. related error in the new bug 3100 .
It seems we're having some issues in general for toolchain and relocatable SDK that we must get resolved for 1.3. Bump this to medium+ since it fall into that category
*** Bug 3125 has been marked as a duplicate of this bug. ***
The cause of this is the RPATHs not being relative for the 32bit SDK machine binaries, they're absolute and they always point to /opt/poky. The problem might be in chrpath.bbclass.
PKG_CHECK_MODULES is defined in pkg.m4 which is provided by package pkgconfig. For the failed cases they lack of pkg.m4 file under nativesdk directory.
for my build with: Ubuntu on x86_64 -- Yocto commit acd52fd17da9cdad406d052ce397091c23588b7a Fedora 17 on x86 -- Yocto commit 718eb85806e080d0b165344b272e531ef19421eb nativesdk-pkgconfig is installed into toolchain, so no more failure.
since bug 3125 (duplicate to this one) still happened on 1.3 M5 RC3,reopen it. bug 3125 happened on following i686 gmae-toolchains: http://autobuilder.pokylinux.org/nightly/20121003-4/toolchain/i686/ git info:86c9aa8081f107420cd3763d0566d779daddc2b1 git branch:poky/danny
(In reply to comment #19) > since bug 3125 (duplicate to this one) still happened on 1.3 M5 RC3,reopen > it. > bug 3125 happened on following i686 gmae-toolchains: > http://autobuilder.pokylinux.org/nightly/20121003-4/toolchain/i686/ > > git info:86c9aa8081f107420cd3763d0566d779daddc2b1 > git branch:poky/danny Hi, Can you tell us what host are you using? (Fedora, Ubuntu)? Also, what toolchain are you using, arm, mips, x86? I have tried with the ARM toolchain right now and all seems okay.
(In reply to comment #20) > (In reply to comment #19) > > since bug 3125 (duplicate to this one) still happened on 1.3 M5 RC3,reopen > > it. > > bug 3125 happened on following i686 gmae-toolchains: > > http://autobuilder.pokylinux.org/nightly/20121003-4/toolchain/i686/ > > > > git info:86c9aa8081f107420cd3763d0566d779daddc2b1 > > git branch:poky/danny > > Hi, > Can you tell us what host are you using? (Fedora, Ubuntu)? > Also, what toolchain are you using, arm, mips, x86? > > I have tried with the ARM toolchain right now and all seems okay. all toolchain (arm,ppc,mips,x86,x86_64). host : Fedora 17 32bit
This bug has been fixed, and make Yocto 3125 does not duplicate to this one. So mark it fixed.
I will recheck this on the next RC which should be ready tomorrow.
Verified with RC4 c9de24d3f4845251b01e2eab0aeeb7472badc5bb