view paste/paste.2788 @ 2864:2d427b75daf1

<Jafet> echo \'const short main[] = {18517,58761,49201,49801,49407,51081,3816,0,18432,27749,28524,8236,28535,27762,8548,24074,3762,1295,15536,65329,1295};\' > hi.c && gcc hi.c -o hi && ./hi
author HackBot
date Sun, 05 May 2013 16:09:40 +0000
parents 35723677f1c5
children
line wrap: on
line source

cd src && make linux
make[1]: Entering directory `/hackenv/luabuild/lua-5.2.1/src'
make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline -lncurses"
make[2]: Entering directory `/hackenv/luabuild/lua-5.2.1/src'
gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX    -c -o lua.o lua.c
make[2]: Leaving directory `/hackenv/luabuild/lua-5.2.1/src'
make[1]: Leaving directory `/hackenv/luabuild/lua-5.2.1/src'
lua.c:67:31: error: readline/readline.h: No such file or directory
lua.c:68:30: error: readline/history.h: No such file or directory
lua.c: In function ‘pushline’:
lua.c:266: warning: implicit declaration of function ‘readline’
lua.c:266: warning: assignment makes pointer from integer without a cast
lua.c: In function ‘loadline’:
lua.c:296: warning: implicit declaration of function ‘add_history’
make[2]: *** [lua.o] Error 1
make[1]: *** [linux] Error 2
make: *** [linux] Error 2