Configure error
A package I imported from OE (long ago) no longer builds with this error:
| ERROR: This autoconf log indicates errors, it looked at host includes.
It's not obvious to me what the problem is nor how to fix it. Can someone help with this, please?
See the logs at
http://www.mlbassoc.com/poky/ConfigureFailure/config.log
http://www.mlbassoc.com/poky/ConfigureFailure/log.do_configure
Thanks
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 4 lines · Gary Thomas
A package I imported from OE (long ago) no longer builds with this error:
| ERROR: This autoconf log indicates errors, it looked at host includes.
Quoted 9 lines
It's not obvious to me what the problem is nor how to fix it. Can someone help with this, please?
See the logs at
http://www.mlbassoc.com/poky/ConfigureFailure/config.log
http://www.mlbassoc.com/poky/ConfigureFailure/log.do_configureThanks
The check looks at the config.log. It is looking for instances where unsafe compilation or include usage occurs. In this case it wasn't actually host includes.. so there is a bug in the error message. From the config.log:
Quoted 5 lines
configure:7139: ccache powerpc-poky-linux-gcc -mcpu=603e -mhard-float --sysroot=/home/local/my_ppc_poky/tmp/sysroots/my8379 -o conftest -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
conftest.c-ldlpi -L/lib -lpcap >&5/home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: warning: library search path "/lib" is unsafe for cross-compilation/home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: cannot find -ldlpi/home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: skipping incompatible/lib/libgcc_s.so.1when searching for libgcc_s.so.1
collect2: ld returned 1 exit status
In the above snippet you'll see 'warning: library search path "/lib" is unsafe for cross-compilation'. This indicates that the package passed in a -L/lib, and the linker caught this and issued a warning.
The fix is to figure out why the configuration file attempted to pass -L/lib, and stop it from occurring.
Please file a bug on the log message being confusing and I'll attempt to get that fixed.. (or a patch) ;)
--Mark
Quoted 29 lines · Mark Hatle
Quoted 4 lines · Gary Thomas
A package I imported from OE (long ago) no longer builds with this error:
| ERROR: This autoconf log indicates errors, it looked at host includes.Quoted 9 lines
It's not obvious to me what the problem is nor how to fix it. Can someone help with this, please?
See the logs at
http://www.mlbassoc.com/poky/ConfigureFailure/config.log
http://www.mlbassoc.com/poky/ConfigureFailure/log.do_configureThanks
The check looks at the config.log. It is looking for instances where unsafe compilation or include usage occurs. In this case it wasn't actually host includes.. so there is a bug in the error message. From the config.log:
Quoted 5 lines
configure:7139: ccache powerpc-poky-linux-gcc -mcpu=603e -mhard-float --sysroot=/home/local/my_ppc_poky/tmp/sysroots/my8379 -o conftest -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
conftest.c-ldlpi -L/lib -lpcap>&5/home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: warning: library search path "/lib" is unsafe for cross-compilation/home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: cannot find -ldlpi/home/local/my_ppc_poky/tmp/sysroots/i686-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.5.2/ld: skipping incompatible/lib/libgcc_s.so.1when searching for libgcc_s.so.1
collect2: ld returned 1 exit statusIn the above snippet you'll see 'warning: library search path "/lib" is unsafe for cross-compilation'. This indicates that the package passed in a -L/lib, and the linker caught this and issued a warning.
Quoted 5 lines
The fix is to figure out why the configuration file attempted to pass -L/lib, and stop it from occurring.
Please file a bug on the log message being confusing and I'll attempt to get that fixed.. (or a patch) ;)
Done, thanks. http://bugzilla.pokylinux.org/show_bug.cgi?id=702
Now to figure out how to fix it :-)
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------