Compiling SAVAGE 3d driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to install the Savage's driver, DRI version, so I can at
least try to develop openGl stuff at this machine. Software rendering is
not an option.

The problem is that it is not compiling in fedora...

In a snap, installation script says the following to me:

---------------------
Welcome to the DRI Driver Installation Script
The package you downloaded is for the following driver:
Driver Name    : savage
Description    : S3 Savage3D/MX/IX,Savage4,Twister,ProSavage,SuperSavage
Driver
Architecture   :
Build Date     : 20040223
Kernel Module  : savage
---
The script will use the following XFree86 directory:
 /usr/X11R6
---
Kernel Version   : 2.4.22-1.2166.nptl
Module Directory : /lib/modules/2.4.22-1.2166.nptl
---
Compiling...
ERROR: Kernel modules did not compile

And it says to take a look at the compilation log, which is:

make -f Makefile.linux DRM_MODULES=savage.o modules
make[1]: Entering directory `/home/surak/savage/dripkg/drm'
make -C /lib/modules/2.4.22-1.2166.nptl/build  SUBDIRS=`pwd`
DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.4.22-1.2166.nptl'
make -r -f tmp_include_depends all
make[3]: Entering directory `/usr/src/linux-2.4.22-1.2166.nptl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/linux-2.4.22-1.2166.nptl'
make -C  /home/surak/savage/dripkg/drm CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.22-1.2166.nptl/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.22-1.2166.nptl/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[3]: Entering directory `/home/surak/savage/dripkg/drm'
gcc32 -I/home/surak/savage/dripkg/drm -D__KERNEL__
-I/usr/src/linux-2.4.22-1.2166.nptl/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.22-1.2166.nptl/include/linux/modversions.h
-DDO_MUNMAP_4_ARGS -DVMAP_4_ARGS -nostdinc -iwithprefix include
-DKBUILD_BASENAME=savage_drv  -c -o savage_drv.o savage_drv.c
savage_drv.c: In function `savage_alloc_continuous_mem':
savage_drv.c:83: warning: int format, long unsigned int arg (arg 2)
savage_drv.c: In function `savage_free_cont_mem':
savage_drv.c:224: too few arguments to function `do_munmap_R5a30f4a0'
In file included from savage_drv.c:269:
drm_memory.h:64:1: warning: "pte_pfn" redefined
In file included from
/usr/src/linux-2.4.22-1.2166.nptl/include/asm/pgtable.h:124,
                 from
/usr/src/linux-2.4.22-1.2166.nptl/include/linux/mm.h:26,
                 from
/usr/src/linux-2.4.22-1.2166.nptl/include/linux/slab.h:14,
                 from
/usr/src/linux-2.4.22-1.2166.nptl/include/linux/proc_fs.h:5,
                 from drmP.h:50,
                 from savage_drv.c:27:
/usr/src/linux-2.4.22-1.2166.nptl/include/asm/pgtable-2level.h:63:1:
warning: this is the location of the previous definition
make[3]: *** [savage_drv.o] Error 1
make[3]: Leaving directory `/home/surak/savage/dripkg/drm'
make[2]: *** [_mod_/home/surak/savage/dripkg/drm] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2166.nptl'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/surak/savage/dripkg/drm'
make: *** [savage.o] Error 2





Can someone please help me? I've downloaded from dri.sourceforge.net,
which led me to
http://www.freedesktop.org/~dri/snapshots/savage-20040223-linux.i386.tar.bz2

The kernel is fedora stock 2.4.22.2166.nptl.

-- 
[]s

Alexandre Ganso 
500 FOUR vermelha - Diretor Steel Goose Moto Group




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux