habe Probleme bei der Kompilierung eines selfmade Kernel 2.6.12.2 vanilla (mit xconfig)
make all produziert schon folgenden Fehler:
Code: Alles auswählen
drivers/char/drm/gamma_lists.h:203: error: called object is not a function
drivers/char/drm/gamma_lists.h:210: Warnung: return erzeugt Ganzzahl von Zeiger ohne Typkonv
ertierung
drivers/char/drm/gamma_lists.h:213: error: called object is not a function
drivers/char/drm/gamma_drv.c:53:22: drm_lock.h: Datei oder Verzeichnis nicht gefunden
In file included from drivers/char/drm/gamma_drv.c:54:
drivers/char/drm/gamma_lock.h: Auf höchster Ebene:
drivers/char/drm/gamma_lock.h:36: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:36: Warnung: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:36: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:188: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h:36: Warnung: »DRM« wurde »extern« deklariert und später »stati
c«
drivers/char/drm/gamma_lock.h: In Funktion »DRM«:
drivers/char/drm/gamma_lock.h:39: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:39: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h: Auf höchster Ebene:
drivers/char/drm/gamma_lock.h:69: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:69: Warnung: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:69: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:36: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h:69: Warnung: »DRM« wurde »extern« deklariert und später »stati
c«
drivers/char/drm/gamma_lock.h: In Funktion »DRM«:
drivers/char/drm/gamma_lock.h:70: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:70: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h: Auf höchster Ebene:
drivers/char/drm/gamma_lock.h:87: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:87: Warnung: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:87: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:69: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In Funktion »DRM«:
drivers/char/drm/gamma_lock.h:93: error: `flags' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:94: error: `flush_queue' undeclared (first use in this functio
n)
drivers/char/drm/gamma_lock.h:94: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:94: error: called object is not a function
drivers/char/drm/gamma_lock.h:95: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:95: error: called object is not a function
drivers/char/drm/gamma_lock.h:99: error: called object is not a function
drivers/char/drm/gamma_lock.h: Auf höchster Ebene:
drivers/char/drm/gamma_lock.h:106: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:106: Warnung: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:106: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:87: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In Funktion »DRM«:
drivers/char/drm/gamma_lock.h:112: error: `flags' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:113: error: `flush_unblock_queue' undeclared (first use in thi
s function)
drivers/char/drm/gamma_lock.h:113: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:113: error: called object is not a function
drivers/char/drm/gamma_lock.h:114: error: `context' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:114: error: called object is not a function
drivers/char/drm/gamma_lock.h:118: error: called object is not a function
drivers/char/drm/gamma_lock.h: Auf höchster Ebene:
drivers/char/drm/gamma_lock.h:127: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:127: Warnung: function declaration isn't a prototype
drivers/char/drm/gamma_lock.h:127: error: redefinition of `DRM'
drivers/char/drm/gamma_lock.h:106: error: `DRM' previously defined here
drivers/char/drm/gamma_lock.h: In Funktion »DRM«:
drivers/char/drm/gamma_lock.h:128: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:129: error: structure has no member named `dev'
drivers/char/drm/gamma_lock.h:135: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_lock.h:137: error: `flush_block_and_flush' undeclared (first use in t
his function)
drivers/char/drm/gamma_lock.h:137: error: called object is not a function
drivers/char/drm/gamma_lock.h:138: error: `flush_unblock' undeclared (first use in this func
tion)
drivers/char/drm/gamma_lock.h:138: error: called object is not a function
In file included from drivers/char/drm/gamma_drv.c:55:
drivers/char/drm/drm_memory.h: Auf höchster Ebene:
drivers/char/drm/drm_memory.h:65: error: redefinition of `drm_lookup_map'
drivers/char/drm/drm_memory.h:65: error: `drm_lookup_map' previously defined here
drivers/char/drm/drm_memory.h:83: error: redefinition of `agp_remap'
drivers/char/drm/drm_memory.h:83: error: `agp_remap' previously defined here
drivers/char/drm/drm_memory.h:123: error: redefinition of `drm_follow_page'
drivers/char/drm/drm_memory.h:123: error: `drm_follow_page' previously defined here
drivers/char/drm/drm_memory.h:151: error: redefinition of `drm_ioremap'
drivers/char/drm/drm_memory.h:151: error: `drm_ioremap' previously defined here
drivers/char/drm/drm_memory.h:163: error: redefinition of `drm_ioremap_nocache'
drivers/char/drm/drm_memory.h:163: error: `drm_ioremap_nocache' previously defined here
drivers/char/drm/drm_memory.h:174: error: redefinition of `drm_ioremapfree'
drivers/char/drm/drm_memory.h:174: error: `drm_ioremapfree' previously defined here
drivers/char/drm/gamma_drv.c:56:22: drm_proc.h: Datei oder Verzeichnis nicht gefunden
drivers/char/drm/gamma_drv.c:57:20: drm_vm.h: Datei oder Verzeichnis nicht gefunden
drivers/char/drm/gamma_drv.c:58:22: drm_stub.h: Datei oder Verzeichnis nicht gefunden
drivers/char/drm/gamma_drv.c:59:25: drm_scatter.h: Datei oder Verzeichnis nicht gefunden
drivers/char/drm/gamma_lists.h:161: Warnung: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:36: Warnung: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:69: Warnung: `DRM' defined but not used
make[3]: *** [drivers/char/drm/gamma_drv.o] Fehler 1
make[2]: *** [drivers/char/drm] Fehler 2
make[1]: *** [drivers/char] Fehler 2
make: *** [drivers] Fehler 2
Code: Alles auswählen
mobilebird:/usr/src/linux-2.6.12.2# make modules_install
INSTALL arch/i386/crypto/aes-i586.ko
cp: Aufruf von stat für ,,arch/i386/crypto/aes-i586.ko" nicht möglich: Datei oder Verzeichnis nicht gefunden
make[1]: *** [arch/i386/crypto/aes-i586.ko] Fehler 1
make: *** [_modinst_] Fehler 2
Hab da nur ein paar AMD Prozesor Treiber rausgeschmissen und Powermanagement Funktionen fest einkompilieren lassen (für Speedstep cpufreq etc): ausserdem NTFS Support
Mehr eigentlich nicht
Wäre lieb wenn mir einer helfen könnte