Mmmm... sigue el mismo error, intente lo que me dijiste pero al parecer no existe el archivo de cabecera gamma.h (me fije de instalar linux-kernel-headers pero esta instalado ya) y a raiz de eso viene todo el lio, por lo poco que pude entender. Aca dejo el registro de errores para que lo vean, a ver si me pueden dar una mano porque es siempre el mismo error, sin importar que kernel quiera compilar.
------------------------- drivers/char/drm/gamma_drv.c:33:19: gamma.h: No existe el fichero o el directorio 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: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:68: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:68: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:70: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:70: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:74: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:74: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:76: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:76: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:77: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:77: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:78: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:78: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:83: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:83: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:84: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:84: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:85: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:85: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:86: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:86: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:87: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:87: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:88: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:88: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:90: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:90: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:91: error: `DRM' declared as function returning a function drivers/char/drm/gamma_drv.h:91: aviso: nombres de parámetros (sin tipos) en la declaración de la función drivers/char/drm/gamma_drv.h:94: aviso: nombres de parámetros (sin tipos) en la declaración de la función 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 existe el fichero o el directorio drivers/char/drm/gamma_drv.c:40:28: drm_agpsupport.h: No existe el fichero o el directorio drivers/char/drm/gamma_drv.c:41:22: drm_bufs.h: No existe el fichero o el directorio In file included from drivers/char/drm/gamma_drv.c:42: drivers/char/drm/gamma_context.h: En la función `gamma_fops_read': drivers/char/drm/gamma_context.h:48: error: structure has no member named `dev' drivers/char/drm/gamma_context.h: En el nivel principal: drivers/char/drm/gamma_context.h:96: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:96: aviso: 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: En la función `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: En la función `gamma_fops_poll': drivers/char/drm/gamma_context.h:134: error: structure has no member named `dev' drivers/char/drm/gamma_context.h: En el nivel principal: drivers/char/drm/gamma_context.h:142: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:142: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_context.h:183: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:183: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_context.h:207: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:207: aviso: 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: aviso: `DRM' fue declarado `extern' y después `static' drivers/char/drm/gamma_context.h: En la función `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: En el nivel principal: drivers/char/drm/gamma_context.h:249: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:249: aviso: 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: aviso: `DRM' fue declarado `extern' y después `static' drivers/char/drm/gamma_context.h: En la función `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: En el nivel principal: drivers/char/drm/gamma_context.h:297: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:297: aviso: 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: En la función `DRM': drivers/char/drm/gamma_context.h:298: error: `arg' undeclared (first use in this function) drivers/char/drm/gamma_context.h: En el nivel principal: drivers/char/drm/gamma_context.h:324: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:324: aviso: 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: En la función `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 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: En el nivel principal: drivers/char/drm/gamma_context.h:346: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:346: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_context.h:380: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:380: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_context.h:413: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:413: aviso: 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: En la función `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 (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: En el nivel principal: drivers/char/drm/gamma_context.h:426: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:426: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_context.h:441: error: `DRM' declared as function returning a function drivers/char/drm/gamma_context.h:441: aviso: 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: En la función `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: No existe el fichero o el directorio In file included from drivers/char/drm/gamma_drv.c:44: drivers/char/drm/gamma_old_dma.h: En el nivel principal: drivers/char/drm/gamma_old_dma.h:37: error: `DRM' declared as function returning a function drivers/char/drm/gamma_old_dma.h:37: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_old_dma.h:48: error: `DRM' declared as function returning a function drivers/char/drm/gamma_old_dma.h:48: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_old_dma.h:116: error: `DRM' declared as function returning a function drivers/char/drm/gamma_old_dma.h:116: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_old_dma.h:240: error: `DRM' declared as function returning a function drivers/char/drm/gamma_old_dma.h:240: aviso: 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: aviso: `DRM' fue declarado `extern' y después `static' drivers/char/drm/gamma_old_dma.h: En la función `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: En el nivel principal: drivers/char/drm/gamma_old_dma.h:276: error: `DRM' declared as function returning a function drivers/char/drm/gamma_old_dma.h:276: aviso: 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: En la función `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 existe el fichero o el directorio drivers/char/drm/gamma_drv.c:46:21: drm_drv.h: No existe el fichero o el directorio drivers/char/drm/gamma_drv.c:48:22: drm_fops.h: No existe el fichero o el directorio drivers/char/drm/gamma_drv.c:49:22: drm_init.h: No existe el fichero o el directorio drivers/char/drm/gamma_drv.c:50:23: drm_ioctl.h: No existe el fichero o el directorio drivers/char/drm/gamma_drv.c:51:21: drm_irq.h: No existe el fichero o el directorio In file included from drivers/char/drm/gamma_drv.c:52: drivers/char/drm/gamma_lists.h: En el nivel principal: drivers/char/drm/gamma_lists.h:36: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:36: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_lists.h:54: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:54: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_lists.h:68: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:68: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_lists.h:89: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:89: aviso: 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: En la función `DRM': drivers/char/drm/gamma_lists.h:93: error: `bl' undeclared (first use in this function) drivers/char/drm/gamma_lists.h:97: aviso: return se crea un entero desde un puntero sin una conversión drivers/char/drm/gamma_lists.h:102: aviso: return se crea un entero desde un puntero sin una conversión drivers/char/drm/gamma_lists.h: En el nivel principal: drivers/char/drm/gamma_lists.h:106: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:106: aviso: 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: En la función `DRM': drivers/char/drm/gamma_lists.h:107: error: `bl' undeclared (first use in this function) drivers/char/drm/gamma_lists.h: En el nivel principal: drivers/char/drm/gamma_lists.h:119: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:119: aviso: 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: En la función `DRM': drivers/char/drm/gamma_lists.h:120: error: `bl' undeclared (first use in this function) drivers/char/drm/gamma_lists.h: En el nivel principal: drivers/char/drm/gamma_lists.h:126: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:126: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_lists.h:161: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:161: aviso: 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: aviso: `DRM' fue declarado `extern' y después `static' drivers/char/drm/gamma_lists.h: En la función `DRM': drivers/char/drm/gamma_lists.h:164: error: `bl' undeclared (first use in this function) drivers/char/drm/gamma_lists.h:164: aviso: return se crea un entero desde un puntero sin una conversión drivers/char/drm/gamma_lists.h:170: aviso: return se crea un entero desde un puntero sin una conversión drivers/char/drm/gamma_lists.h:184: aviso: return se crea un entero desde un puntero sin una conversión drivers/char/drm/gamma_lists.h: En el nivel principal: drivers/char/drm/gamma_lists.h:188: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lists.h:188: aviso: 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: En la función `DRM': drivers/char/drm/gamma_lists.h:192: error: `bl' undeclared (first use in this function) drivers/char/drm/gamma_lists.h:192: aviso: return se crea un entero desde un puntero sin una conversión 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: aviso: return se crea un entero desde un puntero sin una conversión 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 existe el fichero o el directorio In file included from drivers/char/drm/gamma_drv.c:54: drivers/char/drm/gamma_lock.h: En el nivel principal: drivers/char/drm/gamma_lock.h:36: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lock.h:36: aviso: 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: aviso: `DRM' fue declarado `extern' y después `static' drivers/char/drm/gamma_lock.h: En la función `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: En el nivel principal: drivers/char/drm/gamma_lock.h:69: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lock.h:69: aviso: 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: aviso: `DRM' fue declarado `extern' y después `static' drivers/char/drm/gamma_lock.h: En la función `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: En el nivel principal: drivers/char/drm/gamma_lock.h:87: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lock.h:87: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_lock.h:106: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lock.h:106: aviso: 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: En la función `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: En el nivel principal: drivers/char/drm/gamma_lock.h:127: error: `DRM' declared as function returning a function drivers/char/drm/gamma_lock.h:127: aviso: 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: En la función `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 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: En el nivel principal: 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 existe el fichero o el directorio drivers/char/drm/gamma_drv.c:57:20: drm_vm.h: No existe el fichero o el directorio drivers/char/drm/gamma_drv.c:58:22: drm_stub.h: No existe el fichero o el directorio drivers/char/drm/gamma_drv.c:59:25: drm_scatter.h: No existe el fichero o el directorio drivers/char/drm/gamma_lists.h:161: aviso: `DRM' defined but not used drivers/char/drm/gamma_lock.h:36: aviso: `DRM' defined but not used drivers/char/drm/gamma_lock.h:69: aviso: `DRM' defined but not used make[4]: *** [drivers/char/drm/gamma_drv.o] Error 1 make[3]: *** [drivers/char/drm] Error 2 make[2]: *** [drivers/char] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.13' make: *** [stamp-build] Error 2 --------------------------- Saludos y gracias desde ya. > intenta esto: > > descomprime el 'ultimo kernel desde ftp.de.kernel.org (el 2.6.14) > > copia el .config de otro kernel funcionante (por ejemplo el 2.6.8) en > /usr/src/linux, > > luego lo comandos: > > # make oldconfig > > nada de make menuconfig, sino directamente: > > # make-kpkg --append-to-version=-prueba --revision=01 --initrd kernel_image > > > con esto tiene que funcionar... si no va tu sistema le falta algo. > > cuando estas seguro que tu kernel compila, podrás empezar a jugar con > make menuconfig > > ciao > MaX > > > ______________________________________________ > Renovamos el Correo Yahoo! > Nuevos servicios, más seguridad > http://correo.yahoo.es -- -- Martin.