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!