lua-users home
lua-l archive

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


Hi,all friend
The follow is my build system:
The debian version is Linux debian 2.6.32-5-686
The gcc version is gcc version 4.4.5
LuaJit version is 1.1.5
 
I build my project and get such error:
In file included from ljit_core.c:26:
/usr/include/stdio.h:653:33: error: macro "getline" passed 3 arguments, but takes just 2
 
I have search online, and find such solution
http://lua-users.org/lists/lua-l/2009-05/msg00392.html
But i cann't use the "make ansi" method in my build.sh
 
Someone suggest me to use gcc 4.3, but i failed to downgrade the gcc.
 
So I come here for help.
How do i deal with this error?
Thanks