On Thu, Dec 10, 2009 at 05:14, Sofia Tahseen <sofia.tahs...@gmail.com> wrote:

> /home/adas/0_Data/0_Lin/091203_Chromium_OS/toolchain/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:
> skipping incompatible
> /home/adas/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root/usr/lib/librt.so
> when searching for -lrt

The errors are indicative of trying to link against libraries from a
different platform.  To confirm: check the output of

 $ 'file 
/home/adas/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root/usr/lib/librt.so

I suspect it will tell you it's a symbolic link to /lib/librt.so.1,
which itself is a symbolic link to
/lib/librt-2.10.2.so - note these paths are relative to /, not to your
sysroot directory.

You have two slightly solutions
 - adjust the symlinks in sys-root/usr/lib so they point to the files
in sys-root//lib
 - replace the smymlinks with the actual libraries, ie copy files from
sys-root/lib to sys-root/usr/lib

I would be happy to hear a neater solution for this, but the above
worked for me.

Cheers,

Joel

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev

Reply via email to