In a vain effort to try anything to get these ATI supplied drivers going
in Red Hat, I have attempted to recompile my kernel as per the
"instructions" at their site.  If you wish to try it yourself in Red Hat
8.0, you will have to edit the Makefile so that the line "EXTRAVERSION=
-14custom" is changed to "EXTRAVERSION = -14", else ATI's makefiles will
not work.  Also you might want to create and backup a .config file by
running "make oldconfig" and moving the resulting file somewhere else,
or "make distclean" will wipe it out, which is part of its job.

The first make in the fglrx directory seems to go OK.  Here is a log
that is generated by it:

ATI module generator V 2.0
==========================
build_date =Thu Apr 3 15:08:31 PST 2003
uname -a =Linux Gyr 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
uname -r =2.4.18-14
uname -v =#1 Wed Sep 4 13:35:50 EDT 2002
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
.
drwxr-xr-x   48 root     root         4096 Apr  3 14:58 /usr/include
.
total 100
-rwxr-xr-x    1 root     root        38609 Nov 27 11:53 fglrx_panel_sources.tgz
-rwxr-xr-x    1 root     root         9640 Nov 27 11:53 fglrx_sample_source.tgz
-rw-r--r--    1 root     root        40056 Apr  3 13:31 linu-2.4.18-14
lrwxrwxrwx    1 root     root           15 Apr  3 14:58 linux-2.4 -> linux-2.4.18-14
drwxr-xr-x   17 root     root         4096 Apr  3 15:01 linux-2.4.18-14
drwxr-xr-x    7 root     root         4096 Mar 28 13:56 redhat
.
file /lib/modules/2.4.18-14/build/include/linux/agp_backend.h says: AGP=1
assuming default: SMP=0
file /lib/modules/2.4.18-14/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=3.2
found major but not minor version match for gcc and the ip-library
ls -l libfglrx_ip.a
lrwxrwxrwx    1 root     root           18 Apr  3 15:08 libfglrx_ip.a -> 
libfglrx_ip.a.GCC3
.
probing for VMA API version...
cc_ret_vma_240 = 0
cc_ret_vma_253 = 1
def_vma_api_version=-DFGL_LINUX240_VMA_API
cleaning...
patching 'highmem.h'...
patching 'drmP.h'...
compiling 'agpgart_be.c'...
gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes 
-Wpointer-arith -O2  -D__KERNEL__ -DMODULE -fomit-frame-pointer -DATI_AGP_HOOK -DATI 
-DFGL -DFGL_RX -DFGL_CUSTOM_MODULE -Dfglrx  -DMODVERSIONS -include 
/lib/modules/2.4.18-14/build/include/linux/modversions.h  -Ipatch/include 
-Ipatch/drivers/char/drm -I/lib/modules/2.4.18-14/build/include -c agpgart_be.c -o 
agpgart_be.o
compiling 'agp3.c'...
gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes 
-Wpointer-arith -O2  -D__KERNEL__ -DMODULE -fomit-frame-pointer -DATI_AGP_HOOK -DATI 
-DFGL -DFGL_RX -DFGL_CUSTOM_MODULE -Dfglrx  -DMODVERSIONS -include 
/lib/modules/2.4.18-14/build/include/linux/modversions.h  -Ipatch/include 
-Ipatch/drivers/char/drm -I/lib/modules/2.4.18-14/build/include -c agp3.c -o agp3.o
compiling 'i7505-agp.c'...
gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes 
-Wpointer-arith -O2  -D__KERNEL__ -DMODULE -fomit-frame-pointer -DATI_AGP_HOOK -DATI 
-DFGL -DFGL_RX -DFGL_CUSTOM_MODULE -Dfglrx  -DMODVERSIONS -include 
/lib/modules/2.4.18-14/build/include/linux/modversions.h  -Ipatch/include 
-Ipatch/drivers/char/drm -I/lib/modules/2.4.18-14/build/include -c i7505-agp.c -o 
i7505-agp.o
compiling 'firegl_public.c'...
gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes 
-Wpointer-arith -O2  -D__KERNEL__ -DMODULE -fomit-frame-pointer -DATI_AGP_HOOK -DATI 
-DFGL -DFGL_RX -DFGL_CUSTOM_MODULE -Dfglrx -DFGL_LINUX240_VMA_API  -DMODVERSIONS 
-include /lib/modules/2.4.18-14/build/include/linux/modversions.h -D__AGP__  
-Ipatch/include -Ipatch/drivers/char/drm -I/lib/modules/2.4.18-14/build/include 
-I/lib/modules/2.4.18-14/build/include/../drivers/char/drm -DFIREGL_410 -c 
firegl_public.c -o firegl_public.o
linking of fglrx kernel module...
ld -r firegl_public.o agpgart_be.o agp3.o i7505-agp.o libfglrx_ip.a -o fglrx.o
.
duplicating results into driver repository...
target location: /lib/modules/fglrx
copying fglrx.o
copying logfile of build
*** end of build log ***

It is when I move to the upper directory and run make_install.sh where I
have unresolved symbol errors.  Here is the output:

- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module

depmod: *** Unresolved symbols in 
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol __wake_up
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol unlock_page
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol 
register_chrdev
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol 
create_proc_entry
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol 
remove_wait_queue
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol 
remove_proc_entry
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol 
add_wait_queue
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol _alloc_pages
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol mem_map
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol init_mm
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: unresolved symbol __free_pages
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: 
Hint: You are trying to load a module without a GPL compatible license
      and it has unresolved symbols.  Contact the module supplier for
      assistance, only they can help you.

/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: insmod 
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o failed
/lib/modules/2.4.18-14/kernel/drivers/char/drm/fglrx.o: insmod fglrx failed

failed.

I even tried to recompile my kernel with the CONFIG_MODVERSIONS set to
"n", but could not complete the modules part of the custom build.

Anybody have any idea how to correct these unresolved symbol errors?

Paul

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to