Compilation problem with radeon dri drivers from

Compilation problem with radeon dri drivers from

Post by Jens Jahnk » Mon, 03 Jun 2002 22:59:47


I just downloaded the drivers for my radeon card from and tried to
compile them, but I get the following error:
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -W
nested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DCONF
2.4.18-wolk3.3/build/include/linux/modversions.h -DEXPORT_SYMTAB -I/lib/modules/
2.4.18-wolk3.3/build/include -c radeon_drv.c -o radeon_drv.o
In file included from radeon_drv.c:32:
drmP.h:168: conflicting types for `vmalloc_to_page_R342d323c'
/lib/modules/2.4.18-wolk3.3/build/include/linux/mm.h:656: previous declaration o
f `vmalloc_to_page_R342d323c'
make: *** [radeon_drv.o] Fehler 1
I'm running RedHat-7.3 with XFree-4.2 and Kernel 2.4.18+wolk-3.3.
Trying the compilation with a standard kernel gave the same error message. :-(

Has anybody a solution at hand?

thanks in advance


GPG-Fingerprint = 8D 66 14 9A E7 4D 2B 71  AD 40 DB CF F4 4F 3B 44
Die Ideen sind nicht verantwortlich fuer das,
was die Menschen aus ihnen machen!


1. Compilation problem: SiS 630 dri driver (2.4.18 and 2.4.19-rc3)

The Red Hat 7.3 (from install) kernel can use this Sis 630 AGP card as I saw at
the first boot after instalation...

But after that I can not manage the kernel compilation, 2.2.14 and 2.4.19-rc3
fais like this:

gcc -D__KERNEL__ -I/scsi/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=strstr  -c -o
strstr.o strstr.c
rm -f lib.a
ar  rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o
make[2]: Leaving directory `/scsi/src/linux/arch/i386/lib'
make[1]: Leaving directory `/scsi/src/linux/arch/i386/lib'
ld -m elf_i386 -T /scsi/src/linux/arch/i386/ -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
        --start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o
ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o \
        net/network.o \
/scsi/src/linux/arch/i386/lib/lib.a /scsi/src/linux/lib/lib.a
/scsi/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/char/drm/drm.o: In function `sis_fb_alloc':
drivers/char/drm/drm.o(.text+0x6893): undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0x68d6): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_fb_free':
drivers/char/drm/drm.o(.text+0x69c8): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_final_context':
drivers/char/drm/drm.o(.text+0x6e4e): undefined reference to `sis_free'
make: *** [vmlinux] Error 1

For sure I and doing something wrong here... any tip about it ?


3. NEW: ATI FireGL 8800 Linux Driver works for Radeon 8500 (includes DRI support)

4. changing Finger

5. Radeon DRI driver

6. Os Level upgrade

7. stability of new ATI RADEON drivers vs dri?

8. Compiling ppp 2.3.5 :/

9. DRM\DRI, Alpha, xfree86 4.3.0 radeon.o problems

10. Radeon DRI module version problem

11. ATI Radeon VE + redhat 8.0 problems with DRI/DRM

12. DRI Radeon question

13. Q: support status for ATI Mobility Radeon/DRI?