lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello Group,
I am Trying to install LuaSql to establish connction with database MySQL.
I downloaded the package and after extracting it ,I did some changes in configuration file. And after all I run 'make' command.
But I got some errors like :

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -ansi -pedantic -I../compat/src -I/usr/local/mysql/include -I/usr/local/include    -c -o src/luasql.o src/luasql.c
In file included from src/luasql.c:15:0:
src/luasql.h:24:73: warning: type defaults to ‘int’ in declaration of ‘luaL_reg’
src/luasql.h:24:82: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
src/luasql.c:46:73: warning: type defaults to ‘int’ in declaration of ‘luaL_reg’
src/luasql.c:46:82: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
src/luasql.c:31:12: warning: ‘luasql_tostring’ defined but not used
make: *** [src/luasql.o] Error 1

 Please help me in removing these errors.

--
Sandeep Ghai
blog: http://sandeepghai.wordpress.com