[webkit-help] how to cross-compile webkit on STLinux

wenmhappy wenmhappy at 126.com
Sat Jun 25 00:55:35 PDT 2011

hi everybody,
     I am cross-compiling webkit-r59711 on STLinux,   I do like this:
1.  cd  stapisdk/stapp   source startsh.sh
2.  I have successfully built it on ubuntu10.10 on PC.  I write a ccwebkit  scripts which export some variables used to descript path of dependent libs in STLinux, details in the accessory.
3.  then run webkit-r59711/configure(generated by building webkit on PC)  with "--host=sh4-linux --build=i686-pc-linux-gnu --prefix=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/ --enable-static=yes",  but just output three *.a and not found libwebkit-1.0.so.  link error:
libtool: link: warning: library `/opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib/libstdc++.la' was moved.
  CXXLD  libwebkit-1.0.la
libtool: link: `WebCore/bindings/js/libwebkit_1_0_la-GCController.lo' is not a valid libtool object
make[1]: *** [libwebkit-1.0.la] Error 1
make: *** [all] Error 2

I  find libstdc++.la still in /opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib/  and not moved.   I don`t know how to get libwebkit-1.0.so  or  static lib even I set "--enable-static=yes".
Thanks  for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110625/9d586c2f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccwebkit
Type: application/octet-stream
Size: 7946 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110625/9d586c2f/attachment-0001.obj>

More information about the webkit-help mailing list