Click to See Complete Forum and Search --> : Quake2forge


Worf Maugg
06-02-2004, 01:30 PM
I can't get it to build make exits with
In file included from snd_ao.c:27:
/usr/include/ao/ao.h:80: syntax error before "FILE"
/usr/include/ao/ao.h:87: syntax error before '}' token
/usr/include/ao/ao.h:99: syntax error before '*' token
/usr/include/ao/ao.h:100: syntax error before '*' token
/usr/include/ao/ao.h:102: syntax error before '*' token
/usr/include/ao/ao.h:103: syntax error before '*' token
/usr/include/ao/ao.h:105: syntax error before '*' token
/usr/include/ao/ao.h:106: syntax error before '*' token
/usr/include/ao/ao.h:126: syntax error before '*' token
/usr/include/ao/ao.h:128: syntax error before '*' token
/usr/include/ao/ao.h:131: syntax error before '*' token
/usr/include/ao/ao.h:132: syntax error before '*' token
snd_ao.c:38: syntax error before '*' token
cc1: warnings being treated as errors
snd_ao.c:38: warning: type defaults to `int' in declaration of `device'
snd_ao.c:38: warning: data definition has no type or storage class
make[3]: *** [snd_ao_la-snd_ao.lo] Error 1
make[3]: Leaving directory `/extra1/stuff/quake2-0.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/extra1/stuff/quake2-0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/extra1/stuff/quake2-0.3'
make: *** [all] Error 2

It seems to be a syntax error in the code but i have no idea how to fix it. Quakeforge.net has been down for a few weeks. Any ideas?
I have compiled thier Quake1 source it runs fine but can't join any servers except quakeforge servers. I got fuhquake to compile and run online but would like to quake2 going.

bwkaz
06-02-2004, 05:50 PM
That really doesn't look like it's all the errors... are you getting any more before that?

Try make >log.txt 2>&1 to trap all messages into a file named "log.txt". Then attach that file to your next post (or just copy and paste into your next post if it isn't very long; then we don't have to separately download and view it).

Worf Maugg
06-03-2004, 09:40 AM
Hmm, I looked through some of it but it's way beyond me.

bwkaz
06-03-2004, 06:42 PM
Hmm... that is weird. Do you have libao and libao-devel (if applicable) installed (as in http://www.xiph.org/ao/, though xiph.org isn't responding for me)? It looks like you do, but maybe it's not all the way there or something.

If you do have it, try disabling ao output altogether (check ./configure --help to find out which option to use to do that, and then pass the appropriate option to ./configure).

Also try installing libc-devel or glibc-devel or whatever your distro calls it, if it isn't installed already.

If it still doesn't work, post where you downloaded the package from (if possible) and I'll see if I can figure anything out.

Worf Maugg
06-04-2004, 06:16 PM
OK this isn’t very elegant but I just hid “/usr/include/ao” by renaming it “/usr/include/ao1”. Then the configure script couldn’t find it so make didn’t try to use it and I could build it. The game runs just fine so I guess whatever I disabled didn’t break anything. I did try some stuff with the configure script like “--disable-ao” but this is what finally worked.
I know it’s a dumb solution but I had to post. I hate it when posts just stop and you never find out what made it work.
Thanks a lot for looking into it for me!