Open
Bug 613780
Opened 14 years ago
Updated 2 years ago
ctypes don't build in standard shell
Categories
(Core :: js-ctypes, defect)
Tracking
()
NEW
People
(Reporter: gal, Unassigned)
References
(Blocks 1 open bug)
Details
../configure --enable-debug --disable-optimize --enable-ctypes g++-4.2 -o Library.o -c -fvisibility=hidden -DOSTYPE=\"Darwin10.4.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".dylib\" -Ictypes/libffi/include -I. -I.. -I. -I./dist/include -I./dist/include/nsprpub -I.. -I../assembler -I../yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -fno-strict-aliasing -fpascal-strings -fno-common -pthread -pipe -DDEBUG -D_DEBUG -DTRACING -g -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/Library.pp ../ctypes/Library.cpp /Users/gal/workspace/tracemonkey/src/Darwin_DBG.OBJ/config/nsinstall -D dist/sdk/lib In file included from ../ctypes/CTypes.cpp:39: ../ctypes/CTypes.h:45:20: error: prlink.h: No such file or directory In file included from ../ctypes/Library.cpp:43: ../ctypes/CTypes.h:45:20: error: prlink.h: No such file or directory In file included from ../ctypes/Library.cpp:43: ../ctypes/CTypes.h:495: error: ‘PRFuncPtr’ has not been declared ../ctypes/CTypes.h:505: error: ‘PRFuncPtr’ has not been declared ../ctypes/Library.cpp: In function ‘JSObject* js::ctypes::Library::Create(JSContext*, jsval, JSCTypesCallbacks*)’: ../ctypes/Library.cpp:135: error: ‘PRLibSpec’ was not declared in this scope ../ctypes/Library.cpp:135: error: expected `;' before ‘libSpec’ ../ctypes/Library.cpp:174: error: ‘libSpec’ was not declared in this scope ../ctypes/Library.cpp:175: error: ‘PR_LibSpec_Pathname’ was not declared in this scope ../ctypes/Library.cpp:178: error: ‘PR_LoadLibraryWithFlags’ was not declared in this scope ../ctypes/Library.cpp: In function ‘void js::ctypes::Library::Finalize(JSContext*, JSObject*)’: ../ctypes/Library.cpp:217: error: ‘PR_UnloadLibrary’ was not declared in this scope ../ctypes/Library.cpp: In function ‘JSBool js::ctypes::Library::Declare(JSContext*, uintN, jsval*)’: ../ctypes/Library.cpp:336: error: ‘PRFuncPtr’ was not declared in this scope ../ctypes/Library.cpp:336: error: expected `;' before ‘fnptr’ ../ctypes/Library.cpp:345: error: ‘fnptr’ was not declared in this scope ../ctypes/Library.cpp:345: error: ‘PR_FindFunctionSymbol’ was not declared in this scope ../ctypes/Library.cpp:357: error: ‘PR_FindSymbol’ was not declared in this scope In file included from ../ctypes/CTypes.cpp:39: ../ctypes/CTypes.h:495: error: ‘PRFuncPtr’ has not been declared ../ctypes/CTypes.h:505: error: ‘PRFuncPtr’ has not been declared make[1]: *** [Library.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ../ctypes/CTypes.cpp:995: error: ‘PRFuncPtr’ was not declared in this scope ../ctypes/CTypes.cpp: In function ‘JSBool js::ctypes::FunctionType::ConstructData(JSContext*, JSObject*, JSObject*, JSObject*, JSObject*)’: ../ctypes/CTypes.cpp:4877: error: ‘PRFuncPtr’ was not declared in this scope ../ctypes/CTypes.cpp:4877: error: ‘data’ was not declared in this scope ../ctypes/CTypes.cpp:4877: error: expected type-specifier before ‘PRFuncPtr’ ../ctypes/CTypes.cpp:4877: error: expected `>' before ‘PRFuncPtr’ ../ctypes/CTypes.cpp:4877: error: expected `(' before ‘PRFuncPtr’ ../ctypes/CTypes.cpp:4877: error: expected primary-expression before ‘>’ token ../ctypes/CTypes.cpp:4877: error: expected `)' before ‘;’ token ../ctypes/CTypes.cpp: At global scope: ../ctypes/CTypes.cpp:5171: error: ‘PRFuncPtr’ has not been declared ../ctypes/CTypes.cpp: In function ‘JSObject* js::ctypes::CClosure::Create(JSContext*, JSObject*, JSObject*, JSObject*, int*)’: ../ctypes/CTypes.cpp:5260: error: expected type-specifier before ‘PRFuncPtr’ ../ctypes/CTypes.cpp:5260: error: expected `>' before ‘PRFuncPtr’ ../ctypes/CTypes.cpp:5260: error: expected `(' before ‘PRFuncPtr’ ../ctypes/CTypes.cpp:5260: error: ‘PRFuncPtr’ was not declared in this scope ../ctypes/CTypes.cpp:5260: error: expected `)' before ‘;’ token make[1]: *** [CTypes.o] Error 1 make: *** [default] Error 2 host-7-55:Darwin_DBG.OBJ gal$
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•