Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge ati-drivers says missing config.h with 2.6.19-r5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mfyahya
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2006
Posts: 110

PostPosted: Fri Feb 09, 2007 5:06 am    Post subject: emerge ati-drivers says missing config.h with 2.6.19-r5 Reply with quote

Here's the relevant emerge output:
Code:

>>> Unpacking source...
 * Unpacking Ati drivers ...                                                                        [ ok ]
 * Applying ati-powermode.sh.patch ...                                                              [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ati-drivers-8.27.10-r1 ...
 * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.19-gentoo-r5'
  CC [M]  /var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:89:26: error: linux/config.h: No such file or directory
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:233: error: 'UTS_RELEASE' undeclared here (not in a function)
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function 'firegl_stub_open':
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:559: warning: assignment discards qualifiers from pointer target type
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function '__ke_request_irq':
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2476: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function '__ke_vm_map':
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3159: error: 'VM_SHM' undeclared (first use in this function)
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3159: error: (Each undeclared identifier is reported only once
/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.c:3159: error: for each function it appears in.)
make[1]: *** [/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make: *** [_module_/var/tmp/portage/ati-drivers-8.27.10-r1/work/common/lib/modules/fglrx/build_mod] Error 2
make: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5'
 * DRM module not built
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.27.10-r1

>>> Install ati-drivers-8.27.10-r1 into /var/tmp/portage/ati-drivers-8.27.10-r1/image/ category x11-drivers
 * Installing fglrx module
install: cannot stat `fglrx.ko': No such file or directory

!!! ERROR: x11-drivers/ati-drivers-8.27.10-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  ati-drivers-8.27.10-r1.ebuild, line 205:   Called linux-mod_src_install
  linux-mod.eclass, line 540:   Called die

!!! doins fglrx.ko failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
 


both ati-drivers-8.27.10-r1 and gentoo-sources-2.6.19-r5 are marked stable :?
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Fri Feb 09, 2007 8:14 pm    Post subject: Reply with quote

maybe you have
# CONFIG_DRM is not set
in the kernel config and need to enable it and build it....
cd /usr/src/linux && make menuconfig
make && make modules modules_install install
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
mfyahya
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2006
Posts: 110

PostPosted: Sat Feb 10, 2007 10:59 am    Post subject: Reply with quote

You were right, CONFIG_DRM was not, but I got it to compile anyways.
I found an ati-drivers-2.6.19.patch in the ebuild's files directory, and it worked after applying that patch.

What does the CONFIG_DRM option do? and do I need it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum