[webkit-dev] problems in cross compiling webkit - Execution ofJavaScriptCore/kjs/create_hash_table aborted due tocompilation errors.
Weber, Bernd
BWEBE at dolby.com
Wed Oct 22 08:55:15 PDT 2008
In order to get ICU built you need to build 2 versions, one for the host
and one for the target. Just FYI. Apart from that you might want to take
a look at buildroot -> http://buildroot.uclibc.org .Those guys have the
whole cross compilation pretty well under control. That's where I
started from. You can always switch the webkit version included in
buildroot with a newer nightly build version. I've done that and it
works like a charm. :-)
-----Original Message-----
From: webkit-dev-bounces at lists.webkit.org
[mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of David Kilzer
Sent: Wednesday, October 22, 2008 7:14 AM
To: Bn, Sharath
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] problems in cross compiling webkit - Execution
ofJavaScriptCore/kjs/create_hash_table aborted due tocompilation errors.
On Wed, 10/22/08, Bn, Sharath <sharath.bn at philips.com> wrote:
> /usr/bin/perl JavaScriptCore/kjs/create_hash_table
> JavaScriptCore/kjs/keywords.table >
> DerivedSources/lexer.lut.h
> Global symbol "@nameEntries" requires explicit
> package name at JavaScriptCore/kjs/create_hash_table line
> 218.
> Execution of JavaScriptCore/kjs/create_hash_table aborted
> due to compilation errors.
> make: *** [DerivedSources/lexer.lut.h] Error 255
Ha! What version of Perl are you using (run "perl -v")? It looks like
Perl is interpreting a print() statement differently. Try making this
change (adding backslashes before the square brackets in
create_hash_table):
- print "\nstatic const struct HashTableValue ${nameEntries}[$count]
= {\n";
+ print "\nstatic const struct HashTableValue
${nameEntries}\[$count\] = {\n";
Let me know if that fixes the problem.
Dave
_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-----------------------------------------
This message (including any attachments) may contain confidential
information intended for a specific individual and purpose. If you
are not the intended recipient, delete this message. If you are
not the intended recipient, disclosing, copying, distributing, or
taking any action based on this message is strictly prohibited.
More information about the webkit-dev
mailing list