Post by Thomas J FogalPost by Buck RekowPost by Thomas J FogalThe main issue is that the makefile sees something that isnt one of its
ifneq ($(ARCH),x86_64)
ifneq ($(ARCH),i386)
ifneq ($(ARCH),axp)
ifneq ($(ARCH),ppc)
ifneq ($(ARCH),sparc)
<snip>
*blink*. oh. erm.. i knew that... really...
Post by Buck RekowDEC alpha axp? big bad 64 bit things that still beat up itaniums? I
heheh yes i hear its a wonderful architecture, its too bad intel's
chips beat them out of the market =(
Post by Buck Rekowhave several. Though the binary built.. no video drivers built. I have a
fairly heavy duty GL card in one (diamond fireGL 3000 pro), console
likes it, X doesn't (thanks debian), but i should be able to run it
ref_soft or ref_glx if i had the drivers..
I'm lost as to the reason, then. Maybe you could post a build log +
variable settings at the top of the Makefile?
-tom
Near as I can tell the makefile is wired to not build it.
Where it read
ifeq ($(strip $(BUILD_SVGA)),YES)
$(warning Warning: SVGAlib support not supported for $(ARCH))
endif
I altered it to read
ifeq ($(strip $(BUILD_SVGA)),YES)
TARGETS += $(BUILDDIR)/ref_soft.$(SHLIBEXT)
endif
and got:
gcc -Wall -pipe -Dstricmp=strcasecmp -DJoystick -DC_ONLY -ffast-math
-funroll-loops -fomit-frame-pointer -fexpensive-optimizations
-DLINUX_VERSION='"3.21+r0.16"' -fPIC -o releaseaxp/ref_soft/rw_svgalib.o
-c src/linux/rw_svgalib.c
src/linux/rw_svgalib.c:45: vga.h: No such file or directory
src/linux/rw_svgalib.c:46: vgakeyboard.h: No such file or directory
src/linux/rw_svgalib.c:47: vgamouse.h: No such file or directory
src/linux/rw_svgalib.c:62: parse error before `*'
src/linux/rw_svgalib.c:62: warning: type defaults to `int' in
declaration of `modes'
src/linux/rw_svgalib.c:62: warning: data definition has no type or
storage class
src/linux/rw_svgalib.c: In function `VID_InitModes':
src/linux/rw_svgalib.c:76: warning: implicit declaration of function
`vga_lastmodenumber'
src/linux/rw_svgalib.c:77: `vga_modeinfo' undeclared (first use in this
function)
src/linux/rw_svgalib.c:77: (Each undeclared identifier is reported only once
src/linux/rw_svgalib.c:77: for each function it appears in.)
src/linux/rw_svgalib.c:80: warning: implicit declaration of function
`vga_hasmode'
src/linux/rw_svgalib.c:81: warning: implicit declaration of function
`vga_getmodeinfo'
src/linux/rw_svgalib.c:81: warning: passing arg 2 of `memcpy' makes
pointer from integer without a cast
src/linux/rw_svgalib.c:83: request for member `width' in something not a
structure or union
src/linux/rw_svgalib.c:90: request for member `bytesperpixel' in
something not a structure or union
src/linux/rw_svgalib.c:90: request for member `colors' in something not
a structure or union
src/linux/rw_svgalib.c:91: request for member `width' in something not a
structure or union
src/linux/rw_svgalib.c:95: request for member `width' in something not a
structure or union
src/linux/rw_svgalib.c:96: request for member `width' in something not a
structure or union
src/linux/rw_svgalib.c:96: request for member `height' in something not
a structure or union
src/linux/rw_svgalib.c: In function `SWimp_Init':
src/linux/rw_svgalib.c:108: warning: implicit declaration of function
`vga_init'
src/linux/rw_svgalib.c: In function `get_mode':
src/linux/rw_svgalib.c:121: request for member `width' in something not
a structure or union
src/linux/rw_svgalib.c:122: request for member `width' in something not
a structure or union
src/linux/rw_svgalib.c:122: request for member `height' in something not
a structure or union
src/linux/rw_svgalib.c: In function `SWimp_InitGraphics':
src/linux/rw_svgalib.c:158: request for member `width' in something not
a structure or union
src/linux/rw_svgalib.c:159: request for member `height' in something not
a structure or union
src/linux/rw_svgalib.c:160: request for member `bytesperpixel' in
something not a structure or union
src/linux/rw_svgalib.c:161: request for member `linewidth' in something
not a structure or union
src/linux/rw_svgalib.c:163: request for member `linewidth' in something
not a structure or union
src/linux/rw_svgalib.c:166: request for member `linewidth' in something
not a structure or union
src/linux/rw_svgalib.c:167: request for member `linewidth' in something
not a structure or union
src/linux/rw_svgalib.c:172: warning: implicit declaration of function
`vga_setmode'
src/linux/rw_svgalib.c:174: warning: implicit declaration of function
`vga_getgraphmem'
src/linux/rw_svgalib.c:174: warning: assignment makes pointer from
integer without a cast
src/linux/rw_svgalib.c:180: warning: implicit declaration of function
`vga_setpage'
src/linux/rw_svgalib.c: In function `SWimp_EndFrame':
src/linux/rw_svgalib.c:198: warning: implicit declaration of function
`vga_oktowrite'
src/linux/rw_svgalib.c: In function `SWimp_SetPalette':
src/linux/rw_svgalib.c:264: warning: implicit declaration of function
`vga_getcolors'
src/linux/rw_svgalib.c:276: warning: implicit declaration of function
`vga_setpalvec'
src/linux/rw_svgalib.c: In function `SWimp_Shutdown':
src/linux/rw_svgalib.c:292: `TEXT' undeclared (first use in this function)
make[1]: *** [releaseaxp/ref_soft/rw_svgalib.o] Error 1
make[1]: Leaving directory `/mnt/quake2-r0.16'
make: *** [build_release] Error 2
Which is probably due to debian not installing things it should have.
anb apt-cache search for svga doesn't show any svgalib-dev packages,
which would prolly have the missing headers. Score another one for debian.