Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
drm-99999999 failes to compile with kernel 2.6.30
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5387

PostPosted: Thu Jun 11, 2009 5:53 am    Post subject: drm-99999999 failes to compile with kernel 2.6.30 Reply with quote

here is the snip:
Code:
* Building DRM in /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core...                                                                                 
/var/tmp/portage/x11-base/x11-drm-99999999/temp/environment: line 4182: MODULESD_DRM.KO_ENABLED=yes: command not found                                               
/var/tmp/portage/x11-base/x11-drm-99999999/temp/environment: line 4182: MODULESD_RADEON.KO_ENABLED=yes: command not found                                             
ln: creating symbolic link `Module.symvers': File exists                           
 * Preparing drm module                                                           
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= DRM_MODULES=radeon.ko LINUXDIR=/usr/src/linux M=/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core modules                                               
sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt           
make -C /usr/src/linux  M=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules                 
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo'                         
  CC [M]  /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_auth.o
  CC [M]  /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_bufs.o
  CC [M]  /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_context.o                                                                               
In file included from /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drmP.h:84,                                                                       
                 from /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_auth.c:36:                                                                   
/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_os_linux.h:36: error: conflicting types for ‘irqreturn_t’                                         
include/linux/irqreturn.h:16: error: previous declaration of ‘irqreturn_t’ was here
make[2]: *** [/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_auth.o] Error 1                                                                     
make[2]: *** Waiting for unfinished jobs....                                       
In file included from /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drmP.h:84,                                                                       
                 from /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_bufs.c:37:                                                                   
/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_os_linux.h:36: error: conflicting types for ‘irqreturn_t’                                         
include/linux/irqreturn.h:16: error: previous declaration of ‘irqreturn_t’ was here
/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_bufs.c: In function ‘drm_rmmap_locked’:                                                           
/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_bufs.c:402: warning: enumeration value ‘_DRM_GEM’ not handled in switch                           
make[2]: *** [/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_bufs.o] Error 1                                                                     
In file included from /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drmP.h:84,                                                                       
                 from /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_context.c:43:                                                               
/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_os_linux.h:36: error: conflicting types for ‘irqreturn_t’                                         
include/linux/irqreturn.h:16: error: previous declaration of ‘irqreturn_t’ was here
make[2]: *** [/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/drm_context.o] Error 1                                                                   
make[1]: *** [_module_/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core] Error 2                                                                         
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo'                         
make: *** [modules] Error 2                                                       
 *                                                                                 
 * ERROR: x11-base/x11-drm-99999999 failed.                                       
 * Call stack:                                                                     
 *               ebuild.sh, line   49:  Called src_compile                         
 *             environment, line 4153:  Called src_compile_os                     
 *             environment, line 4196:  Called src_compile_linux                   
 *             environment, line 4188:  Called linux-mod_src_compile               
 *             environment, line 3346:  Called die                                 
 * The specific snippet of code:                                                   
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                         CROSS_COMPILE=${CHOST}-                                          LDFLAGS=\"$(get_abi_LDFLAGS)\"                                             ${BUILD_FIXES}            ${BUILD_PARAMS}                                          ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";                     
 *  The die message:                                                               
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  DRM_MODULES='radeon.ko' LINUXDIR='/usr/src/linux' M='/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core' modules                           
 *                                                                                 
 * If you need support, post the topmost build error, and the call stack if relevant.                                                                                 
 * A complete build log is located at '/var/tmp/portage/x11-base/x11-drm-99999999/temp/build.log'.                                                                   
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/x11-drm-99999999/temp/environment'.                                                           
 * This ebuild is from an overlay named 'Own Portage Overlay': '/usr/local/portage/'                                                                                 
 *                                                                                 

>>> Failed to emerge x11-base/x11-drm-99999999, Log file:

>>>  '/var/tmp/portage/x11-base/x11-drm-99999999/temp/build.log'


any hints?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 377
Location: Ekaterinburg, Russia

PostPosted: Thu Jun 11, 2009 7:48 am    Post subject: Reply with quote

sync overlay first?
_________________
~amd64
rion-overlay
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5387

PostPosted: Thu Jun 11, 2009 10:29 am    Post subject: Reply with quote

Rion wrote:
sync overlay first?


thanks, didn't noticed the change. will mark has solved has soon has the emerge will be completed and will work.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5387

PostPosted: Sat Jul 04, 2009 11:06 am    Post subject: Reply with quote

using the latest ebuild and data from the overlays, with some addons to use the r6xx-r7xx-support and the error persists.
will try tomorrow again
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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