Topic: [SOLVED] Problems compilIng in Ubuntu Jaunty Jackalope
OS: Ubuntu 9.04
Version: 0.5.2
While trying to build with bam i get the following output
vio@vio-desktop:~/teeworlds-0.5.2-src$ ../bam-0.2.0/src/bam release
bam: building 'release'
[ 1/45] #1 c src/engine/client/ec_snd.c
src/engine/client/ec_snd.c:7:17: error: SDL.h: No existe el fichero ó directorio
src/engine/client/ec_snd.c:244: error: expected declaration specifiers or ‘...’ before ‘Uint8’
src/engine/client/ec_snd.c: En la función ‘sdlcallback’:
src/engine/client/ec_snd.c:246: error: ‘stream’ no se declaró aquí (primer uso en esta función)
src/engine/client/ec_snd.c:246: error: (Cada identificador no declarado solamente se reporta una vez
src/engine/client/ec_snd.c:246: error: para cada funcion en la que aparece.)
src/engine/client/ec_snd.c: En la función ‘snd_init’:
src/engine/client/ec_snd.c:251: error: ‘SDL_AudioSpec’ no se declaró aquí (primer uso en esta función)
src/engine/client/ec_snd.c:251: error: expected ‘;’ before ‘format’
src/engine/client/ec_snd.c:261: error: ‘format’ no se declaró aquí (primer uso en esta función)
src/engine/client/ec_snd.c:262: error: ‘AUDIO_S16’ no se declaró aquí (primer uso en esta función)
src/engine/client/ec_snd.c:269: aviso: declaración implícita de la función ‘SDL_OpenAudio’
src/engine/client/ec_snd.c:271: aviso: declaración implícita de la función ‘SDL_GetError’
src/engine/client/ec_snd.c:277: aviso: declaración implícita de la función ‘SDL_PauseAudio’
src/engine/client/ec_snd.c: En la función ‘snd_shutdown’:
src/engine/client/ec_snd.c:304: aviso: declaración implícita de la función ‘SDL_CloseAudio’
bam: command returned error: 256
bam: error during build
I already tried reinstalling libsdl1.2-all and libsdl1.2-dev but it didn't help.
Any idea?
Would appreciate any help.
edit:
ok, here's the same code in english
vio@vio-desktop:~/teeworlds-0.5.2-src$ LANG=english ../bam-0.2.0/src/bam release
bam: building 'release'
[ 1/45] #1 c src/engine/client/ec_snd.c
src/engine/client/ec_snd.c:7:17: error: SDL.h: No such file or directory
src/engine/client/ec_snd.c:244: error: expected declaration specifiers or '...' before 'Uint8'
src/engine/client/ec_snd.c: In function 'sdlcallback':
src/engine/client/ec_snd.c:246: error: 'stream' undeclared (first use in this function)
src/engine/client/ec_snd.c:246: error: (Each undeclared identifier is reported only once
src/engine/client/ec_snd.c:246: error: for each function it appears in.)
src/engine/client/ec_snd.c: In function 'snd_init':
src/engine/client/ec_snd.c:251: error: 'SDL_AudioSpec' undeclared (first use in this function)
src/engine/client/ec_snd.c:251: error: expected ';' before 'format'
src/engine/client/ec_snd.c:261: error: 'format' undeclared (first use in this function)
src/engine/client/ec_snd.c:262: error: 'AUDIO_S16' undeclared (first use in this function)
src/engine/client/ec_snd.c:269: warning: implicit declaration of function 'SDL_OpenAudio'
src/engine/client/ec_snd.c:271: warning: implicit declaration of function 'SDL_GetError'
src/engine/client/ec_snd.c:277: warning: implicit declaration of function 'SDL_PauseAudio'
src/engine/client/ec_snd.c: In function 'snd_shutdown':
src/engine/client/ec_snd.c:304: warning: implicit declaration of function 'SDL_CloseAudio'
bam: command returned error: 256
bam: error during build