Package: fglrx-kernel-src
Version: 8.28.2-2

Other related:
linux-headers: 2.6.18+3
gcc: 4:4.1.1.1-11

The fglrx kernel module fails to compile.  See make.sh.log below.

-- Bhaskar

---------------------------------------------------------------
ATI module generator V 2.0
==========================
initializing...
build_date =Sat Oct 14 16:05:41 EDT 2006
uname -r =2.6.18-1-686
uid=0(root) gid=0(root) groups=0(root)
.
drwxr-xr-x 39 root root 8192 2006-10-10 11:17 /usr/include
.
total 484
-rw-r--r--  1 root root 476926 2006-09-26 09:36 fglrx.tar.bz2
drwxr-xr-x 17 root root   4096 2006-10-06 10:31 linux-headers-2.6.18-1
drwxr-xr-x  4 root root   4096 2006-10-06 10:31 linux-headers-2.6.18-1-686
drwxr-xr-x  3 root root     16 2006-10-06 10:31 linux-kbuild-2.6.18
drwxr-xr-x  3 root src       8 2006-08-31 13:29 modules
drwxr-xr-x  7 root root     80 2006-09-01 23:05 rpm
.
file /usr/src/linux-headers-2.6.18-1-686/include/linux/agp_backend.h says: AGP=1
kernel configuration says: SMP=1
kernel configuration says: MODVERSIONS=1
.
CC=gcc
cc_version=4.1.2
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2006-10-14 16:05 ./libfglrx_ip.a ->
./libfglrx_ip.a.GCC4
.
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /usr/src/linux-headers-2.6.18-1-686
SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-1-686'
CC [M]  /usr/src/modules/fglrx/firegl_public.o
/usr/src/modules/fglrx/firegl_public.c:233: error: 'UTS_RELEASE'
undeclared here (not in a function)
/usr/src/modules/fglrx/firegl_public.c:447: warning: initialization
from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c: In function 'firegl_stub_open':
/usr/src/modules/fglrx/firegl_public.c:570: warning: assignment
discards qualifiers from pointer target type
/usr/src/modules/fglrx/firegl_public.c: In function '__ke_vm_map':
/usr/src/modules/fglrx/firegl_public.c:3175: error: 'VM_SHM'
undeclared (first use in this function)
/usr/src/modules/fglrx/firegl_public.c:3175: error: (Each undeclared
identifier is reported only once
/usr/src/modules/fglrx/firegl_public.c:3175: error: for each function
it appears in.)
/usr/src/modules/fglrx/firegl_public.c: In function '__ke_smp_call_function':
/usr/src/modules/fglrx/firegl_public.c:3880: warning: passing argument
1 of 'smp_call_function' from incompatible pointer type
make[2]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-1-686'
make: *** [kmod_build] Error 2
build failed with return value 2
---------------------------------------------------------------


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to