LUA & OCL compilation error.

Dear friends,

I have a problem with the compilation of OCL that shows with the enxt error lines:

Scanning dependencies of target lua-repl
[ 35%] Building C object lua/CMakeFiles/lua-repl.dir/lua-repl.c.o
/media/DATA/orocos-toolchain-2.5.0/ocl/lua/lua-repl.c: In function ‘print_version’:
/media/DATA/orocos-toolchain-2.5.0/ocl/lua/lua-repl.c:121: error: expected ‘)’ before ‘LUA_RELEASE’
/media/DATA/orocos-toolchain-2.5.0/ocl/lua/lua-repl.c: In function ‘handle_luainit’:
/media/DATA/orocos-toolchain-2.5.0/ocl/lua/lua-repl.c:334: error: ‘LUA_INIT’ undeclared (first use in this function)
/media/DATA/orocos-toolchain-2.5.0/ocl/lua/lua-repl.c:334: error: (Each undeclared identifier is reported only once
/media/DATA/orocos-toolchain-2.5.0/ocl/lua/lua-repl.c:334: error: for each function it appears in.)
/media/DATA/orocos-toolchain-2.5.0/ocl/lua/lua-repl.c:339: error: expected ‘)’ before ‘LUA_INIT’
make[2]: *** [lua/CMakeFiles/lua-repl.dir/lua-repl.c.o] Error 1
make[1]: *** [lua/CMakeFiles/lua-repl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Somebody knows what is the problem?

Note:I downloaded the Lua5.1 from sources and it was installed correctly.

Thanks in advance Toni