LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-14-2006, 11:50 AM   #1
miha
LQ Newbie
 
Registered: Oct 2003
Distribution: Gentoo 2006.0
Posts: 6

Rep: Reputation: 0
Exclamation error emerging x11-drm


Hi,

i'm trying to get my DRI working under gentoo/gnome on laptop HP xe4500 with Ati Radeon M6. When i try to emerge x11-drm, i get an error.

Code:
  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_memory.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_proc.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_stub.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_vm.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_sysfs.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:57:5: warning: " DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:88:5: warning: " DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:136:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:143:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:159:5: warning: "DRM_DEBUG_MEMORY" is not defined
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_agpsupport.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_scatter.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_memory_debug .o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/ati_pcigart.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c: In function `postinit':
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c:42: warning: implicit declaration of function `pci_pretty_name'
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c:42: warning: format argument is not a pointer (arg 8)
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_cp.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_state.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_mem.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_irq.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c: In function `setup_i2c_bus':
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: `I 2C_ALGO_ATI' undeclared (first use in this function)
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: (E ach undeclared identifier is reported only once
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: fo r each function it appears in.)
make[2]: *** [/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.o ] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drm-20050502/work/drm/linux-core] Err or 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r1'
make: *** [modules] Error 2
 * Portage could not build the DRM modules. If you see an ACCESS DENIED error,
 * this could mean that you were using an unsupported kernel build system. All
 * 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
 * are supported.

!!! ERROR: x11-base/x11-drm-20050502 failed.
!!! Function die_error, Line 211, Exitcode 0
!!! Unable to build DRM modules.
!!! If you need support, post the topmost build error, NOT this status message.
What is going wrong here? Am i missing something?

Regards, Miha.
 
Old 03-15-2006, 05:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
at a guess, it looks like you don't have i2c compiled into your kernel.
 
Old 07-18-2006, 02:56 AM   #3
mattmg220
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
x11-drm radeon .. please help

Im also getting a similar problem and I have gone to compile i2c in my kernel
Code:
VIDEO_CARDS="radeon" emerge x11-drm
Calculating dependencies... done!
>>> Emerging (1 of 1) x11-base/x11-drm-20050502 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking x11-drm-20050502-gentoo-0.2.tar.bz2 ;-)
>>> checking linux-drm-20050502-kernelsource.tar.bz2 ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16-gentoo-r12matt1
QA Notice: USE Flag 'video_cards_ffb' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_mga' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_3dfx' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_r128' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_radeon' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_i810' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_i830' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_i915' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_mach64' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_savage' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_sis' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_via' not in IUSE for x11-base/x11-drm-20050502
QA Notice: USE Flag 'video_cards_ffb' not in IUSE for x11-base/x11-drm-20050502
>>> Unpacking source...
>>> Unpacking linux-drm-20050502-kernelsource.tar.bz2 to /var/tmp/portage/x11-drm-20050502/work
>>> Unpacking x11-drm-20050502-gentoo-0.2.tar.bz2 to /var/tmp/portage/x11-drm-20050502/work
mv: cannot stat `/var/tmp/portage/x11-drm-20050502/work/patch/*kernel-2.4*': No such file or directory
 * Applying various patches (bugfixes/updates) ...
 *   001_all_can-2004-1056-lock-checking.patch ...                                                                     [ ok ] *   002_all_misc-makefile-fixes.patch ...                                                                             [ ok ] *   003_all_i915-free-mem-leak.patch ...                                                                              [ ok ] *   004_all_i915-pci-alloc-corruption.patch ...                                                                       [ ok ] * Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drm-20050502/work/drm ...
 * Building DRM in /var/tmp/portage/x11-drm-20050502/work/drm/linux-core...
+ ln -s ../shared-core/drm.h drm.h
+ ln -s ../shared-core/drm_sarea.h drm_sarea.h
+ ln -s ../shared-core/mga_dma.c mga_dma.c
+ ln -s ../shared-core/mga_drm.h mga_drm.h
+ ln -s ../shared-core/mga_drv.h mga_drv.h
+ ln -s ../shared-core/mga_irq.c mga_irq.c
+ ln -s ../shared-core/mga_state.c mga_state.c
+ ln -s ../shared-core/mga_ucode.h mga_ucode.h
+ ln -s ../shared-core/mga_warp.c mga_warp.c
+ ln -s ../shared-core/r128_drv.h r128_drv.h
+ ln -s ../shared-core/r128_drm.h r128_drm.h
+ ln -s ../shared-core/r128_cce.c r128_cce.c
+ ln -s ../shared-core/r128_state.c r128_state.c
+ ln -s ../shared-core/r128_irq.c r128_irq.c
+ ln -s ../shared-core/radeon_drv.h radeon_drv.h
+ ln -s ../shared-core/radeon_drm.h radeon_drm.h
+ ln -s ../shared-core/radeon_cp.c radeon_cp.c
+ ln -s ../shared-core/radeon_irq.c radeon_irq.c
+ ln -s ../shared-core/radeon_mem.c radeon_mem.c
+ ln -s ../shared-core/radeon_state.c radeon_state.c
+ ln -s ../shared-core/sis_drv.h sis_drv.h
+ ln -s ../shared-core/sis_drm.h sis_drm.h
+ ln -s ../shared-core/sis_ds.c sis_ds.c
+ ln -s ../shared-core/sis_ds.h sis_ds.h
+ ln -s ../shared-core/sis_mm.c sis_mm.c
+ ln -s ../shared-core/tdfx_drv.h tdfx_drv.h
+ ln -s ../shared-core/via_drm.h via_drm.h
+ ln -s ../shared-core/via_drv.h via_drv.h
+ ln -s ../shared-core/via_mm.h via_mm.h
+ ln -s ../shared-core/via_ds.h via_ds.h
+ ln -s ../shared-core/via_3d_reg.h via_3d_reg.h
+ ln -s ../shared-core/via_drv.c via_drv.c
+ ln -s ../shared-core/via_ds.c via_ds.c
+ ln -s ../shared-core/via_irq.c via_irq.c
+ ln -s ../shared-core/via_map.c via_map.c
+ ln -s ../shared-core/via_mm.c via_mm.c
+ ln -s ../shared-core/via_dma.c via_dma.c
+ ln -s ../shared-core/via_verifier.c via_verifier.c
+ ln -s ../shared-core/via_verifier.h via_verifier.h
+ ln -s ../shared-core/via_video.c via_video.c
+ ln -s ../shared-core/mach64_drv.h mach64_drv.h
+ ln -s ../shared-core/mach64_drm.h mach64_drm.h
+ ln -s ../shared-core/mach64_dma.c mach64_dma.c
+ ln -s ../shared-core/mach64_irq.c mach64_irq.c
+ ln -s ../shared-core/mach64_state.c mach64_state.c
+ ln -s ../shared-core/i915_drv.h i915_drv.h
+ ln -s ../shared-core/i915_drm.h i915_drm.h
+ ln -s ../shared-core/i915_irq.c i915_irq.c
+ ln -s ../shared-core/i915_mem.c i915_mem.c
+ ln -s ../shared-core/i915_dma.c i915_dma.c
+ ln -s ../shared-core/savage_drv.h savage_drv.h
+ ln -s ../shared-core/savage_drm.h savage_drm.h
+ ln -s ../shared-core/savage_bci.c savage_bci.c
+ ln -s ../shared-core/savage_state.c savage_state.c
sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
rm -f linux
ln -s . linux
make -C //usr/src/linux  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r12'
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_auth.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_bufs.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_context.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_dma.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_drawable.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_drv.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_fops.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_ioctl.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_irq.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_lock.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_memory.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_proc.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_stub.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_vm.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_sysfs.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:57:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:88:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:136:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:143:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:159:5: warning: "DRM_DEBUG_MEMORY" is not defined
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_agpsupport.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_scatter.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_memory_debug.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/ati_pcigart.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c: In function `postinit':
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c:42: warning: implicit declaration of function `pci_pretty_name'
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c:42: warning: format argument is not a pointer (arg 8)
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_cp.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_state.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_mem.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_irq.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c: In function `setup_i2c_bus':
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: `I2C_ALGO_ATI' undeclared (first use in this function)
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: (Each undeclared identifier is reported only once
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drm-20050502/work/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r12'
make: *** [modules] Error 2
 * Portage could not build the DRM modules. If you see an ACCESS DENIED error,
 * this could mean that you were using an unsupported kernel build system. All
 * 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
 * are supported.

!!! ERROR: x11-base/x11-drm-20050502 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  x11-drm-20050502.ebuild, line 94:   Called die_error
  x11-drm-20050502.ebuild, line 211:   Called die
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error emerging gnome in fresh gentoo install PhantmShado Linux - Software 0 02-24-2006 10:30 PM
emerge x11-drm every boot? catfishk Linux - Software 1 12-04-2005 01:54 AM
Gentoo 2005.1: error emerging xorg-x11 student04 Linux - Distributions 2 09-16-2005 08:43 PM
emerging kdebase error LuckyABA Linux - Newbie 4 01-21-2005 01:01 AM
Gentoo - Error in emerging kdelibs-3.2.1 Rounan Linux - Distributions 6 11-05-2004 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration