@drux wrote:
Hello,
So I had a problem before this that was fixed:
But now I still have a problem. Now the errors are the following:
function JSC::ExecutableAllocator::determinePageSize(): error: undefined reference to '_pagesize'
/Users/user/Cocos2dxProjects/demo-ui-master/build/demo-ui/jsb/frameworks/runtime-src/proj.android/../../cocos2d-x/external/websockets/prebuilt/android/armeabi/libwebsockets.a(context.c.o):context.c:function libwebsocket_create_context: error: undefined reference to 'getdtablesize'
collect2: error: ld returned 1 exit statusand this one:
Build Failed: Error: Compile cocos process exited unnormal with code: 14
at ChildProcess. (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/core/gulp-build.js:1:10234)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:817:16)
at Socket. (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
at /Applications/CocosCreator.app/Contents/Resources/app.asar/editor/core/builder.js:1:1641
at Gulp.doneCallback (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/core/gulp-build.js:1:11095)
at Gulp.Orchestrator.stop (/Applications/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:150:9)
at /Applications/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/index.js:277:22
at finish (/Applications/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/lib/runTask.js:21:8)
at cb (/Applications/CocosCreator.app/Contents/Resources/app.asar/node_modules/orchestrator/lib/runTask.js:29:3)
at ChildProcess. (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/core/gulp-build.js:1:10232)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)There is also this, but is not in red:
Using Eclipse project : /Users/user/Cocos2dxProjects/demo-ui-master/build/demo-ui/jsb/frameworks/runtime-src/proj.android
Android platform not specified, searching a default one...
running: '/Users/user/android-sdk-macosx/tools/android update project -t android-15 -p /Users/user/Cocos2dxProjects/demo-ui-master/build/demo-ui/jsb/frameworks/runtime-src/proj.android'Android platform not specified, searching a default one...
running: '/Users/user/android-sdk-macosx/tools/android update lib-project -p /Users/user/Cocos2dxProjects/demo-ui-master/build/demo-ui/jsb/frameworks/cocos2d-x/cocos/platform/android/java -t android-15'Building native...
NDK build mode: debug
running: '/Users/user/android-ndk/ndk-build -C /Users/dvorkapic/Cocos2dxProjects/demo-ui-master/build/demo-ui/jsb/frameworks/runtime-src/proj.android -j8 NDK_MODULE_PATH=/Users/user/Cocos2dxProjects/demo-ui-master/build/demo-ui/jsb/frameworks/runtime-src/proj.android/../../cocos2d-x:/Users/user/Cocos2dxProjects/demo-ui-master/build/demo-ui/jsb/frameworks/runtime-src/proj.android/../../cocos2d-x/cocos:/Users/user/Cocos2dxProjects/demo-ui-master/build/demo-ui/jsb/frameworks/runtime-src/proj.android/../../cocos2d-x/external NDK_TOOLCHAIN_VERSION=4.9 NDK_DEBUG=1'Error running command, return code: 2.
I tried checking app.asar but I saw in one of the other posts here that there is probably no error there, regarding to some other error occuring.
And this gettablesize error, I am not sure how to approach this as I am not sure which file(s) should I check?
Any help is appreciated.
Posts: 2
Participants: 1