ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Re: strange behave


From: Stuart Hughes
Subject: [Ltib] Re: strange behave
Date: Fri, 02 Nov 2007 08:57:00 +0000

Hi Henry,

Yes this is a cross compile problem.  atk is another package that is not
in the config system so I've not yet made any changes to make it cross
compile.  I can look at this too if you like.

A fairly good rule to follow is that no .la files should ever get into
the rootfs area (so remove them from any generating package spec file).
The reason is that libtool cannot work in a cross compiled environment.
It is not needed either.  If .la files are found when linking, they will
pull in libraries from /usr/lib,/lib which will cause failure.

Regards, Stuart

On Wed, 2007-10-31 at 22:08 -0700, hong zhang wrote:
> Stuart,
> 
> I built atk and get error complaining "grep:
> /usr/lib/libglib-2.0.la: No such file or directory"
> But it is in "rootfs/usr/lib/libglib-2.0.la"
> 
> Please see following error. Do you think this is cross
> compile problem?
> 
> && (cmp -s tmp-atk-enum-types.c atk-enum-types.c || cp
> tmp-atk-enum-types.c atk-enum-types.c ) \
> && rm -f tmp-atk-enum-types.c \
> && echo timestamp > s-enum-types-c
> make  all-am
> make[3]: Entering directory
> `/home/hzhang/Desktop/ltibads19/rpm/BUILD/atk-1.19.3/atk'
> /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2
> -Wall -version-info 1912:1:1912    -o libatk-1.0.la
> -rpath /usr/lib atkaction.lo atkcomponent.lo
> atkdocument.lo atkeditabletext.lo
> atkgobjectaccessible.lo atkhyperlink.lo
> atkhyperlinkimpl.lo atkhypertext.lo atkimage.lo
> atknoopobject.lo atknoopobjectfactory.lo atkobject.lo
> atkobjectfactory.lo atkregistry.lo atkrelation.lo
> atkrelationset.lo atkselection.lo atkstate.lo
> atkstateset.lo atkstreamablecontent.lo atktable.lo
> atktext.lo atkutil.lo atkmisc.lo atkvalue.lo
> atk-enum-types.lo
> -L/home/hzhang/Desktop/ltibads19/rootfs//usr/lib
> -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> grep: /usr/lib/libglib-2.0.la: No such file or
> directory
> /bin/sed: can't read /usr/lib/libglib-2.0.la: No such
> file or directory
> libtool: link: `/usr/lib/libglib-2.0.la' is not a
> valid libtool archive
> make[3]: *** [libatk-1.0.la] Error 1
> make[3]: Leaving directory
> `/home/hzhang/Desktop/ltibads19/rpm/BUILD/atk-1.19.3/atk'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/hzhang/Desktop/ltibads19/rpm/BUILD/atk-1.19.3/atk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/hzhang/Desktop/ltibads19/rpm/BUILD/atk-1.19.3'make:
> *** [all] Error 2
> error: Bad exit status from
> /home/hzhang/Desktop/ltibads19/tmp/rpm-tmp.20490
> (%build)
> 
> 
> RPM build errors:
>     Bad exit status from
> /home/hzhang/Desktop/ltibads19/tmp/rpm-tmp.20490
> (%build)
> Build time for atk: 16 seconds
> 
> Failed building atk
> 
> 
> f_scbuild() returned an error, exiting
> Exiting on error or interrupt
> 
> address@hidden ltibads19]$ ll
> rootfs/usr/lib/libglib-2.0.la
> -rwxrwxrwx 1 root root 812 Oct 31 21:50
> rootfs/usr/lib/libglib-2.0.la
> address@hidden ltibads19]$
> 
> ---henry
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]