Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

erreur lors de la compilation du kernel

3 réponses
Avatar
elekis
bonjour,
je suis passer a ubuntu, et avec ca, j'ai voulu recompiler le le noyau
2.6.11

donc, j'installe le package sources, , le kernel tools,...
je creer un lien,
je lance make oldconfig,puis le make all,

masi apres un certain temps, il met ca. (j'ai juste mis ou commencais
les erreurs

-------------------------------------------------
CC [M] drivers/char/drm/drm_scatter.o
CC [M] drivers/char/drm/ati_pcigart.o
CC [M] drivers/char/drm/drm_pci.o
CC [M] drivers/char/drm/drm_sysfs.o
CC [M] drivers/char/drm/gamma_drv.o
drivers/char/drm/gamma_drv.c:33:19: gamma.h: No such file or directory
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: No such file or
directory
drivers/char/drm/gamma_drv.c:40:28: drm_agpsupport.h: No such file or
directory
drivers/char/drm/gamma_drv.c:41:22: drm_bufs.h: No such file or
directory
In file included from drivers/char/drm/gamma_drv.c:42:
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 this function)
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: 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 in this 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: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 use in 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: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: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:418: error: `arg' undeclared (first
use in this function)
drivers/char/drm/gamma_context.h:421: error: `context_switch'
undeclared (first use 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: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: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: No such file or
directory
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 this function)
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 this function)
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: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: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: No such file or
directory
drivers/char/drm/gamma_drv.c:46:21: drm_drv.h: No such file or
directory
drivers/char/drm/gamma_drv.c:48:22: drm_fops.h: No such file or
directory
drivers/char/drm/gamma_drv.c:49:22: drm_init.h: No such file or
directory
drivers/char/drm/gamma_drv.c:50:23: drm_ioctl.h: No such file or
directory
drivers/char/drm/gamma_drv.c:51:21: drm_irq.h: No such file or
directory
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 this function)
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 this function)
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
returning a 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
returning a 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
returning a 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
returning a 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
returning a 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 use in 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: No such file or
directory
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 a function
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 a function
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 a function
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 in this 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 this function)
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: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 use in 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: No such file or
directory
drivers/char/drm/gamma_drv.c:57:20: drm_vm.h: No such file or directory
drivers/char/drm/gamma_drv.c:58:22: drm_stub.h: No such file or
directory
drivers/char/drm/gamma_drv.c:59:25: drm_scatter.h: No such file or
directory
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[3]: *** [drivers/char/drm/gamma_drv.o] Erreur 1
make[2]: *** [drivers/char/drm] Erreur 2
make[1]: *** [drivers/char] Erreur 2
make: *** [drivers] Erreur 2

-------------------------------------------------------------------------------------

kekesa veut dire???
et surotut , comment le supprimer???

merci

a++

3 réponses

Avatar
Rakotomandimby (R12y) Mihamina
( Thu, 03 Mar 2005 04:43:01 -0800 ) elekis :

make oldconfig,puis le make all,


- quelle est l'ancienne version du kernel ?
- tant qu'a faire, tu préfère pas re selectionner toutes tes options
avec un 'make menuconfig', puis sauver?

--
L'ASPO a pour but de démocratiser l'acces a l'informatique. Une de ses
activité est l'infogerance (http://aspo.rktmb.org/activites/infogerance)
Tél: + 33 2 38 04 26 04 ou + 33 6 33 26 13 14 (France)

Avatar
ericb
Bonjour,

bonjour,
je suis passer a ubuntu, et avec ca, j'ai voulu recompiler le le noyau
2.6.11


Quel est le noyau actuel ? Est-ce que les sources de ce noyau sont déjà
installées ?

donc, j'installe le package sources, , le kernel tools,...
je creer un lien,
je lance make oldconfig,puis le make all,

masi apres un certain temps, il met ca. (j'ai juste mis ou commencais
les erreurs



On dirait la compilation du module radeon...

-------------------------------------------------
CC [M] drivers/char/drm/drm_scatter.o
CC [M] drivers/char/drm/ati_pcigart.o
CC [M] drivers/char/drm/drm_pci.o
CC [M] drivers/char/drm/drm_sysfs.o
CC [M] drivers/char/drm/gamma_drv.o



"""""""""""""""""""""""""
drivers/char/drm/gamma_drv.c:33:19: gamma.h: No such file or directory


""""""""""""""""""""""""
ça commence là. Dans le fichier gamma_drv.c, est déclaré "#include
<gamma.h>" ou quelque chose d'approchant, et ce fichier n'est pas
trouvé, donc plein de définitions, de prototypes de functions...etc ne
sont pas trouvés non plus.

Pour savoir où se trouve ce fichier, tu fais un : find / -name "gamma.h"
Si tu en trouves plusieurs ou pas du tout, c'est qu'il y a un problème
évident. Sinon, il faudra chercher davantage.

Note : si le module gamma_drv n'est pas utilisé, il suffit de le
supprimer des règles de compilation du makefile... (il doit s'appeler
gamma_drv.o je pense ) et le problème n'arrivera plus. Bien *faire une
sauvegarde avant* cette modif...

Ce dont je ne me souviens plus, c'est est-il encore utile ? , par contre :-)

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


Il y a aussi un mismatch au sujet de la définition de DRM...

drivers/char/drm/gamma_drv.h:66: warning: parameter names (without
ut

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'


Enfin, je pense....

drivers/char/drm/gamma_drv.c:39:22: drm_auth.h: No such file or
directory
drivers/char/drm/gamma_drv.c:40:28: drm_agpsupport.h: No such file or
directory
drivers/char/drm/gamma_drv.c:41:22: drm_bufs.h: No such file or
directory


^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^ ^^ ^^^^^^

Là, il manque plein d'includes encore... Peut-être un -I manquant dans
un makefile ?

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[3]: *** [drivers/char/drm/gamma_drv.o] Erreur 1
make[2]: *** [drivers/char/drm] Erreur 2
make[1]: *** [drivers/char] Erreur 2
make: *** [drivers] Erreur 2

-------------------------------------------------------------------------------------

kekesa veut dire???


Qu'il y a un problème, genre mélange de deux versions de fichiers
d'en-tête, peut-être. Vers quoi pointe /usr/include/linux ?

Ou un conflit entre deux versions de sources du noyau...ou ....

et surotut , comment le supprimer???


Pour l'instant, je ne sais pas :-)



--
eric bachard
French OpenOffice.org Community contributor (build of french releases
for Linux PPC and Mac OS X / X11)
See : <http://fr.openoffice.org>

Avatar
elekis
mercci,
mais en fait, je suis sous ubuntu donc,(comme dit plus haut) et un pote
m'a dit qu'il fallait simplement mettre a jour et c'est bon. donc j'ai
fait ca, et mnt, j' ai le noyau 2.6.10 -386 (j'aurais voulu le 686 mais
bon)

merci

a+++