linux-7n5z:/home/matze/Downloads/ff-src-0.3 # make
rm -f game/misc.o game/map.o game/player.o game/entity.o game/resource_manager.o game/weapon.o game/light.o
make CFLAGS="-O2 -pipe -fomit-frame-pointer" VERSION="0.3" -C game/
make[1]: Entering directory `/home/matze/Downloads/ff-src-0.3/game'
gcc -c `sdl-config --cflags` `pkg-config --cflags libpng` -DRENDER -D'VERSION="0.3"' -O2 -pipe -fomit-frame-pointer main.c -o main.o
/bin/sh: sdl-config: Kommando nicht gefunden.
In file included from main.c:41:
main.h:46:17: error: SDL.h: Datei oder Verzeichnis nicht gefunden
main.h:47:21: error: SDL_net.h: Datei oder Verzeichnis nicht gefunden
main.h:48:24: error: SDL_opengl.h: Datei oder Verzeichnis nicht gefunden
main.h:49:22: error: SDL_main.h: Datei oder Verzeichnis nicht gefunden
main.h:52:19: error: AL/al.h: Datei oder Verzeichnis nicht gefunden
main.h:55:21: error: AL/alut.h: Datei oder Verzeichnis nicht gefunden
main.h:58:17: error: lua.h: Datei oder Verzeichnis nicht gefunden
main.h:59:20: error: lualib.h: Datei oder Verzeichnis nicht gefunden
main.h:60:21: error: lauxlib.h: Datei oder Verzeichnis nicht gefunden
In file included from net.h:30,
from main.h:64,
from main.c:41:
stream.h:33:24: error: SDL_endian.h: Datei oder Verzeichnis nicht gefunden
In file included from net.h:30,
from main.h:64,
from main.c:41:
stream.h:48: error: expected declaration specifiers or ‘...’ before ‘Uint8’
stream.h:49: error: expected declaration specifiers or ‘...’ before ‘Uint16’
stream.h:50: error: expected declaration specifiers or ‘...’ before ‘Uint32’
stream.h:51: error: expected declaration specifiers or ‘...’ before ‘Sint8’
stream.h:52: error: expected declaration specifiers or ‘...’ before ‘Sint16’
stream.h:53: error: expected declaration specifiers or ‘...’ before ‘Sint32’
stream.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Uint8’
stream.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Uint16’
stream.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Uint32’
stream.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Sint8’
stream.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Sint16’
stream.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stream_read_Sint32’
In file included from main.h:64,
from main.c:41:
net.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘net_address’
net.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘net_socket’
net.h:83: error: expected specifier-qualifier-list before ‘Uint32’
net.h:93: error: expected specifier-qualifier-list before ‘net_socket’
net.h:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘net_open’
net.h:161: error: expected ‘)’ before ‘sock’
net.h:162: error: expected declaration specifiers or ‘...’ before ‘Uint16’
net.h:163: error: expected ‘)’ before ‘sock’
net.h:165: error: expected ‘)’ before ‘sock’
net.h:166: error: expected ‘)’ before ‘sock’
net.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
net.h:168: error: expected ‘)’ before ‘sock’
net.h:169: error: expected ‘)’ before ‘sock’
net.h:170: error: expected ‘)’ before ‘*’ token
net.h:171: error: expected ‘)’ before ‘*’ token
net.h:172: error: expected ‘)’ before ‘*’ token
net.h:173: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.h:65,
from main.c:41:
net_connections.h:38: error: expected ‘)’ before ‘sock’
net_connections.h:40: error: expected ‘)’ before ‘sock’
net_connections.h:41: error: expected ‘)’ before ‘*’ token
In file included from entity.h:30,
from player.h:30,
from main.h:71,
from main.c:41:
map.h:172: error: expected specifier-qualifier-list before ‘Uint32’
In file included from player.h:30,
from main.h:71,
from main.c:41:
entity.h:81: error: expected specifier-qualifier-list before ‘Uint8’
In file included from main.h:71,
from main.c:41:
player.h:118: error: expected specifier-qualifier-list before ‘Sint16’
In file included from main.h:71,
from main.c:41:
player.h:148: error: expected ‘)’ before ‘p’
player.h:150: error: expected ‘)’ before ‘p’
player.h:151: error: expected ‘)’ before ‘p’
player.h:152: error: expected ‘)’ before ‘p’
player.h:153: error: expected ‘)’ before ‘p’
player.h:154: error: expected ‘)’ before ‘p’
In file included from main.h:72,
from main.c:41:
loop.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sock’
loop.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.h:76,
from main.c:41:
input.h:51: error: expected specifier-qualifier-list before ‘Uint8’
input.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
input.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mouse_buttons’
In file included from menu.h:30,
from main.h:79,
from main.c:41:
ogg.h:30:21: error: ogg/ogg.h: Datei oder Verzeichnis nicht gefunden
ogg.h:31:31: error: vorbis/vorbisfile.h: Datei oder Verzeichnis nicht gefunden
In file included from menu.h:30,
from main.h:79,
from main.c:41:
ogg.h:41: error: expected specifier-qualifier-list before ‘OggVorbis_File’
In file included from main.h:91,
from main.c:41:
message.h:35: error: expected specifier-qualifier-list before ‘Uint32’
In file included from main.c:41:
main.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c: In function ‘init’:
main.c:165: error: ‘lua_vm’ undeclared (first use in this function)
main.c:165: error: (Each undeclared identifier is reported only once
main.c:165: error: for each function it appears in.)
main.c:181: error: ‘SDL_INIT_VIDEO’ undeclared (first use in this function)
main.c:181: error: ‘SDL_INIT_TIMER’ undeclared (first use in this function)
main.c:181: error: ‘SDL_INIT_NOPARACHUTE’ undeclared (first use in this function)
main.c:190: error: ‘SDL_GRAB_ON’ undeclared (first use in this function)
main.c:197: error: ‘SDL_GL_RED_SIZE’ undeclared (first use in this function)
main.c:198: error: ‘SDL_GL_GREEN_SIZE’ undeclared (first use in this function)
main.c:199: error: ‘SDL_GL_BLUE_SIZE’ undeclared (first use in this function)
main.c:200: error: ‘SDL_GL_DEPTH_SIZE’ undeclared (first use in this function)
main.c:201: error: ‘SDL_GL_DOUBLEBUFFER’ undeclared (first use in this function)
main.c:205: error: ‘sock’ undeclared (first use in this function)
main.c:210: error: ‘screen’ undeclared (first use in this function)
main.c:210: error: ‘SDL_OPENGL’ undeclared (first use in this function)
main.c:210: error: ‘SDL_FULLSCREEN’ undeclared (first use in this function)
main.c:245: error: ‘AL_POSITION’ undeclared (first use in this function)
main.c:246: error: ‘AL_VELOCITY’ undeclared (first use in this function)
main.c:248: error: ‘AL_ORIENTATION’ undeclared (first use in this function)
main.c:252: error: ‘SDL_DISABLE’ undeclared (first use in this function)
main.c: In function ‘quit’:
main.c:276: error: ‘lua_vm’ undeclared (first use in this function)
make[1]: *** [main.o] Fehler 1
make[1]: Leaving directory `/home/matze/Downloads/ff-src-0.3/game'
make: *** [compile] Fehler 2
linux-7n5z:/home/matze/Downloads/ff-src-0.3 # make install
mkdir -p /opt/flatfrag/
cp -r * /opt/flatfrag/
linux-7n5z:/home/matze/Downloads/ff-src-0.3 # checkinstall
If 'checkinstall' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf checkinstall
linux-7n5z:/home/matze/Downloads/ff-src-0.3 #