numerous errors in snd_codec_ogg.c,
while compiling binary from
http://www.openarena.ws/svn/source/ioq3-src-oa.tar.bz2 on
OS X 10.4.11, Power Macintosh/powerpc, by just running make after extraction
Here is the log:
-----------------------------------
gcc -mdynamic-no-pic -Wall -Wimplicit -Wstrict-prototypes -fno-strict-aliasing -DMACOS_X -fno-common -pipe -gfull -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_CODEC_VORBIS=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -D_THREAD_SAFE=1 -Icode/SDL12/include -DUSE_LOCAL_HEADERS=1 -DNDEBUG -faltivec -O3 -ffast-math -falign-loops=16 -MMD -o build/release-darwin-ppc/client/snd_codec_ogg.o -c code/client/snd_codec_ogg.c
code/client/snd_codec_ogg.c:34:31: error: vorbis/vorbisfile.h: No such file or directory
code/client/snd_codec_ogg.c:107: error: parse error before 'ogg_int64_t'
code/client/snd_codec_ogg.c:108: warning: function declaration isn't a prototype
code/client/snd_codec_ogg.c: In function 'S_OGG_Callback_seek':
code/client/snd_codec_ogg.c:113: error: 'datasource' undeclared (first use in this function)
code/client/snd_codec_ogg.c:113: error: (Each undeclared identifier is reported only once
code/client/snd_codec_ogg.c:113: error: for each function it appears in.)
code/client/snd_codec_ogg.c:123: error: 'whence' undeclared (first use in this function)
code/client/snd_codec_ogg.c:128: error: 'offset' undeclared (first use in this function)
code/client/snd_codec_ogg.c: At top level:
code/client/snd_codec_ogg.c:213: error: parse error before 'S_OGG_Callbacks'
code/client/snd_codec_ogg.c:213: warning: type defaults to 'int' in declaration of 'S_OGG_Callbacks'
code/client/snd_codec_ogg.c:215: warning: initialization makes integer from pointer without a cast
code/client/snd_codec_ogg.c:216: warning: excess elements in scalar initializer
code/client/snd_codec_ogg.c:216: warning: (near initialization for 'S_OGG_Callbacks')
code/client/snd_codec_ogg.c:217: warning: excess elements in scalar initializer
code/client/snd_codec_ogg.c:217: warning: (near initialization for 'S_OGG_Callbacks')
code/client/snd_codec_ogg.c:219: warning: excess elements in scalar initializer
code/client/snd_codec_ogg.c:219: warning: (near initialization for 'S_OGG_Callbacks')
code/client/snd_codec_ogg.c:219: warning: data definition has no type or storage class
code/client/snd_codec_ogg.c: In function 'S_OGG_CodecOpenStream':
code/client/snd_codec_ogg.c:231: error: 'OggVorbis_File' undeclared (first use in this function)
code/client/snd_codec_ogg.c:231: error: 'vf' undeclared (first use in this function)
code/client/snd_codec_ogg.c:234: error: 'vorbis_info' undeclared (first use in this function)
code/client/snd_codec_ogg.c:234: error: 'OGGInfo' undeclared (first use in this function)
code/client/snd_codec_ogg.c:235: error: 'ogg_int64_t' undeclared (first use in this function)
code/client/snd_codec_ogg.c:235: error: parse error before 'numSamples'
code/client/snd_codec_ogg.c:260: warning: implicit declaration of function 'ov_open_callbacks'
code/client/snd_codec_ogg.c:270: warning: implicit declaration of function 'ov_seekable'
code/client/snd_codec_ogg.c:272: warning: implicit declaration of function 'ov_clear'
code/client/snd_codec_ogg.c:282: warning: implicit declaration of function 'ov_streams'
code/client/snd_codec_ogg.c:294: warning: implicit declaration of function 'ov_info'
code/client/snd_codec_ogg.c:307: error: 'numSamples' undeclared (first use in this function)
code/client/snd_codec_ogg.c:307: warning: implicit declaration of function 'ov_pcm_total'
code/client/snd_codec_ogg.c: In function 'S_OGG_CodecCloseStream':
code/client/snd_codec_ogg.c:340: error: 'OggVorbis_File' undeclared (first use in this function)
code/client/snd_codec_ogg.c:340: error: parse error before ')' token
code/client/snd_codec_ogg.c: In function 'S_OGG_CodecReadStream':
code/client/snd_codec_ogg.c:389: warning: implicit declaration of function 'ov_read'
code/client/snd_codec_ogg.c:389: error: 'OggVorbis_File' undeclared (first use in this function)
code/client/snd_codec_ogg.c:389: error: parse error before ')' token
code/client/snd_codec_ogg.c:361: warning: unused variable 'BS'
make[1]: *** [build/release-darwin-ppc/client/snd_codec_ogg.o] Error 1
make: *** [build_release] Error 2