Hallo,
da meine Grafik (Intel ExtremeGraphics 2) auf meinem Board (ASRock P4i65G) unter Linux (Mint 10 <- Ubuntu 10.10 <- Debian x.x ?) nur "irgendwie gerade so" läuft, habe ich mir mal diesen Treiber 'runtergeladen: Intel Extreme Graphics Driver - Treiber / Grafikkarten / Intel - intelgraphics_060704.tar.gz (Bitte verweist mich nicht auf das Forum dort, das ist polnisch. ) Entpackt - hier die "pkginfo":
Hierbei ist "gdg" der Name des Treibers, der als Kernelmodul erstellt werden soll - so weit, so gut. Das Script "install.sh" bringt aber erst mal nur Fehler:
Hm, hm, hier also die dri.log:
Um den Fehler einzugrenzen, mal ein bisschen gesucht, kopiert und kommentiert:
Kenne mich mit C nun (noch) nicht so gut aus, wer weiß da weiter?
da meine Grafik (Intel ExtremeGraphics 2) auf meinem Board (ASRock P4i65G) unter Linux (Mint 10 <- Ubuntu 10.10 <- Debian x.x ?) nur "irgendwie gerade so" läuft, habe ich mir mal diesen Treiber 'runtergeladen: Intel Extreme Graphics Driver - Treiber / Grafikkarten / Intel - intelgraphics_060704.tar.gz (Bitte verweist mich nicht auf das Forum dort, das ist polnisch. ) Entpackt - hier die "pkginfo":
Code:
gdg
Intel 830M/845G/852GM/855GM/865G/GDG Driver
I386
20040426
gdg
Code:
hCompiling new agpgart module...
ERROR: AGPGART module did not compile
Compiling DRM module...
ERROR: Kernel modules did not compile
The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.
Hm, hm, hier also die dri.log:
Code:
make -C /lib/modules/2.6.35-22-generic/build SUBDIRS=/root/dripkg/agpgart-2.0 modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /root/dripkg/agpgart-2.0/backend.o
/root/dripkg/agpgart-2.0/backend.c:68: error: conflicting types for ‘agp_backend_acquire’
include/linux/agp_backend.h:107: note: previous declaration of ‘agp_backend_acquire’ was here
/root/dripkg/agpgart-2.0/backend.c:77: error: conflicting types for ‘agp_backend_acquire’
include/linux/agp_backend.h:107: note: previous declaration of ‘agp_backend_acquire’ was here
/root/dripkg/agpgart-2.0/backend.c:88: error: conflicting types for ‘agp_backend_release’
include/linux/agp_backend.h:108: note: previous declaration of ‘agp_backend_release’ was here
/root/dripkg/agpgart-2.0/backend.c:93: error: conflicting types for ‘agp_backend_release’
include/linux/agp_backend.h:108: note: previous declaration of ‘agp_backend_release’ was here
/root/dripkg/agpgart-2.0/backend.c:220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’
/root/dripkg/agpgart-2.0/backend.c: In function ‘agp_add_bridge’:
/root/dripkg/agpgart-2.0/backend.c:281: error: implicit declaration of function ‘inter_module_register’
/root/dripkg/agpgart-2.0/backend.c:281: error: ‘drm_agp’ undeclared (first use in this function)
/root/dripkg/agpgart-2.0/backend.c:281: error: (Each undeclared identifier is reported only once
/root/dripkg/agpgart-2.0/backend.c:281: error: for each function it appears in.)
/root/dripkg/agpgart-2.0/backend.c: In function ‘agp_remove_bridge’:
/root/dripkg/agpgart-2.0/backend.c:301: error: implicit declaration of function ‘inter_module_unregister’
make[2]: *** [/root/dripkg/agpgart-2.0/backend.o] Fehler 1
make[1]: *** [_module_/root/dripkg/agpgart-2.0] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.35-22-generic'
make: *** [default] Fehler 2
rm -f *.o *.ko dristat drmstat .depend .*.flags .*.d .*.cmd
make: *** Keine Regel, um »gdg.ko« zu erstellen. Schluss.
Code:
68: int agp_backend_acquire(void) # error: conflicting types for ‘agp_backend_acquire’
# include/linux/agp_backend.h:107: note: previous declaration of ‘agp_backend_acquire’ was here
# 107: extern struct agp_bridge_data *agp_backend_acquire(struct pci_dev *);
77: EXPORT_SYMBOL(agp_backend_acquire); # error: conflicting types for ‘agp_backend_acquire’
# include/linux/agp_backend.h:107: note: previous declaration of ‘agp_backend_acquire’ was here
# 107: extern struct agp_bridge_data *agp_backend_acquire(struct pci_dev *);
88: void agp_backend_release(void) # error: conflicting types for ‘agp_backend_release’
# include/linux/agp_backend.h:108: note: previous declaration of ‘agp_backend_release’ was here
# 108: extern void agp_backend_release(struct agp_bridge_data *);
93: EXPORT_SYMBOL(agp_backend_release); # error: conflicting types for ‘agp_backend_release’
# include/linux/agp_backend.h:108: note: previous declaration of ‘agp_backend_release’ was here
# 108: extern void agp_backend_release(struct agp_bridge_data *);
####### Naja, und so weiter, das Weitere scheinen mir nur noch Folgefehler zu sein .....
220: static const drm_agp_t drm_agp = { # error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘drm_agp’
/root/dripkg/agpgart-2.0/backend.c: In function ‘agp_add_bridge’:
281: inter_module_register("drm_agp", THIS_MODULE, &drm_agp); # error: implicit declaration of function ‘inter_module_register’
/root/dripkg/agpgart-2.0/backend.c:281: error: ‘drm_agp’ undeclared (first use in this function)
/root/dripkg/agpgart-2.0/backend.c:281: error: (Each undeclared identifier is reported only once
/root/dripkg/agpgart-2.0/backend.c:281: error: for each function it appears in.)
/root/dripkg/agpgart-2.0/backend.c: In function ‘agp_remove_bridge’:
301: inter_module_unregister("drm_agp"); # error: implicit declaration of function ‘inter_module_unregister’
make[2]: *** [/root/dripkg/agpgart-2.0/backend.o] Fehler 1
make[1]: *** [_module_/root/dripkg/agpgart-2.0] Fehler 2
Zuletzt bearbeitet: