Find the answer to your Linux question:
Results 1 to 3 of 3
i decided to try to compile my own kernel. so, i went to kernel.org and downloaded 2.6.12. i configured it and i make. after a while, it stops with a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    17

    compiling the kernel


    i decided to try to compile my own kernel. so, i went to kernel.org and downloaded 2.6.12. i configured it and i make. after a while, it stops with a whole lot of errors about drm. im not sure if this is all of it, but this is as far up as i can scroll.

    Code:
    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: 'struct drm_file' 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:96: error: previous definition of 'DRM' was 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: 'struct drm_file' 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&#58;421&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_context.h&#58;422&#58; warning&#58; control reaches end of non-void function
    drivers/char/drm/gamma_context.h&#58; At top level&#58;
    drivers/char/drm/gamma_context.h&#58;426&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_context.h&#58;426&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_context.h&#58;426&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_context.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_context.h&#58;427&#58; error&#58; 'filp' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_context.h&#58;428&#58; error&#58; 'struct drm_file' has no member named 'dev'
    drivers/char/drm/gamma_context.h&#58;431&#58; error&#58; 'arg' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_context.h&#58;434&#58; error&#58; 'context_switch_complete' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_context.h&#58;434&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_context.h&#58; At top level&#58;
    drivers/char/drm/gamma_context.h&#58;441&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_context.h&#58;441&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_context.h&#58;441&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_context.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_context.h&#58;442&#58; error&#58; 'filp' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_context.h&#58;443&#58; error&#58; 'struct drm_file' has no member named 'dev'
    drivers/char/drm/gamma_context.h&#58;448&#58; error&#58; 'arg' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_context.h&#58;474&#58; error&#58; 'waitlist_get' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_context.h&#58;474&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_context.h&#58;475&#58; error&#58; 'free_buffer' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_context.h&#58;475&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_drv.c&#58;43&#58;21&#58; error&#58; drm_dma.h&#58; No such file or directory
    In file included from drivers/char/drm/gamma_drv.c&#58;44&#58;
    drivers/char/drm/gamma_old_dma.h&#58; At top level&#58;
    drivers/char/drm/gamma_old_dma.h&#58;37&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_old_dma.h&#58;37&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_old_dma.h&#58;37&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_old_dma.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_old_dma.h&#58;38&#58; error&#58; 'dev' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;40&#58; error&#58; 'struct drm_device_dma' has no member named 'next_buffer'
    drivers/char/drm/gamma_old_dma.h&#58;41&#58; error&#58; 'struct drm_device_dma' has no member named 'next_queue'
    drivers/char/drm/gamma_old_dma.h&#58;41&#58; error&#58; 'struct drm_device_dma' has no member named 'next_queue'
    drivers/char/drm/gamma_old_dma.h&#58;41&#58; error&#58; 'struct drm_device_dma' has no member named 'next_queue'
    drivers/char/drm/gamma_old_dma.h&#58;41&#58; error&#58; 'struct drm_device_dma' has no member named 'next_queue'
    drivers/char/drm/gamma_old_dma.h&#58;41&#58; error&#58; 'struct drm_device_dma' has no member named 'next_queue'
    drivers/char/drm/gamma_old_dma.h&#58;41&#58; error&#58; 'struct drm_device_dma' has no member named 'next_queue'
    drivers/char/drm/gamma_old_dma.h&#58;42&#58; error&#58; 'struct drm_device_dma' has no member named 'next_queue'
    drivers/char/drm/gamma_old_dma.h&#58;44&#58; error&#58; 'struct drm_device_dma' has no member named 'next_queue'
    drivers/char/drm/gamma_old_dma.h&#58;45&#58; warning&#58; no return statement in function returning non-void
    drivers/char/drm/gamma_old_dma.h&#58;45&#58; warning&#58; control reaches end of non-void function
    drivers/char/drm/gamma_old_dma.h&#58; At top level&#58;
    drivers/char/drm/gamma_old_dma.h&#58;48&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_old_dma.h&#58;48&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_old_dma.h&#58;48&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_old_dma.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_old_dma.h&#58;53&#58; error&#58; 'dev' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;97&#58; error&#58; 'wrapper' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58; At top level&#58;
    drivers/char/drm/gamma_old_dma.h&#58;116&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_old_dma.h&#58;116&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_old_dma.h&#58;116&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_old_dma.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_old_dma.h&#58;117&#58; error&#58; 'filp' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;118&#58; error&#58; 'struct drm_file' has no member named 'dev'
    drivers/char/drm/gamma_old_dma.h&#58;129&#58; error&#58; 'd' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;173&#58; error&#58; 'alloc' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;173&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_old_dma.h&#58;222&#58; error&#58; 'free_buffer' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;222&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_old_dma.h&#58;224&#58; error&#58; 'waitlist_put' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;224&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_old_dma.h&#58;233&#58; error&#58; 'free' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;233&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_old_dma.h&#58; At top level&#58;
    drivers/char/drm/gamma_old_dma.h&#58;240&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_old_dma.h&#58;240&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_old_dma.h&#58;240&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_old_dma.h&#58;116&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_old_dma.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_old_dma.h&#58;241&#58; error&#58; 'filp' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;242&#58; error&#58; 'struct drm_file' has no member named 'dev'
    drivers/char/drm/gamma_old_dma.h&#58;247&#58; error&#58; 'd' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;248&#58; error&#58; 'freelist_get' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;248&#58; error&#58; 'order' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;249&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_old_dma.h&#58; At top level&#58;
    drivers/char/drm/gamma_old_dma.h&#58;276&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_old_dma.h&#58;276&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_old_dma.h&#58;276&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_old_dma.h&#58;240&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_old_dma.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_old_dma.h&#58;281&#58; error&#58; 'dma' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;281&#58; error&#58; called object 'DRM&#40;order&#41;' is not a function
    drivers/char/drm/gamma_old_dma.h&#58;284&#58; error&#58; 'dma_get_buffers_of_order' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;284&#58; error&#58; 'filp' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_old_dma.h&#58;284&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_old_dma.h&#58;295&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_old_dma.h&#58;308&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_drv.c&#58;45&#58;26&#58; error&#58; drm_drawable.h&#58; No such file or directory
    drivers/char/drm/gamma_drv.c&#58;46&#58;21&#58; error&#58; drm_drv.h&#58; No such file or directory
    drivers/char/drm/gamma_drv.c&#58;48&#58;22&#58; error&#58; drm_fops.h&#58; No such file or directorydrivers/char/drm/gamma_drv.c&#58;49&#58;22&#58; error&#58; drm_init.h&#58; No such file or directorydrivers/char/drm/gamma_drv.c&#58;50&#58;23&#58; error&#58; drm_ioctl.h&#58; No such file or directory
    drivers/char/drm/gamma_drv.c&#58;51&#58;21&#58; error&#58; drm_irq.h&#58; No such file or directory
    In file included from drivers/char/drm/gamma_drv.c&#58;52&#58;
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;36&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;36&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;36&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;37&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;39&#58; error&#58; 'alloc' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;40&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lists.h&#58;44&#58; error&#58; 'count' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;54&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;54&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;54&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;55&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;56&#58; error&#58; 'free' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;58&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;68&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;68&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;68&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;72&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;74&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;89&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;89&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;89&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;93&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;97&#58; warning&#58; return makes integer from pointer without a cast
    drivers/char/drm/gamma_lists.h&#58;102&#58; warning&#58; return makes integer from pointer without a cast
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;106&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;106&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;106&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;107&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;119&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;119&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;119&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;120&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;126&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;126&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;126&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;127&#58; error&#58; 'dev' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;134&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;138&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;161&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;161&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;161&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_lists.h&#58;126&#58; error&#58; previous definition of 'DRM' was heredrivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;164&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;164&#58; warning&#58; return makes integer from pointer without a cast
    drivers/char/drm/gamma_lists.h&#58;170&#58; warning&#58; return makes integer from pointer without a cast
    drivers/char/drm/gamma_lists.h&#58;184&#58; warning&#58; return makes integer from pointer without a cast
    drivers/char/drm/gamma_lists.h&#58; At top level&#58;
    drivers/char/drm/gamma_lists.h&#58;188&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lists.h&#58;188&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lists.h&#58;188&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_lists.h&#58;161&#58; error&#58; previous definition of 'DRM' was heredrivers/char/drm/gamma_lists.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lists.h&#58;192&#58; error&#58; 'bl' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;192&#58; warning&#58; return makes integer from pointer without a cast
    drivers/char/drm/gamma_lists.h&#58;198&#58; error&#58; 'block' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;203&#58; error&#58; 'freelist_try' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lists.h&#58;203&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lists.h&#58;210&#58; warning&#58; return makes integer from pointer without a cast
    drivers/char/drm/gamma_lists.h&#58;213&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lists.h&#58;214&#58; warning&#58; control reaches end of non-void function
    drivers/char/drm/gamma_drv.c&#58;53&#58;22&#58; error&#58; drm_lock.h&#58; No such file or directoryIn file included from drivers/char/drm/gamma_drv.c&#58;54&#58;
    drivers/char/drm/gamma_lock.h&#58; At top level&#58;
    drivers/char/drm/gamma_lock.h&#58;36&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lock.h&#58;36&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lock.h&#58;36&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_lists.h&#58;188&#58; error&#58; previous definition of 'DRM' was heredrivers/char/drm/gamma_lock.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lock.h&#58;39&#58; error&#58; 'dev' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;39&#58; error&#58; 'context' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58; At top level&#58;
    drivers/char/drm/gamma_lock.h&#58;69&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lock.h&#58;69&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lock.h&#58;69&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_lock.h&#58;36&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lock.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lock.h&#58;70&#58; error&#58; 'dev' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;70&#58; error&#58; 'context' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58; At top level&#58;
    drivers/char/drm/gamma_lock.h&#58;87&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lock.h&#58;87&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lock.h&#58;87&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_lock.h&#58;69&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lock.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lock.h&#58;93&#58; error&#58; 'flags' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;94&#58; error&#58; 'flush_queue' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;94&#58; error&#58; 'dev' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;94&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lock.h&#58;95&#58; error&#58; 'context' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;95&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lock.h&#58;99&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lock.h&#58; At top level&#58;
    drivers/char/drm/gamma_lock.h&#58;106&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lock.h&#58;106&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lock.h&#58;106&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lock.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lock.h&#58;112&#58; error&#58; 'flags' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;113&#58; error&#58; 'flush_unblock_queue' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;113&#58; error&#58; 'dev' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;113&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lock.h&#58;114&#58; error&#58; 'context' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;114&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lock.h&#58;118&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lock.h&#58; At top level&#58;
    drivers/char/drm/gamma_lock.h&#58;127&#58; error&#58; 'DRM' declared as function returning a function
    drivers/char/drm/gamma_lock.h&#58;127&#58; warning&#58; function declaration isn't a prototype
    drivers/char/drm/gamma_lock.h&#58;127&#58; error&#58; redefinition of 'DRM'
    drivers/char/drm/gamma_context.h&#58;96&#58; error&#58; previous definition of 'DRM' was here
    drivers/char/drm/gamma_lock.h&#58; In function 'DRM'&#58;
    drivers/char/drm/gamma_lock.h&#58;128&#58; error&#58; 'filp' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;129&#58; error&#58; 'struct drm_file' has no member named 'dev'
    drivers/char/drm/gamma_lock.h&#58;135&#58; error&#58; 'arg' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;137&#58; error&#58; 'flush_block_and_flush' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;137&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_lock.h&#58;138&#58; error&#58; 'flush_unblock' undeclared &#40;first use in this function&#41;
    drivers/char/drm/gamma_lock.h&#58;138&#58; error&#58; called object 'DRM&#40;<erroneous-expression>&#41;' is not a function
    drivers/char/drm/gamma_drv.c&#58;56&#58;22&#58; error&#58; drm_proc.h&#58; No such file or directorydrivers/char/drm/gamma_drv.c&#58;57&#58;20&#58; error&#58; drm_vm.h&#58; No such file or directory
    drivers/char/drm/gamma_drv.c&#58;58&#58;22&#58; error&#58; drm_stub.h&#58; No such file or directorydrivers/char/drm/gamma_drv.c&#58;59&#58;25&#58; error&#58; drm_scatter.h&#58; No such file or directory
    what do i do?

    EDIT: woah, i just realized how much text that is. sorry if its too much.

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    To log the whole thing (so you can get it all) use a command like this:

    make > build.log 2>&1
    tail -f build.log

    The weird make command directs stdout and stderr to file build.log , then the tail command will show you the build.log so you know whats going on. You'll have to Ctrl+C when it's done to get back to the shell. Then all output from make will be in the file build.log which you can get to the beginning of the error.

    I really don't know the specifics of the error, but you might try messing with your drm/dri settings (turn off what you don't need, try using modules, etc).

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    17
    i tried looking for it, but i couldnt find it. any idea where they are? (im assuming you mean in the kernel)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •