Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: root@photon.interimtechnology.com (root)
Subject: SVGALib build problems
Date: 1998/08/09	[thread overview]
Message-ID: <slrn6srgg9.9b.root@photon.interimtechnology.com> (raw)

I'm trying to build SVGALib-1.3.0 for use with
povray and some other programs. It keeps comming up 
with undeclared errors in vga.c.


gcc -Wall -Wstrict-prototypes -fPIC -I/dnload/svgalib-1.3.0/include -I. 
-I/dnload/svgalib-1.3.0/src -fomit-frame-pointer -O3 -mcpu=ev56 -Wa,-mev56 
-fno-strength-reduce -pipe -DSVGALIB_CONFIG_FILE=\"/etc/vga/libvga.config\" 
-DALLOW_MOUSE_OVERRIDE -DROOT_VC_SHORTCUT -DINCLUDE_S3_DRIVER 
-DINCLUDE_S3_DRIVER_TEST -DINCLUDE_VESA_DRIVER -c -o vga.o 
/dnload/svgalib-1.3.0/src/vga.c
/dnload/svgalib-1.3.0/src/vga.c:157: `DENSE_MEM_BASE' undeclared here 
(not in a
function)
/dnload/svgalib-1.3.0/src/vga.c:157: initializer element is not constant
/dnload/svgalib-1.3.0/src/vga.c: In function `__svgalib_get_perm':
/dnload/svgalib-1.3.0/src/vga.c:701: warning: implicit declaration of 
function `ioperm'
/dnload/svgalib-1.3.0/src/vga.c: In function `__vga_mmap':
/dnload/svgalib-1.3.0/src/vga.c:1394: `MEM_SHIFT' undeclared (first use in 
this
function)
/dnload/svgalib-1.3.0/src/vga.c:1394: (Each undeclared identifier is 
reported only once
/dnload/svgalib-1.3.0/src/vga.c:1394: for each function it appears in.)
/dnload/svgalib-1.3.0/src/vga.c:1398: `SPARSE_MEM_BASE' undeclared (first 
use in this function)
/dnload/svgalib-1.3.0/src/vga.c: In function `vga_safety_fork':
/dnload/svgalib-1.3.0/src/vga.c:1675: warning: implicit declaration of function
`iopl'
/dnload/svgalib-1.3.0/src/vga.c: In function `vga_readb':
/dnload/svgalib-1.3.0/src/vga.c:3617: `MEM_SHIFT' undeclared (first use in 
this
function)
/dnload/svgalib-1.3.0/src/vga.c:3617: `MEM_TYPE_BYTE' undeclared (first use 
in this function)
/dnload/svgalib-1.3.0/src/vga.c: In function `vga_readw':
/dnload/svgalib-1.3.0/src/vga.c:3639: `MEM_SHIFT' undeclared (first use in 
this
function)
/dnload/svgalib-1.3.0/src/vga.c:3639: `MEM_TYPE_WORD' undeclared (first use 
in this function)
/dnload/svgalib-1.3.0/src/vga.c: In function `vga_writeb':
/dnload/svgalib-1.3.0/src/vga.c:3667: `MEM_SHIFT' undeclared (first use 
in this
function)
/dnload/svgalib-1.3.0/src/vga.c:3667: `MEM_TYPE_BYTE' undeclared (first use 
in this function)
/dnload/svgalib-1.3.0/src/vga.c: In function `vga_writew':
/dnload/svgalib-1.3.0/src/vga.c:3687: `MEM_SHIFT' undeclared (first use 
in this
function)
/dnload/svgalib-1.3.0/src/vga.c:3687: `MEM_TYPE_WORD' undeclared (first use 
in this function)
/dnload/svgalib-1.3.0/src/vga.c: In function `vga_readb':
/dnload/svgalib-1.3.0/src/vga.c:3602: warning: `result' might be used 
uninitialized in this function
/dnload/svgalib-1.3.0/src/vga.c: In function `vga_readw':
/dnload/svgalib-1.3.0/src/vga.c:3624: warning: `result' might be used 
uninitialized in this function
make[1]: *** [vga.o] Error 1
make[1]: Leaving directory `/dnload/svgalib-1.3.0/sharedlib'
make: *** [sharedlib/libvga.so.1.3.0] Error 2

I've tried to find these refrences, but only io.h is suspect. Has anybody 
sucessfully compiled this on a 164LX, or are there binaries out there 
somewhere.
---christopher
root@photon.interimtechnology.com




                 reply	other threads:[~1998-08-09  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox