[webkit-dev] problems in cross compiling webkit - Execution of JavaScriptCore/kjs/create_hash_table aborted due to compilation errors.
David Kilzer
ddkilzer at webkit.org
Wed Oct 22 07:14:28 PDT 2008
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
More information about the webkit-dev
mailing list