All pastes #769842 Raw Edit

Untitled

public text v1 · immutable
·published 2007-11-11 18:35 UTC
rendered paste body
john@thinkbook:~/crap/gojo$ make
gcc -c `pkg-config --cflags sdl lua` main.c
Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lua' found
main.c:73:30: error: SDL/SDL_rotozoom.h: No such file or directory
main.c:76:25: error: SDL/SDL_ttf.h: No such file or directory
main.c:79:27: error: SDL/SDL_mixer.h: No such file or directory
main.c:82:25: error: SDL/SDL_net.h: No such file or directory
main.c:84:17: error: lua.h: No such file or directory
main.c:85:20: error: lualib.h: No such file or directory
main.c:86:21: error: lauxlib.h: No such file or directory
In file included from main.c:88:
binds.h:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sdl_binds’
main.c: In function ‘main’:
main.c:145: warning: initialization makes pointer from integer without a cast
main.c:156: error: ‘sdl_binds’ undeclared (first use in this function)
main.c:156: error: (Each undeclared identifier is reported only once
main.c:156: error: for each function it appears in.)
main.c:184: warning: incompatible implicit declaration of built-in function ‘strndup’
main.c:184: warning: passing argument 1 of ‘strndup’ makes pointer from integer without a cast
main.c:185: warning: passing argument 1 of ‘strndup’ makes pointer from integer without a cast
make: *** [main.o] Error 1
john@thinkbook:~/crap/gojo$