[ltp] Intel i830 3d accelerated drivers

Tim Sutton suttont at onetel.net.uk
Tue Apr 22 18:49:18 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

Just wondering if anyone has managed to get the intel drivers for the i830 
chip in TP R31 to build successfully 
(http://support.intel.com/support/graphics/linux/graphics.htm)? I am running 
Mandrake 9.1. and the compilation fails (see below for full log). It would b 
really nice to be able to play tuxracer on my laptop :-) Any suggests / hints 
/ build notes would be greatly appreciated.

Tim

make: `linux' is up to date.
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes 
- -Wnested-externs -Wpointer-arith
 -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -I. -I0 -c 
agpgart_be.c -o agpgart_be.o
In file included from agpgart_be.c:37:
/usr/include/linux/version.h:2:2: #error 
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include 
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation 
of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files 
from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as 
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and 
may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They 
should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header 
files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly 
include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do 
the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources 
installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic 
link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build 
exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source 
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h 
to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname 
- -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use 
the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the 
correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname 
- -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile 
accordingly."
/usr/include/linux/version.h:35:2: #error 
"======================================================="


In file included from agpgart_be.c:38:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this 
function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported only 
once
/usr/include/linux/module.h:433: for each function it appears in.)
agpgart_be.c: At top level:
agpgart_be.c:83: parse error before "config_must_be_included_before_module"
agpgart_be.c:83: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:83: warning: data definition has no type or storage class
agpgart_be.c:84: parse error before "config_must_be_included_before_module"
agpgart_be.c:84: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:84: warning: data definition has no type or storage class
agpgart_be.c:85: parse error before "config_must_be_included_before_module"
agpgart_be.c:85: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:85: warning: data definition has no type or storage class
agpgart_be.c:86: parse error before "config_must_be_included_before_module"
agpgart_be.c:86: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:86: warning: data definition has no type or storage class
agpgart_be.c:87: parse error before "config_must_be_included_before_module"
agpgart_be.c:87: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:87: warning: data definition has no type or storage class
agpgart_be.c:88: parse error before "config_must_be_included_before_module"
agpgart_be.c:88: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:88: warning: data definition has no type or storage class
agpgart_be.c:89: parse error before "config_must_be_included_before_module"
agpgart_be.c:89: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:89: warning: data definition has no type or storage class
agpgart_be.c:90: parse error before "config_must_be_included_before_module"
agpgart_be.c:90: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:90: warning: data definition has no type or storage class
agpgart_be.c:91: parse error before "config_must_be_included_before_module"
agpgart_be.c:91: warning: type defaults to `int' in declaration of 
`config_must_be_included_before_module'
agpgart_be.c:91: warning: data definition has no type or storage class
make: *** [agpgart_be.o] Error 1
make: *** No rule to make target `i830.o'.  Stop.

- -- 
Get my public keys from:

http://tim.suttonfamily.co.uk/modules.php?name=Content&pa=showpage&pid=2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+pXKVbxNalhvbIJoRAhzSAJ0U+2tsUca9X5zqkisGqJXokNLFNgCgk099
y0SguJfKL/OC6T51g8UBHyQ=
=e2mP
-----END PGP SIGNATURE-----




More information about the Linux-Thinkpad mailing list