compiling ATI 3.7.0 with 2.6.3 kernel
Last night I upgraded my 2.4.22 kernel to the 2.6.3 kernel, and now I can't get the ATI drivers to compile. I downloaded the sources, compiled them, then rebooted into the new kernel. Then I unpacked the drivers, went to /lib/modules/fglrx/build_mod/ and applied the AMD and vmalloc patch, and attempted to run ./make.sh. Here is what happens:
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.3/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/home/darktyco/linux-2.6.3'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/linux/prefetch.h:13,
from include/linux/list.h:7,
from include/linux/signal.h:4,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/kernel.h:10:20: stdarg.h: No such file or directory
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/linux/prefetch.h:13,
from include/linux/list.h:7,
from include/linux/signal.h:4,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/kernel.h:71: syntax error before "va_list"
include/linux/kernel.h:71: warning: function declaration isn't a prototype
include/linux/kernel.h:74: syntax error before "va_list"
include/linux/kernel.h:74: warning: function declaration isn't a prototype
include/linux/kernel.h:78: syntax error before "va_list"
include/linux/kernel.h:78: warning: function declaration isn't a prototype
make[2]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 2
make[1]: Leaving directory `/home/darktyco/linux-2.6.3'
make: *** [kmod_build] Error 2
build succeeded with return value 0
ln: `./fglrx.ko': File exists
duplicating results into driver repository...
cp: cannot stat `fglrx.ko': No such file or directory
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
I don't get why its doing this, and I haven't heard of this problem yet before. Can anyone help me figure this one out?
Edit: I'm running Slackware 9.1 btw
Last edited by Darktyco; 02-25-2004 at 10:14 PM.
|