Subject: Re: 'quake' not building correctly?
To: Peter Seebach <seebs@plethora.net>
From: Allen Briggs <briggs@ninthwonder.com>
List: current-users
Date: 02/07/2000 09:05:09
> Anyone else had Quake fail to build with linker errors galore?

I just tried to build it yesterday (after upgrading from netbsd-1-4
to the last available -current snapshot).  I got through a couple of
link stages, but it died on one pass of the compilation:

gcc -Wall -Dstricmp=strcasecmp -I/usr/pkgsrc/games/quake/work.i386/QW/client -I/usr/pkgsrc/games/quake/work.i386/QW/server -O2 -DELF -DELF -I/usr/X11R6/include -O0 -g -DGLQUAKE -I/usr/local/src/Mesa-3.0/include -I/usr/include/glide -o debug_version/glclient/cl_demo.o -c /usr/pkgsrc/games/quake/work.i386/QW/client/cl_demo.c
In file included from /usr/pkgsrc/games/quake/work.i386/QW/client/quakedef.h:76,
                 from /usr/pkgsrc/games/quake/work.i386/QW/client/cl_demo.c:21:
/usr/pkgsrc/games/quake/work.i386/QW/client/glquake.h:22: warning: ignoring pragma: warning
/usr/pkgsrc/games/quake/work.i386/QW/client/glquake.h:23: warning: ignoring pragma: warning
/usr/pkgsrc/games/quake/work.i386/QW/client/glquake.h:24: warning: ignoring pragma: warning
In file included from /usr/pkgsrc/games/quake/work.i386/QW/client/quakedef.h:76,
                 from /usr/pkgsrc/games/quake/work.i386/QW/client/cl_demo.c:21:
/usr/pkgsrc/games/quake/work.i386/QW/client/glquake.h:38: syntax error before `*'
/usr/pkgsrc/games/quake/work.i386/QW/client/glquake.h:40: syntax error before `*'
/usr/pkgsrc/games/quake/work.i386/QW/client/glquake.h:41: syntax error before `*'
[etc...]

However, I'm not running the Mesa (or Mesa-glx) package--I'm running
"-current" build of glx from their cvs tree (circa sometime yesterday).
I assumed that was the source of my problems...  I was building it for
fun, not for profit ;-), so I haven't gotten back to it--I'm rebuilding
a _lot_ of packages since I'm in the middle of the a.out->ELF transition.

-allen