Fehler nach make all und make modules_install

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
Mobilebird
Beiträge: 3
Registriert: 12.07.2005 14:19:34

Fehler nach make all und make modules_install

Beitrag von Mobilebird » 12.07.2005 14:26:42

Huhu,

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
make modules_install dann den:

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

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Beitrag von KBDCALLS » 12.07.2005 14:34:37

Aktiviere das beides

Code: Alles auswählen

 Linux Kernel v2.6.12 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌────────────────────── Code maturity level options ──────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │ ┌─────────────────────────────────────────────────────────────────────┐ │
  │ │     [*] Prompt for development and/or incomplete code/drivers       │ │
  │ │     [*]   Select only drivers expected to compile cleanly           │ │
  │ │                                                                     │ │
  │ │                                                                     │ │
  │ │                                                                     │ │
  │ │                                                                     │ │
  │ │                                                                     │ │
  │ │                                                                     │ │
  │ │                                                                     │ │
  │ │                                                                     │ │
  │ └─────────────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────┤
  │                    <Select>    < Exit >    < Help >                     │
  └─────────────────────────────────────────────────────────────────────────┘
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

Mobilebird
Beiträge: 3
Registriert: 12.07.2005 14:19:34

Beitrag von Mobilebird » 12.07.2005 16:33:55

Danke für die Antwort.


Geht das auch in xconfig? Welche config-Methode is das was du da anzeigst?

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Beitrag von KBDCALLS » 12.07.2005 16:40:35

Das ist

Code: Alles auswählen

 make menuconfig
Aber die Option geht auch mit

Code: Alles auswählen

make xconfig
nur ich finds Ätzend. Aber das ist meine Persönliche Meinung.
Zuletzt geändert von KBDCALLS am 12.07.2005 19:34:25, insgesamt 1-mal geändert.
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

Mobilebird
Beiträge: 3
Registriert: 12.07.2005 14:19:34

Beitrag von Mobilebird » 12.07.2005 17:17:41

okay danke ich probiers gleich wenn ich daheim bin.

Komisch weil in xconfig ist mir das nicht aufgefallen


Bin halt ein Weichspülerlinuxuser mit X-faible :)

Antworten