Page 1 of 1

CVS in OSX Tiger Mk III

Posted: Wed Aug 10, 2005 5:24 pm
by Lonestar
After a bit of fiddling around with fink (and installing a ton of crap that I probably didn't need), I got this far:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-long-double -I/Developer/SDKs/MacOSX10.4.0.sdk/Library/Frameworks/OpenAL.framework/Headers -I/sw/include -DWITH_MACOSX_BUNDLE=1 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -I/Developer/SDKs/MacOSX10.4.0.sdk/System/Library/Frameworks/Carbon.framework/Libraries/CIncludes -I/sw/include -I/sw/include -I/sw/include -DJPEG_SUPPORT -I/Developer/SDKs/MacOSX10.4.0.sdk/Library/Frameworks/OpenAL.framework/Headers -I/sw/include -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../src/boost129 -I../../src -I/Developer/SDKs/MacOSX10.4.0sdk/System/Library/Frameworks/Carbon.framework/Libraries/CIncludes -pipe -O2 -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/sw/include/SDL -D_THREAD_SAFE -D_REENTRANT -pipe -c -o missile_generic.o `test -f 'missile_generic.cpp' || echo './'`missile_generic.cpp
/usr/include/sys/types.h:120: error: declaration does not declare anything
make[4]: *** [missile_generic.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

...with my config.log attached (as config.txt)

Posted: Tue Aug 23, 2005 2:11 pm
by Lonestar
I just deleted the vegastrike dir and downloaded the latest cvs and recompiled from scratch. Still doing this. I have no idea what is causing it. Anyone?

Posted: Thu Aug 25, 2005 1:20 pm
by Lonestar
Ok... I thinks I'm past that. Now I'm getting:

Making all in aldrv
source='al_sound.cpp' object='al_sound.o' libtool=no \
depfile='.deps/al_sound.Po' tmpdepfile='.deps/al_sound.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-long-double -I/Developer/SDKs/MacOSX10.4.0.sdk/System/Library/Frameworks/OpenAL.framework/Headers -I/sw/include -DWITH_MACOSX_BUNDLE=1 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -I/Developer/SDKs/MacOSX10.4.0.sdk/System/Library/Frameworks/Carbon.framework/Libraries/CIncludes -I/sw/include -I/sw/include -I/sw/include -DJPEG_SUPPORT -DHAVE_AL=1 -DHAVE_OGG -I/Developer/SDKs/MacOSX10.4.0.sdk/System/Library/Frameworks/OpenAL.framework/Headers -I/sw/include -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../src/boost129 -I../../src -fpermissive -I/Developer/SDKs/MacOSX10.4.0sdk/System/Library/Frameworks/Carbon.framework/Libraries/CIncludes -pipe -O2 -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/sw/include/SDL -D_THREAD_SAFE -D_REENTRANT -pipe -c -o al_sound.o `test -f 'al_sound.cpp' || echo './'`al_sound.cpp
/Developer/SDKs/MacOSX10.4.0.sdk/System/Library/Frameworks/OpenAL.framework/Headers/alut.h: In
function `bool MacFixedLoadWAVFile(char*, ALenum*, ALvoid**, ALsizei*,
ALsizei*)':
/Developer/SDKs/MacOSX10.4.0.sdk/System/Library/Frameworks/OpenAL.framework/Headers/alut.h:42: error: too
many arguments to function `ALvoid alutLoadWAVMemory(ALbyte*, ALenum*,
ALvoid**, ALsizei*, ALsizei*)'
al_sound.cpp:23: error: at this point in file
make[3]: *** [al_sound.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Posted: Thu Aug 25, 2005 2:17 pm
by dandandaman
You'll be happy to know that I'm currently working my way through any Tiger building bugs, and gradually getting somewhere (well, I would be but for the constant drizzle patches :-P )

So it should be building out of the box in the next couple of days...with some updated fink instructions too ;-)

Dan.a

Posted: Thu Aug 25, 2005 2:33 pm
by Lonestar
Glad to hear it. I look forward to playing Vegastrike again soon :)

Also, I just got around this problem by switching back to the 10.2.8 sdks in configure.in. We'll see how far it gets this time. It will probably get stuck again on that previous one. This time it's building without OpenAL support, apparently. Not sure where any of this is going :(