Cant compile ES native libs on ASUS tf201

Started by crashtua, March 30, 2013, 17:20:25

Previous topic - Next topic

crashtua

Cant compile, it gives error:
    [apply] /home/prime-user/LWJGL/src/native/common/opengles/org_lwjgl_opengles_CallbackUtil.c:56:22: error: expected «=», «,», «;», «asm» or «__attribute__» before «debugCallbackKHR»

What it can be?

crashtua

The next error i have is:
[apply] /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libXxf86vm.a(XF86VMode.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    [apply] /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libXxf86vm.a: could not read symbols: Bad value

Previous error bypassed by removing APIENTRY before function declaration.