* Configure error
@ 2011-02-08 14:08 Gary Thomas
2011-02-08 15:41 ` Mark Hatle
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2011-02-08 14:08 UTC (permalink / raw)
To: Poky
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
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Configure error
2011-02-08 14:08 Configure error Gary Thomas
@ 2011-02-08 15:41 ` Mark Hatle
2011-02-08 15:49 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2011-02-08 15:41 UTC (permalink / raw)
To: Gary Thomas; +Cc: Poky
On 2/8/11 8:08 AM, Gary Thomas wrote:
> 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
>
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:
> 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.1 when 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Configure error
2011-02-08 15:41 ` Mark Hatle
@ 2011-02-08 15:49 ` Gary Thomas
0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2011-02-08 15:49 UTC (permalink / raw)
To: Mark Hatle; +Cc: Poky
On 02/08/2011 08:41 AM, Mark Hatle wrote:
> On 2/8/11 8:08 AM, Gary Thomas wrote:
>> 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
>>
>
> 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:
>
>> 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.1 when 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) ;)
Done, thanks. http://bugzilla.pokylinux.org/show_bug.cgi?id=702
Now to figure out how to fix it :-)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-08 15:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 14:08 Configure error Gary Thomas
2011-02-08 15:41 ` Mark Hatle
2011-02-08 15:49 ` Gary Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.