CVS in OSX Tiger Mk III

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
Lonestar
Bounty Hunter
Bounty Hunter
Posts: 150
Joined: Wed Dec 15, 2004 8:18 pm
Location: Ohio
Contact:

CVS in OSX Tiger Mk III

Post 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)
You do not have the required permissions to view the files attached to this post.
==========
Lonestar
==========
"Not if we jam it! Down scope!"
Lonestar
Bounty Hunter
Bounty Hunter
Posts: 150
Joined: Wed Dec 15, 2004 8:18 pm
Location: Ohio
Contact:

Post 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?
==========
Lonestar
==========
"Not if we jam it! Down scope!"
Lonestar
Bounty Hunter
Bounty Hunter
Posts: 150
Joined: Wed Dec 15, 2004 8:18 pm
Location: Ohio
Contact:

Post 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
==========
Lonestar
==========
"Not if we jam it! Down scope!"
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post 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
"Computers are useless. They can only give you answers."
-- Pablo Picasso
Lonestar
Bounty Hunter
Bounty Hunter
Posts: 150
Joined: Wed Dec 15, 2004 8:18 pm
Location: Ohio
Contact:

Post 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 :(
==========
Lonestar
==========
"Not if we jam it! Down scope!"
Post Reply