luasql 源码编译出错,请帮助

L11758207 发布于 2012/03/16 16:37
阅读 854
收藏 0
keplerproject-luasql-7aea02d]# make
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -ansi -pedantic -I../compat/src -I/home/oracle/product/10.2.0/client/rdbms/public -I/usr/local/include -DLUASQL_VERSION_NUMBER='"2.2.0"'    -c -o src/luasql.o src/luasql.c
In file included from src/luasql.c:15:
src/luasql.h:25: warning: type defaults to 'int' in declaration of 'luaL_reg'
src/luasql.h:25: error: expected ';', ',' or ')' before '*' token
src/luasql.c:63: warning: type defaults to 'int' in declaration of 'luaL_reg'
src/luasql.c:63: error: expected ';', ',' or ')' before '*' token
make: *** [src/luasql.o] Error 1
加载中
0
L11758207
L11758207

src/luasql.h:25:

LUASQL_API int luasql_createmeta (lua_State *L, const char *name, const luaL_reg *methods);

0
L11758207
L11758207

src/luasql.c:63:

LUASQL_API int luasql_createmeta (lua_State *L, const char *name, const luaL_reg *methods)

返回顶部
顶部