svn: doesn´t compile vegastrike/src/networking/softvolume.c

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
lee
Confed Special Operative
Confed Special Operative
Posts: 322
Joined: Sat Aug 21, 2004 2:17 pm

svn: doesn´t compile vegastrike/src/networking/softvolume.c

Post by lee »

Hi,

in line 155 of vegastrike/src/networking/softvolume.cpp appears to be a brace ´)´ too much at the end of the line.

After removing the brace, make soundserver gives the follwing errors:


depbase=`echo src/networking/softvolume.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./boost/1_33 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.4 -DHAVE_PYTHON=1 -I./src -g -O2 -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -pthread -pipe -MT src/networking/softvolume.o -MD -MP -MF "$depbase.Tpo" -c -o src/networking/softvolume.o src/networking/softvolume.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
In file included from src/networking/softvolume.cpp:39:
src/networking/softvolume.h:35:36: warning: no newline at end of file
src/networking/softvolume.cpp:193: error: 'Uint16' does not name a type
src/networking/softvolume.cpp:196: error: 'Mix_EffectFunc_t' does not name a type
src/networking/softvolume.cpp: In function 'void sdl_softvolume_effect_U8(int, void*, int, void*)':
src/networking/softvolume.cpp:217: error: 'Mix_HaltMusic' was not declared in this scope
src/networking/softvolume.cpp: In function 'void sdl_softvolume_effect_S8(int, void*, int, void*)':
src/networking/softvolume.cpp:240: error: 'Mix_HaltMusic' was not declared in this scope
src/networking/softvolume.cpp: In function 'void sdl_softvolume_effect_U16LSB(int, void*, int, void*)':
src/networking/softvolume.cpp:263: error: 'Mix_HaltMusic' was not declared in this scope
src/networking/softvolume.cpp: In function 'void sdl_softvolume_effect_S16LSB(int, void*, int, void*)':
src/networking/softvolume.cpp:286: error: 'Mix_HaltMusic' was not declared in this scope
src/networking/softvolume.cpp: In function 'void sdl_softvolume_effect_U16MSB(int, void*, int, void*)':
src/networking/softvolume.cpp:309: error: 'Mix_HaltMusic' was not declared in this scope
src/networking/softvolume.cpp: In function 'void sdl_softvolume_effect_S16MSB(int, void*, int, void*)':
src/networking/softvolume.cpp:331: error: 'Mix_HaltMusic' was not declared in this scope
src/networking/softvolume.cpp: In function 'void Mix_SoftVolume_Init()':
src/networking/softvolume.cpp:338: error: 'g_sdl_format' was not declared in this scope
src/networking/softvolume.cpp:338: error: 'Mix_QuerySpec' was not declared in this scope
src/networking/softvolume.cpp:340: error: 'AUDIO_U8' was not declared in this scope
src/networking/softvolume.cpp:340: error: 'g_sdl_effect_func' was not declared in this scope
src/networking/softvolume.cpp:341: error: 'AUDIO_S8' was not declared in this scope
src/networking/softvolume.cpp:342: error: 'AUDIO_U16LSB' was not declared in this scope
src/networking/softvolume.cpp:343: error: 'AUDIO_S16LSB' was not declared in this scope
src/networking/softvolume.cpp:344: error: 'AUDIO_U16MSB' was not declared in this scope
src/networking/softvolume.cpp:345: error: 'AUDIO_S16MSB' was not declared in this scope
src/networking/softvolume.cpp: In function 'void Mix_SoftVolume_Change(int, double, double, Mix_SoftVolume_Shape)':
src/networking/softvolume.cpp:357: error: 'SDL_LockAudio' was not declared in this scope
src/networking/softvolume.cpp:393: error: 'SDL_UnlockAudio' was not declared in this scope
src/networking/softvolume.cpp:397: error: 'g_sdl_effect_func' was not declared in this scope
src/networking/softvolume.cpp:397: error: 'Mix_UnregisterEffect' was not declared in this scope
src/networking/softvolume.cpp:398: error: 'Mix_RegisterEffect' was not declared in this scope
src/networking/softvolume.cpp: In function 'void Mix_SoftVolume_Force(int, double)':
src/networking/softvolume.cpp:405: error: 'SDL_LockAudio' was not declared in this scope
src/networking/softvolume.cpp:411: error: 'SDL_UnlockAudio' was not declared in this scope
src/networking/softvolume.cpp: In function 'double Mix_SoftVolume_GetCurrentVolume(int)':
src/networking/softvolume.cpp:420: error: 'SDL_LockAudio' was not declared in this scope
src/networking/softvolume.cpp:426: error: 'SDL_UnlockAudio' was not declared in this scope
src/networking/softvolume.cpp: In function 'void Mix_SoftVolume_AutoStopMusic(int, int)':
src/networking/softvolume.cpp:435: error: 'SDL_LockAudio' was not declared in this scope
src/networking/softvolume.cpp:440: error: 'SDL_UnlockAudio' was not declared in this scope
make: *** [src/networking/softvolume.o] Error 1
Debian testing
NVIDIA-Linux-x86-173.08-pkg1.run
Post Reply