Compiler-Problem with cdaudio
Posted: 17 Mar 2007, 20:58
Hello!
I try to compile the svn-revision 902 of wz but get a compiler-error on file cdautio.c
Can you give me a hint what to do?
What more informations do you need?
emm, think I should write something about the system
Ubuntu 6.10
sdl-1.2.11
physfs-1.0.1
bison 2.3
flex 2.5.33
Greets,
Manfred
I try to compile the svn-revision 902 of wz but get a compiler-error on file cdautio.c
Code: Select all
make[2]: Betrete Verzeichnis '/home1/haegar/sources/warzone/lib/sound'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../lib/framework -I../.. -g -DDEBUG -Wall -Wno-unused-label -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DYY_STATIC -DDEFAULT_DATADIR=\"/usr/local/share/warzone2100\" -g -O2 -O0 -MT cdaudio.o -MD -MP -MF ".deps/cdaudio.Tpo" -c -o cdaudio.o cdaudio.c; \
then mv -f ".deps/cdaudio.Tpo" ".deps/cdaudio.Po"; else rm -f ".deps/cdaudio.Tpo"; exit 1; fi
cdaudio.c:104: error: expected declaration specifiers or ‘...’ before ‘ogg_int64_t’
cdaudio.c: In function ‘cdAudio_FillBuffer’:
cdaudio.c:366: warning: unused variable ‘section’
make[2]: *** [cdaudio.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home1/haegar/sources/warzone/lib/sound'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home1/haegar/sources/warzone/lib'
make: *** [all-recursive] Fehler 1
What more informations do you need?
emm, think I should write something about the system
Ubuntu 6.10
sdl-1.2.11
physfs-1.0.1
bison 2.3
flex 2.5.33
Greets,
Manfred