[webkit-help] Webkit cross compiling

Gabor Rapcsanyi rgabor at inf.u-szeged.hu
Tue Apr 20 01:54:36 PDT 2010


Hi,

I experienced the same problem when I tried to cross compile for ARM.
It is because the .la files contain the lib paths with wrong prefixes.
If you change these paths  with your prefixed paths it will work.

Regards,
Gabor
> Hi,
>
> I am cross compiling webkit/gtk on SH4 machine using :
> ./autogen.sh --prefix=$PREFIX --build=$BUILD --host=$HOST
>
>
>
> I have an error in the link stage
>
> CXXLD  libJavaScriptCore.la
> libtool: link: warning: library 
> `/opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib/libstdc++.la' was moved.
> CXXLD  Programs/jsc
> CXXLD  libwebkit-1.0.la
> CCLD   Programs/minidom
> libtool: link: warning: library 
> `/opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib/libstdc++.la' was moved.
> libtool: link: warning: library 
> `/opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib/libstdc++.la' was moved.
> libtool: link: warning: library 
> `/opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib/libstdc++.la' was moved.
> libtool: link: warning: library 
> `/opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib/libstdc++.la' was moved.
> /usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> /usr/lib/libgobject-2.0.so: could not read symbols: File in wrong format
>
> What could be the problem?
>
> thanks in advance
> Olivier
>
> ------------------------------------------------------------------------
> Commander un cadeau en ligne discrètement? Voir la solution offerte 
> par Internet Explorer8 <http://clk.atdmt.com/FRM/go/207186971/direct/01/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>   



More information about the webkit-help mailing list