I am trying to build a cocos2dx project for x86 android architecture but i get the following error when i try to compile it.
./obj/local/x86/curl.a(hostip.o):(.text.alarmfunc+0x21): undefined reference to `siglongjmp'
./obj/local/x86/curl.a(hostip.o): In function `Curl_resolv_timeout':
(.text.Curl_resolv_timeout+0x156): undefined reference to `sigsetjmp'
When i googled the error i found that it has been reported as issue 19851 in google code. They have not made any fixes yet but they had suggested to add a modified libc.so and sched.h file. I tried this and it did not work.
Can anyone tell me how to fix this.
Fixed the issue by copying libc.so attached in response to issue 19851 to latest version of ndk. I was using ndkr8 and copying the libc.so file to ndkr8d fixed the issue.