[webkit-help] How to add myself code to webkit project?

wenmhappy wenmhappy at 126.com
Mon Nov 14 05:13:32 PST 2011


Hi,
 
      I want to add myself source file to webkit project such as webkitdialog.cpp to WebKit/gtk/webkit.  I edited GNUMakefile.am in top directory like below.
  webkitgtk_la_source += WebKit/gtk/webkit/webkitdialog.cpp
      The source file has been compiled and *.o has been generated, but there is link error which says undefined reference 'webkit_web_*' (a function defiened in webkitdialog.cpp and called in webkitwebview.cpp) in libwebkit_1*.so, i think webkitdialog.o will not be linked into libwebkit_1*.so.  Anything should be done to fix it?
Thanks for any help.
Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20111114/d1c8560b/attachment-0001.html>


More information about the webkit-help mailing list