[webkit-dev] Build Webkit for wx

Rodrigo Melo rodrigo.melo at openbossa.org
Tue Dec 18 07:01:36 PST 2007


Hello Kevin, unfortunately I'm getting the same errors again. I updated my
code to revision 28828 and I installed all packages/deps you told me on the
irc channel. I listed them below:

Package: gcc Version: 4:4.1.2-9ubuntu2
Package: g++ Version: 4:4.1.2-9ubuntu2
Package: libgnome-dev Version: 1.4.2-36
Package: flex Version: 2.5.33-12build1
Package: bison Version: 1:2.3.dfsg-5
Package: gperf Version: 3.0.3-1
Package: libxml2 Version: 2.6.30.dfsg-2ubuntu1
Package: libxslt1.1 Version: 1.1.21-2ubuntu2
Package: libxslt1-dev Version: 1.1.21-2ubuntu2
Package: libicu36 Version: 3.6-3
Package: libicu36-dev Version: 3.6-3
Package: libcurl4-openssl-dev Version: 7.16.4-2ubuntu1
Package: libsqlite3-dev Version: 3.4.2-1build1
Package: libpng12-dev Version: 1.2.15~beta5-2ubuntu0.1
Package: libjpeg62-dev Version: 6b-14
Package: python-wxgtk2.8 Version: 2.8.4.0-0ubuntu3
Package: python-wxtools Version: 2.8.4.0-0ubuntu3
Package: python-wxaddons Version: 2.8.4.0-0ubuntu3
Package: wx2.8-i18n Version: 2.8.4.0-0ubuntu3
Package: python-dev Version: 2.5.1-1ubuntu2
Package: wx-common Version: 2.8.4.0-0ubuntu3
Package: libpango1.0-dev Version: 1.18.3-0ubuntu1
Package: libgtk2.0-dev Version: 2.12.0-1ubuntu3

Also, after running  'icu-config --ldflags' I got:  -lpthread -lm -L/usr/lib
-licui18n -licuuc -licudata -lpthread -lm

Thanks
--
r

On 12/17/07, Kevin Ollivier <kevino at theolliviers.com> wrote:
>
> Hi Rodrigo,
>
> On Dec 17, 2007, at 11:46 AM, Rodrigo Melo wrote:
>
> > Hello folks, I'm facing some issues to build webkit for wx.  The
> > output shows some link libraries errors as shown below.
> >
> > ~/mydev/WebKitBuild/Release/libjscore.a(jscore_collector.o): In
> > function `KJS::currentThreadStackBase()':
> > ~/mydev/JavaScriptCore/kjs/collector.cpp:350: undefined reference to
> > `pthread_getattr_np'
> > ~/mydev/JavaScriptCore/kjs/collector.cpp:352: undefined reference to
> > `pthread_attr_getstack'
> > ~/mydev/WebKitBuild/Release/libjscore.a(jscore_function.o): In
> > function `WTF::Unicode::isSeparatorSpace(int)':
> > ~/mydev/JavaScriptCore/./wtf/unicode/icu/UnicodeIcu.h:172: undefined
> > reference to `u_charType_3_6'
> > ~/mydev/WebKitBuild/Release/libjscore.a(jscore_lexer.o): In function
> > `WTF::Unicode::category(int)':
> > ~/mydev/JavaScriptCore/./wtf/unicode/icu/UnicodeIcu.h:197: undefined
> > reference to `u_charType_3_6'
> > ~/mydev/WebKitBuild/Release/libjscore.a(jscore_nodes2string.o): In
> > function `WTF::Unicode::isPrintableChar(int)':
> > ~/mydev/JavaScriptCore/./wtf/unicode/icu/UnicodeIcu.h:177: undefined
> > reference to `u_isprint_3_6'
> > ~/mydev/WebKitBuild/Release/libjscore.a(jscore_string_object.o): In
> > function `WTF::Unicode::toUpper(unsigned short*, int, unsigned short
> > const*, int, bool*)':
> > ~/mydev/JavaScriptCore/./wtf/unicode/icu/UnicodeIcu.h:155: undefined
> > reference to `u_strToUpper_3_6'
> > ~/mydev/WebKitBuild/Release/libjscore.a(jscore_string_object.o): In
> > function `WTF::Unicode::toLower(unsigned short*, int, unsigned short
> > const*, int, bool*)':
> > ~/mydev/JavaScriptCore/./wtf/unicode/icu/UnicodeIcu.h:137: undefined
> > reference to `u_strToLower_3_6'
> > collect2: ld returned 1 exit status
> > make: *** [~/mydev/WebKitBuild/Release/testkjs] Error 1
> > make: Leaving directory `~/mydev/JavaScriptCore'
> >
> >
> > Anyone has already got this issue? Any idea?
>
> I just did a svn update and built on Ubuntu Gutsy successfully, so I'm
> fairly certain that with a clean tree and the right dependencies, you
> should be able to perform a successful build. The u_* symbols are ICU-
> related, and for the wx build the ICU libs are gotten by using `icu-
> config --ldflags` on Linux. What happens when you run that command on
> your box?
>
> For me, it returns several ICU libs, and also has -lpthread, so that
> probably explains why the pthread symbols are missing for you too.
>
> Thanks,
>
> Kevin
>
> >
> > Thanks in advance
> >
> > --
> > romelo
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20071218/9f823b08/attachment.html


More information about the webkit-dev mailing list