Nowe posty

xx Problem ze sterownikami. (5)
2024-04-13, 21:25:16
xx Instalacja xfce4 (2)
2024-04-13, 16:20:17
xx Serie kompilacji bez instalacji dla “emerge” w Gentoo (2)
2024-04-08, 18:40:04
xx Plasma 6 w Neonie ssie trochę mniej ... (17)
2024-04-05, 10:03:46
xx Problem z Linux Lite po instalacji (3)
2024-04-03, 14:23:40
xx Jak właczyć num locka przy starcie systemu debian 12? (12)
2024-04-02, 17:43:54
xx Brak dźwieku w systemie. (5)
2024-04-02, 16:13:41
xx Dystrybucja pod HP Omen (7)
2024-03-29, 11:33:05
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
xx Ile pingwinów? (1)
2024-03-27, 08:59:24

Autor Wątek: błąd przy kompilacji jądra  (Przeczytany 1092 razy)

Marcin Ciesielski

  • Gość
błąd przy kompilacji jądra
« dnia: 2006-02-16, 15:53:08 »
Mam DSL z firmy Multimedia Polska (dawniej Telenet). Używam typowego, srebrnego modemu Speedtouch 330 USB, takiego samego jak do neostrady. Kilka dni temu zainstalowałem openSuse 10.0 i próbowałem uruchomić dostęp do internetu. Nie udało się. Przeczytałem już co najmniej kilkanaście, jeśli nie kilkadziesiąt stron internetowych o instalacji Speedtoucha 330 w Linuksie Wypróbowałem różne sposoby:
1. Ręczną instalację i konfogurację sterowników (opisaną m.in. na http://www.linux-usb.org/SpeedTouch/suse/index.html ).
2. Speedtouchconf.
3. Skrypty typu net24.
4. Ręczne umieszczenie firmware\\'u w /lib/firmware i konfiguracja z użyciem Yasta (opisane szczegółowo na http://en.opensuse.org/Speedtouch_330 ).
W przypadku ręcznej instalacji sterowników z plików źródłowych, a także używania skryptów gotowe pliki wykonywalne nie trafiały do właściwych katalogów (bynajmniej nie zapomniałem o \\"make install\\") i trzeba było je przenieść ręcznie, ale to był jedyny problem. W zależności od metody, ustawiałem login, hasło oraz VPI i VCI (dla tego operatora 0.33, inaczej niż dla neostrady) za pomocą gotowych skryptów lub ręcznej modyfikacji plików /etc/ppp/chap-secrets /etc/ppp/pap-secrets i odpowiednich plików w katalogu /etc/ppp/peers/, a w ostatnim przypadku przy użyciu Yasta.
W końcu jakoś udało się uruchomić modem i załadować firmware, ale nawiązanie połączenia z Internetem okazało się niemożliwe:

Feb 13 16:16:42 linux kernel: usb 3-2: new full speed USB device using uhci_hcd and address 8
Feb 13 16:16:43 linux kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 8
Feb 13 16:16:43 linux kernel: usbcore: registered new driver speedtch
Feb 13 16:16:43 linux kernel: speedtch 3-2:1.0: found stage 1 firmware speedtch-1.bin
Feb 13 16:16:43 linux kernel: speedtch 3-2:1.0: found stage 2 firmware speedtch-2.bin
Feb 13 16:16:48 linux kernel: ATM dev 0: ADSL line is synchronising
Feb 13 16:17:03 linux kernel: ATM dev 0: ADSL line is up (160 kb/s down | 64 kb/s up)

Komunikat wskazywał na to, że połączenie z operatorem zostało nawiązane, ale połączenie z Internetem ciągle okazywało się niemożliwe:

SuSE Meta pppd (smpppd-ifcfg), Version 1.59 on linux.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: connecting
pppd[0]: Plugin pppoatm.so loaded.
pppd[0]: PPPoATM plugin_init
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: PPPoATM setdevname_pppoatm - SUCCESS:0.33
pppd[0]: Renamed interface ppp0 to dsl0
pppd[0]: Using interface dsl0
Status is: connecting
pppd[0]: Connect: dsl0 <--> 0.33
pppd[0]: LCP: timeout sending Config-Requests
pppd[0]: Connection terminated.
pppd[0]: Modem hangup
Status is: disconnecting
Status is: disconnected
pppd[0] died: A modem hung up the phone (exit code 16)
Wygląda na to, że serwer ppp operatora nie odpowiada. Pod windows wszystko działa właściwie.
Na czym może polegać problem? Zaznaczam, że ustawiłem login, hasło, vpi i vci (te ostatnie na 0.33). Firewall był wyłączony. Oprogramowanie wykazywało transmisję danych w kierunku operatora. Z tego wynika, że modem działał.
Pyatnie to zadawałem już na grupach dyskusyjnych o linuksie, ale nikt nie potrafił wskazać, na czym polega problem (http://groups.google.pl/group/alt.pl.comp.os.linux.newbie/browse_thread/thread/92eed17c31fb245b/ i http://groups.google.pl/group/pl.comp.os.linux/browse_thread/thread/b79351d909f7dedd )

jarjar

  • Gość
błąd przy kompilacji jądra
« Odpowiedź #1 dnia: 2006-02-16, 15:21:39 »
Debian Sarge z 2.6.8.2,
próbuję skompilować na 2.6.13.2.

zainstalowałem poprawnie wszystkie rzeczy potrzebne do kompilacji, i rozpocząłem procedurę zgodnie z zasadami :) np. tak jak tutaj: http://www.howtoforge.com/forums/showthread.php?t=21

po wywołaniu make-kpkg... (itd. jak na stronie w opisie) otrzymałem błędy podczas kompilacji modułów:

 

drivers/char/drm/gamma_drv.c:33:19: gamma.h: Nie ma takiego pliku ani katalogu
In file included from drivers/char/drm/gamma_drv.c:37:
drivers/char/drm/gamma_drv.h:66: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:66: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:68: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:68: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:70: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:70: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:74: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:74: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:76: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:76: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:77: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:77: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:78: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:78: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:83: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:83: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:84: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:84: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:85: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:85: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:86: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:86: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:87: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:87: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:88: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:88: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:90: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:90: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:91: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_drv.h:91: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:94: warning: parameter names (without types) in function declaration
drivers/char/drm/gamma_drv.h:94: error: conflicting types for `DRM'
drivers/char/drm/gamma_drv.h:91: error: previous declaration of `DRM'
drivers/char/drm/gamma_drv.c:39:22: drm_auth.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:40:28: drm_agpsupport.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:41:22: drm_bufs.h: Nie ma takiego pliku ani katalogu
In file included from drivers/char/drm/gamma_drv.c:42:
drivers/char/drm/gamma_context.h: In function `gamma_fops_read':
drivers/char/drm/gamma_context.h:48: error: structure has no member named `dev'
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:96: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:96: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:96: error: conflicting types for `DRM'
drivers/char/drm/gamma_drv.h:94: error: previous declaration of `DRM'
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:97: error: `dev' undeclared (first use in thisfunction)
drivers/char/drm/gamma_context.h:97: error: (Each undeclared identifier is reported only once
drivers/char/drm/gamma_context.h:97: error: for each function it appears in.)
drivers/char/drm/gamma_context.h:98: error: `s' undeclared (first use in this function)
drivers/char/drm/gamma_context.h: In function `gamma_fops_poll':
drivers/char/drm/gamma_context.h:134: error: structure has no member named `dev'
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:142: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:142: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:142: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:96: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:146: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:151: error: `old' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:151: error: `new' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:175: error: `write_string' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:175: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:183: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:183: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:183: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:142: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:184: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:186: error: `new' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'
drivers/char/drm/gamma_context.h:193: error: structure has no member named `next_buffer'
drivers/char/drm/gamma_context.h:194: error: `lock_free' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:195: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:207: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:207: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:207: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:183: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h:207: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:210: error: `q' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:231: error: `ctx' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:233: error: `waitlist_create' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:233: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:233: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:249: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:249: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:249: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:207: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h:249: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:255: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:267: error: `alloc' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:267: error: called object is not a function
drivers/char/drm/gamma_context.h:278: error: `realloc' undeclared (first use inthis function)
drivers/char/drm/gamma_context.h:281: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:297: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:297: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:297: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:249: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:298: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:324: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:324: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:324: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:297: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:325: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:326: error: structure has no member named `dev'
drivers/char/drm/gamma_context.h:328: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:332: error: `alloc_queue' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:332: error: called object is not a function
drivers/char/drm/gamma_context.h:334: error: `init_queue' undeclared (first usein this function)
drivers/char/drm/gamma_context.h:334: error: called object is not a function
drivers/char/drm/gamma_context.h:335: error: called object is not a function
drivers/char/drm/gamma_context.h:337: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:346: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:346: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:346: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:324: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:347: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:348: error: structure has no member named `dev'
drivers/char/drm/gamma_context.h:352: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:380: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:380: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:380: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:346: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:381: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:382: error: structure has no member named `dev'
drivers/char/drm/gamma_context.h:383: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:413: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:413: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:413: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:380: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:414: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:415: error: structure has no member named `dev'
drivers/char/drm/gamma_context.h:418: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:421: error: `context_switch' undeclared (firstuse in this function)
drivers/char/drm/gamma_context.h:421: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:426: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:426: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:426: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:413: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:427: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:428: error: structure has no member named `dev'
drivers/char/drm/gamma_context.h:431: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:434: error: `context_switch_complete' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:434: error: called object is not a function
drivers/char/drm/gamma_context.h: At top level:
drivers/char/drm/gamma_context.h:441: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_context.h:441: warning: function declaration isn't a prototype
drivers/char/drm/gamma_context.h:441: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:426: error: `DRM' previously defined here
drivers/char/drm/gamma_context.h: In function `DRM':
drivers/char/drm/gamma_context.h:442: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:443: error: structure has no member named `dev'
drivers/char/drm/gamma_context.h:448: error: `arg' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:474: error: `waitlist_get' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:474: error: called object is not a function
drivers/char/drm/gamma_context.h:475: error: `free_buffer' undeclared (first use in this function)
drivers/char/drm/gamma_context.h:475: error: called object is not a function
drivers/char/drm/gamma_drv.c:43:21: drm_dma.h: Nie ma takiego pliku ani katalogu
In file included from drivers/char/drm/gamma_drv.c:44:
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:37: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:37: warning: function declaration isn't a prototype
drivers/char/drm/gamma_old_dma.h:37: error: redefinition of `DRM'
drivers/char/drm/gamma_context.h:441: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:38: error: `dev' undeclared (first use in thisfunction)
drivers/char/drm/gamma_old_dma.h:40: error: structure has no member named `next_buffer'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:42: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h:44: error: structure has no member named `next_queue'
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:48: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:48: warning: function declaration isn't a prototype
drivers/char/drm/gamma_old_dma.h:48: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:37: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:53: error: `dev' undeclared (first use in thisfunction)
drivers/char/drm/gamma_old_dma.h:97: error: `wrapper' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:116: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:116: warning: function declaration isn't a prototype
drivers/char/drm/gamma_old_dma.h:116: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:48: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:117: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:118: error: structure has no member named `dev'
drivers/char/drm/gamma_old_dma.h:129: error: `d' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:173: error: `alloc' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:173: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:222: error: `free_buffer' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:222: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:224: error: `waitlist_put' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:224: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:233: error: `free' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:233: error: called object is not a function
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:240: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:240: warning: function declaration isn't a prototype
drivers/char/drm/gamma_old_dma.h:240: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:116: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h:240: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:241: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:242: error: structure has no member named `dev'
drivers/char/drm/gamma_old_dma.h:247: error: `d' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:248: error: `freelist_get' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:248: error: `order' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:249: error: called object is not a function
drivers/char/drm/gamma_old_dma.h: At top level:
drivers/char/drm/gamma_old_dma.h:276: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_old_dma.h:276: warning: function declaration isn't a prototype
drivers/char/drm/gamma_old_dma.h:276: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:240: error: `DRM' previously defined here
drivers/char/drm/gamma_old_dma.h: In function `DRM':
drivers/char/drm/gamma_old_dma.h:281: error: `dma' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:281: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:284: error: `dma_get_buffers_of_order' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:284: error: `filp' undeclared (first use in this function)
drivers/char/drm/gamma_old_dma.h:284: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:295: error: called object is not a function
drivers/char/drm/gamma_old_dma.h:308: error: called object is not a function
drivers/char/drm/gamma_drv.c:45:26: drm_drawable.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:46:21: drm_drv.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:48:22: drm_fops.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:49:22: drm_init.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:50:23: drm_ioctl.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:51:21: drm_irq.h: Nie ma takiego pliku ani katalogu
In file included from drivers/char/drm/gamma_drv.c:52:
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:36: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:36: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:36: error: redefinition of `DRM'
drivers/char/drm/gamma_old_dma.h:276: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:37: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:39: error: `alloc' undeclared (first use in thisfunction)
drivers/char/drm/gamma_lists.h:40: error: called object is not a function
drivers/char/drm/gamma_lists.h:44: error: `count' undeclared (first use in thisfunction)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:54: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:54: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:54: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:36: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:55: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:56: error: `free' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:58: error: called object is not a function
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:68: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:68: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:68: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:54: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:72: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:74: error: `buf' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:89: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lists.h:89: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:89: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:68: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:93: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:97: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:102: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:106: error: `DRM' declared as function returninga function
drivers/char/drm/gamma_lists.h:106: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:106: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:89: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:107: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:119: error: `DRM' declared as function returninga function
drivers/char/drm/gamma_lists.h:119: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:119: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:106: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:120: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:126: error: `DRM' declared as function returninga function
drivers/char/drm/gamma_lists.h:126: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:126: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:119: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:127: error: `dev' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:134: error: `buf' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:138: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:161: error: `DRM' declared as function returninga function
drivers/char/drm/gamma_lists.h:161: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:161: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:126: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h:161: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:164: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:164: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:170: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:184: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h: At top level:
drivers/char/drm/gamma_lists.h:188: error: `DRM' declared as function returninga function
drivers/char/drm/gamma_lists.h:188: warning: function declaration isn't a prototype
drivers/char/drm/gamma_lists.h:188: error: redefinition of `DRM'
drivers/char/drm/gamma_lists.h:161: error: `DRM' previously defined here
drivers/char/drm/gamma_lists.h: In function `DRM':
drivers/char/drm/gamma_lists.h:192: error: `bl' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:192: warning: return makes integer from pointer without a cast
drivers/char/drm/gamma_lists.h:198: error: `block' undeclared (first use in this function)
drivers/char/drm/gamma_lists.h:203: error: `freelist_try' undeclared (first usein this function)
drivers/char/drm/gamma_lists.h:203: error: called object is not a function
drivers/char/drm/gamma_lists.h:210: warning: return makes integer from pointer without a cast
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: Nie ma takiego pliku ani katalogu
In file included from drivers/char/drm/gamma_drv.c:54:
drivers/char/drm/gamma_lock.h: At top level:
drivers/char/drm/gamma_lock.h:36: error: `DRM' declared as function returning afunction
drivers/char/drm/gamma_lock.h:36: warning: 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: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_lock.h: In function `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: At top level:
drivers/char/drm/gamma_lock.h:69: error: `DRM' declared as function returning afunction
drivers/char/drm/gamma_lock.h:69: warning: 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: warning: `DRM' was declared `extern' and later `static'
drivers/char/drm/gamma_lock.h: In function `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: At top level:
drivers/char/drm/gamma_lock.h:87: error: `DRM' declared as function returning afunction
drivers/char/drm/gamma_lock.h:87: warning: 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 function `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 inthis function)
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: At top level:
drivers/char/drm/gamma_lock.h:106: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:106: warning: 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 function `DRM':
drivers/char/drm/gamma_lock.h:112: error: `flags' undeclared (first use in thisfunction)
drivers/char/drm/gamma_lock.h:113: error: `flush_unblock_queue' undeclared (first use in this 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: At top level:
drivers/char/drm/gamma_lock.h:127: error: `DRM' declared as function returning a function
drivers/char/drm/gamma_lock.h:127: warning: 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 function `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 this 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 usein this function)
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: At top level:
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: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:57:20: drm_vm.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:58:22: drm_stub.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_drv.c:59:25: drm_scatter.h: Nie ma takiego pliku ani katalogu
drivers/char/drm/gamma_lists.h:161: warning: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:36: warning: `DRM' defined but not used
drivers/char/drm/gamma_lock.h:69: warning: `DRM' defined but not used
make[4]: *** [drivers/char/drm/gamma_drv.o] Bł±d 1
make[3]: *** [drivers/char/drm] Bł±d 2
make[2]: *** [drivers/char] Bł±d 2
make[1]: *** [drivers] Bł±d 2
make[1]: Leaving directory `/usr/src/linux-2.6.13.2'
make: *** [stamp-build] Bł±d 2

problem jest już od jakiegoś czasu i nie wiem jak sobie z nim poradzić.

Proszę o pomoc!

Offline Robert

  • Administrator
  • Guru
  • *****
  • Wiadomości: 2516
    • Zobacz profil
błąd przy kompilacji jądra
« Odpowiedź #2 dnia: 2006-02-16, 19:24:48 »
1.A czy wcześniej używałeś takich magicznych polecen jak:
make config, albo: make menuconfig, lub make xconfig?

2. Czy byłeś tutaj: http://www.howtoforge.com/howto_linux_kernel_2.6_compile_debian

ewentualnie tutaj:
http://www.debianusers.pl/article.php?aid=10&top10=1#4_1

3. Czy jestes pewny,że masz wzystko dobrze w jajku ustawione
Zanim popełnisz grafomaństwo: 1 | 2 | 3
Baza RPM Jak szukać informacji

marcin.kaczmarek

  • Gość
błąd przy kompilacji jądra
« Odpowiedź #3 dnia: 2006-02-16, 21:50:33 »
Stanowczo sprawdź ustawienia w .config'u.
Niestety musisz się napracować, biorąć pod uwagę, że Debian ma czasem "antyczne" pakiety.

jarjar

  • Gość
błąd przy kompilacji jądra
« Odpowiedź #4 dnia: 2006-02-16, 23:49:03 »
dziękuję Wam za odpowiedź.

1. Wydaje mi się, że wszystko jest zainstalowane poprawnie - wnioskuję ponieważ żadne błędy inne mi się nie pojawiały. Nie wiem jak to lepiej sprawdzić.

3. Krok po kroku, wszytkie polecenia wykonywałem poprawnie

2. dziwne jest to, że gdy próbowałem poprostu
'make oldconfig' i skompilować nowsze jądro dla tych samych ustawień, wszystko wysypywało się w identyczny sposób
Bez względu na to jakie kombinacje ustawień próbowałem, efekt i komunikat były identyczne.

3. W starym .config nie dopatrzyłem się niczego co by się nazywało "gamma"


Czy znacie jakiś howto na temat prawidłowego wyglądu pliku .config, albo jakieś howto: "Jak poradzić sobie z wrednym kernelem" ;)?


Pozdrawiam

jarjar