[webkit-help] cannot allocate an array of constant size 0 - Error while compiling the chartables.c file

Mohammed Jaffar mails2jaffar at hotmail.com
Mon Jul 27 08:04:56 PDT 2009


Hi,

 

After a long try, now Webkit started building. but I am getting the following error:

 

2>pcre_tables.cpp

2>D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\JavaScriptCore\DerivedSources\chartables.c(13) : error C2466: cannot allocate an array of constant size 0

2>..\..\pcre\pcre_tables.cpp(73) : fatal error C1075: end of file found before the left brace '{' at 'D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\JavaScriptCore\DerivedSources\chartables.c(13)' was matched

2>pcre_ucp_searchfuncs.cpp

 

Build Configurations:

 

Nightly build src : WebKit-r46042

OS: Win-XP

VS: VS 2005

 

I didn't find any solution for this issue. 

Could you please help me to come out from this issue.

 

I appreciate your suggestions and ideas. Thanx in Advance.

 

 

Thanks & Regards,

Jaffar.

 

Note:

Just for Reference I have listed log below:

 

1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Release Win32 ------

1>Performing Makefile project actions

1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "D:\cygwin\home\jaffar\WebKit\WebKitLibraries\tools"

1>0 File(s) copied

1> touch "D:\cygwin\home\jaffar\WebKit\WebKitBuild\buildfailed"

1> bash build-generated-files.sh "D:\cygwin\home\jaffar\WebKit\WebKitBuild" "D:\cygwin\home\jaffar\WebKit\WebKitLibraries"

1>/home/jaffar/WebKit/JAVASC~1/create_hash_table /home/jaffar/WebKit/JAVASC~1/runtime/JSONObject.cpp -i > JSONObject.lut.h

1>/home/jaffar/WebKit/JAVASC~1/create_hash_table /home/jaffar/WebKit/JAVASC~1/parser/Keywords.table > Lexer.lut.h

1>Creating hashtable for /home/jaffar/WebKit/JAVASC~1/runtime/JSONObject.cpp

1>Creating hashtable for /home/jaffar/WebKit/JAVASC~1/parser/Keywords.table

1>/home/jaffar/WebKit/JAVASC~1/create_hash_table /home/jaffar/WebKit/JAVASC~1/runtime/MathObject.cpp -i > MathObject.lut.h

1>/home/jaffar/WebKit/JAVASC~1/create_hash_table /home/jaffar/WebKit/JAVASC~1/runtime/NumberConstructor.cpp -i > NumberConstructor.lut.h

1>Creating hashtable for /home/jaffar/WebKit/JAVASC~1/runtime/MathObject.cpp

1>Creating hashtable for /home/jaffar/WebKit/JAVASC~1/runtime/NumberConstructor.cpp

1>/home/jaffar/WebKit/JAVASC~1/create_hash_table /home/jaffar/WebKit/JAVASC~1/runtime/RegExpConstructor.cpp -i > RegExpConstructor.lut.h

1>/home/jaffar/WebKit/JAVASC~1/create_hash_table /home/jaffar/WebKit/JAVASC~1/runtime/RegExpObject.cpp -i > RegExpObject.lut.h

1>Creating hashtable for /home/jaffar/WebKit/JAVASC~1/runtime/RegExpConstructor.cpp

1>Creating hashtable for /home/jaffar/WebKit/JAVASC~1/runtime/RegExpObject.cpp

1>/home/jaffar/WebKit/JAVASC~1/create_hash_table /home/jaffar/WebKit/JAVASC~1/runtime/StringPrototype.cpp -i > StringPrototype.lut.h

1>perl /home/jaffar/WebKit/JAVASC~1/docs/make-bytecode-docs.pl /home/jaffar/WebKit/JAVASC~1/interpreter/Interpreter.cpp docs/bytecode.html

1>Creating hashtable for /home/jaffar/WebKit/JAVASC~1/runtime/StringPrototype.cpp

1>UNDOCUMENTED: get_by_id_self_list

1>UNDOCUMENTED: get_by_id_proto_list

1>UNDOCUMENTED: load_varargs

1>UNDOCUMENTED: strcat

1>UNDOCUMENTED: to_primitive

1>UNDOCUMENTED: method_check

1> mkdir 2>NUL "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1> xcopy /y /d "..\..\API\APICast.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JavaScript.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JSBase.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JSContextRef.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JSObjectRef.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JSStringRef.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JSStringRefCF.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JSStringRefBSTR.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JSValueRef.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JavaScriptCore.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\JSRetainPtr.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\OpaqueJSString.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> xcopy /y /d "..\..\API\WebKitAvailability.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\JavaScriptCore"

1>0 File(s) copied

1> del "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\private\JavaScriptCore\stdbool.h" "D:\cygwin\home\jaffar\WebKit\WebKitBuild\include\private\JavaScriptCore\stdint.h"

1>The system cannot find the path specified.

1> del "D:\cygwin\home\jaffar\WebKit\WebKitBuild\buildfailed"

1>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\JavaScriptCoreGenerated\Release\BuildLog.htm"

1>JavaScriptCoreGenerated - 0 error(s), 0 warning(s)

2>------ Build started: Project: JavaScriptCore, Configuration: Debug Win32 ------

2>Performing Pre-Build Event...

2>svn: '.' is not a working copy

2>Compiling...

2>ArgList.cpp

2>Arguments.cpp

2>ArrayConstructor.cpp

2>ArrayPrototype.cpp

2>BooleanConstructor.cpp

2>BooleanObject.cpp

2>BooleanPrototype.cpp

2>CallData.cpp

2>CallFrame.cpp

2>Collector.cpp

2>CommonIdentifiers.cpp

2>Completion.cpp

2>ConstructData.cpp

2>DateConstructor.cpp

2>DateConversion.cpp

2>DateInstance.cpp

2>DatePrototype.cpp

2>Error.cpp

2>ErrorConstructor.cpp

2>ErrorInstance.cpp

2>Generating Code...

2>Compiling...

2>ErrorPrototype.cpp

2>FunctionConstructor.cpp

2>FunctionPrototype.cpp

2>GetterSetter.cpp

2>GlobalEvalFunction.cpp

2>Identifier.cpp

2>InitializeThreading.cpp

2>InternalFunction.cpp

2>JSActivation.cpp

2>JSArray.cpp

2>JSByteArray.cpp

2>JSCell.cpp

2>JSFunction.cpp

2>JSGlobalData.cpp

2>JSGlobalObject.cpp

2>JSGlobalObjectFunctions.cpp

2>JSImmediate.cpp

2>JSLock.cpp

2>JSNotAnObject.cpp

2>JSNumberCell.cpp

2>Generating Code...

2>Compiling...

2>JSObject.cpp

2>JSONObject.cpp

2>JSStaticScopeObject.cpp

2>JSString.cpp

2>JSValue.cpp

2>JSVariableObject.cpp

2>JSWrapperObject.cpp

2>LiteralParser.cpp

2>Lookup.cpp

2>MathObject.cpp

2>NativeErrorConstructor.cpp

2>NativeErrorPrototype.cpp

2>NumberConstructor.cpp

2>NumberObject.cpp

2>NumberPrototype.cpp

2>ObjectConstructor.cpp

2>ObjectPrototype.cpp

2>Operations.cpp

2>PropertyNameArray.cpp

2>PropertySlot.cpp

2>Generating Code...

2>Compiling...

2>PrototypeFunction.cpp

2>RegExp.cpp

2>RegExpConstructor.cpp

2>RegExpObject.cpp

2>RegExpPrototype.cpp

2>ScopeChain.cpp

2>SmallStrings.cpp

2>StringConstructor.cpp

2>StringObject.cpp

2>StringPrototype.cpp

2>Structure.cpp

2>StructureChain.cpp

2>UString.cpp

2>pcre_compile.cpp

2>pcre_exec.cpp

2>pcre_tables.cpp

2>D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\JavaScriptCore\DerivedSources\chartables.c(13) : error C2466: cannot allocate an array of constant size 0

2>..\..\pcre\pcre_tables.cpp(73) : fatal error C1075: end of file found before the left brace '{' at 'D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\JavaScriptCore\DerivedSources\chartables.c(13)' was matched

2>pcre_ucp_searchfuncs.cpp

2>pcre_xclass.cpp

2>JSBase.cpp

2>JSCallbackConstructor.cpp

2>Generating Code...

2>Compiling...

2>JSCallbackFunction.cpp

2>JSCallbackObject.cpp

2>JSClassRef.cpp

2>JSContextRef.cpp

2>JSObjectRef.cpp

2>JSStringRef.cpp

2>JSStringRefBSTR.cpp

2>JSStringRefCF.cpp

2>JSValueRef.cpp

2>OpaqueJSString.cpp

2>Profile.cpp

2>ProfileGenerator.cpp

2>ProfileNode.cpp

2>Profiler.cpp

2>BytecodeGenerator.cpp

2>Lexer.cpp

2>Nodes.cpp

2>Parser.cpp

2>ParserArena.cpp

2>CodeBlock.cpp

2>Generating Code...

2>Compiling...

2>ExceptionHelpers.cpp

2>Interpreter.cpp

2>JITStubs.cpp

2>JSPropertyNameIterator.cpp

2>JumpTable.cpp

2>Opcode.cpp

2>RegisterFile.cpp

2>SamplingTool.cpp

2>StructureStubInfo.cpp

2>TimeoutChecker.cpp

2>Debugger.cpp

2>DebuggerActivation.cpp

2>DebuggerCallFrame.cpp

2>CharacterClass.cpp

2>CharacterClassConstructor.cpp

2>WREC.cpp

2>WRECFunctors.cpp

2>WRECGenerator.cpp

2>WRECParser.cpp

2>RegexCompiler.cpp

2>Generating Code...

2>Compiling...

2>RegexInterpreter.cpp

2>RegexJIT.cpp

2>ExecutableAllocator.cpp

2>ExecutableAllocatorWin.cpp

2>JIT.cpp

2>JITArithmetic.cpp

2>JITCall.cpp

2>JITOpcodes.cpp

2>Generating Code...

2>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\JavaScriptCore\Debug\BuildLog.htm"

2>JavaScriptCore - 2 error(s), 0 warning(s)

3>------ Build started: Project: WebCoreGenerated, Configuration: Release Win32 ------

3>Performing Makefile project actions

3>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

3>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\WebCoreGenerated\Release\BuildLog.htm"

3>WebCoreGenerated - 1 error(s), 0 warning(s)

4>------ Build started: Project: QTMovieWin, Configuration: Debug Win32 ------

4>Performing Pre-Build Event...

4>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

4>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\QTMovieWin\Debug\BuildLog.htm"

4>QTMovieWin - 1 error(s), 0 warning(s)

5>------ Build started: Project: WebCore, Configuration: Debug Win32 ------

5>Performing Pre-Build Event...

5>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

5>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\WebCore\Debug\BuildLog.htm"

5>WebCore - 1 error(s), 0 warning(s)

6>------ Build started: Project: InterfacesGenerated, Configuration: Release Win32 ------

6>Performing Makefile project actions

6>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

6>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\InterfacesGenerated\Release\BuildLog.htm"

6>InterfacesGenerated - 1 error(s), 0 warning(s)

7>------ Build started: Project: Interfaces, Configuration: Debug Win32 ------

7>Performing Pre-Build Event...

7>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

7>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\Interfaces\Debug\BuildLog.htm"

7>Interfaces - 1 error(s), 0 warning(s)

8>------ Build started: Project: WebKitGUID, Configuration: Debug Win32 ------

8>Performing Pre-Build Event...

8>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

8>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\WebKitGUID\Debug\BuildLog.htm"

8>WebKitGUID - 1 error(s), 0 warning(s)

9>------ Build started: Project: WebKit, Configuration: Debug Win32 ------

9>Performing Pre-Build Event...

9>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

9>Build log was saved at "file://D:\cygwin\home\jaffar\WebKit\WebKitBuild\obj\WebKit\Debug\BuildLog.htm"

9>WebKit - 1 error(s), 0 warning(s)

========== Build: 1 succeeded, 8 failed, 1 up-to-date, 0 skipped ==========

_________________________________________________________________
MSN Quiz The clash is on to find the best brains. Test your skills with avid quizzers on MSN quiz.
http://specials.msn.co.in/WLSocialNetworkConnector/Chrome.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20090727/ae33fb31/attachment.html>


More information about the webkit-help mailing list