Compilation error with OpenNI2 astra version

Hi folks,

I’m trying to compile the openNI2 source code in the astra git repo. I get the following error

PIC -fvisibility=hidden -o …/…/…/Bin/Intermediate/x86-Release/libOpenNI2.jni.so/org_openni_NativeMethods.o org_openni_NativeMethods.cpp
g++ -o …/…/…/Bin/x86-Release/libOpenNI2.jni.so ./…/…/…/Bin/Intermediate/x86-Release/libOpenNI2.jni.so/OpenNI.jni.o ./…/…/…/Bin/Intermediate/x86-Release/libOpenNI2.jni.so/org_openni_NativeMethods.o -L…/…/…/Bin/x86-Release -lOpenNI2 -Wl,–no-undefined -shared
/usr/lib/i386-linux-gnu/libc_nonshared.a(stack_chk_fail_local.oS): In function __stack_chk_fail_local': (.text+0x10): undefined reference to __stack_chk_fail’

Any suggestion? Looks like i could fix it by modifying the makefile, but i’m not sure if astra developers have seen this or would fix in the main trunk. I’m using a 32 bits x86 processor.

Thanks

Cesc