On Wed, Sep 1, 2010 at 7:55 PM, ovvenkat <
ovvenkatesan@gmail.com> wrote:
> Hi to all,
>
> I could not able to compile "luasql-2.1.1" on CENT 5.3 32-bit. I am getting
> following errors while compiling the source code
>
>
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -ansi -pedantic
> -I../compat/src -I/usr/local/include -c -o src/luasql.o src/luasql.c
> src/luasql.c:8:17: error: lua.h: No such file or directory
> src/luasql.c:9:21: error: lauxlib.h: No such file or directory
> src/luasql.c:11:24: error: compat-5.1.h: No such file or directory
> In file included from src/luasql.c:15:
> src/luasql.h:23: error: expected ‘)’ before ‘*’ token
> src/luasql.h:24: error: expected ‘)’ before ‘*’ token
> src/luasql.h:25: error: expected ‘)’ before ‘*’ token
> src/luasql.h:26: error: expected ‘)’ before ‘*’ token
> src/luasql.c:20: error: expected ‘)’ before ‘*’ token
> src/luasql.c:31: error: expected ‘)’ before ‘*’ token
> src/luasql.c:46: error: expected ‘)’ before ‘*’ token
> src/luasql.c:78: error: expected ‘)’ before ‘*’ token
> src/luasql.c:87: error: expected ‘)’ before ‘*’ token
> make: *** [src/luasql.o] Error 1
>
> Any one faced resolved the same issue?
>
> --
>
> Regards
> Venkat.
>