View previous topic :: View next topic |
Author |
Message |
siik n00b
Joined: 28 Jun 2007 Posts: 11
|
Posted: Sun Jul 01, 2007 12:00 pm Post subject: [solved] emergeing xf86-video-i810-2.0.0 fails |
|
|
Hi there,
I tried to emerge xf86-video-i810-2.0.0 because it's said to support the X3100 integrated graphic, according to intellinuxgraphics.
Here's the tail of the build.log:
Quote: | i830_dri.c:93: error: redefinition of 'struct drm_i915_flip'
i830_dri.c:95: error: redefinition of typedef 'drm_i915_flip_t'
/usr/include/drm/i915_drm.h:186: error: previous declaration of 'drm_i915_flip_t' was here
make[3]: *** [i830_dri.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/i810_dri.Tpo .deps/i810_dri.Plo
mv -f .deps/i965_render.Tpo .deps/i965_render.Plo
make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.0.0/work/xf86-video-intel-2.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.0.0/work/xf86-video-intel-2.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.0.0/work/xf86-video-intel-2.0.0'
make: *** [all] Error 2
!!! ERROR: x11-drivers/xf86-video-i810-2.0.0 failed.
Call stack:
ebuild.sh, line 1615: Called dyn_compile
ebuild.sh, line 972: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1305: Called x-modular_src_compile
x-modular.eclass, line 342: Called x-modular_src_make
x-modular.eclass, line 337: Called die
|
I don't know what to do with this... any ideas?
Thanks,
siik
Last edited by siik on Mon Jul 02, 2007 1:05 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54838 Location: 56N 3W
|
Posted: Sun Jul 01, 2007 12:55 pm Post subject: |
|
|
siik,
Welcome to gentoo.
We need sight of the very first error from the build.log. I'm not sure your tail shows it.
I can build it here on a ~x86 system, so it does work.
If you want a wild guess, I suspect the symbol drm_i915_flip is defined in the kernel and in the xf86-video-i810 module.
Which suggests (from the name) that xf86-video-i810 provides its one drm code.
Try again after you have rebuilt your kernel with onlt the top level DRM option selected - turn off all the lower level Intel chipset support. If you don't use kernel DRM, rip out x11-base/x11-drm.
Like I say, its a wild guess based on your post. If the first error is something completely different, ignore the above. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
siik n00b
Joined: 28 Jun 2007 Posts: 11
|
Posted: Sun Jul 01, 2007 2:25 pm Post subject: |
|
|
Hi,
actually
Quote: | i830_dri.c:93: error: redefinition of 'struct drm_i915_flip' |
is the first line where an error occurs. I recompiled the kernel without the i915 driver but got exactly the same error. Hum.. |
|
Back to top |
|
|
siik n00b
Joined: 28 Jun 2007 Posts: 11
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54838 Location: 56N 3W
|
Posted: Sun Jul 01, 2007 2:55 pm Post subject: |
|
|
siik,
grepping the kernel tree shows that your symbol is indeed defined there.
Code: | /usr/src/linux $ grep -R -i drm_i915_flip ./*
./drivers/char/drm/i915_dma.c: [DRM_IOCTL_NR(DRM_I915_FLIP)] = {i915_flip_bufs, DRM_AUTH},
./drivers/char/drm/i915_drm.h:#define DRM_I915_FLIP 0x02
./drivers/char/drm/i915_drm.h:#define DRM_IOCTL_I915_FLIP DRM_IO ( DRM_COMMAND_BASE + DRM_I915_FLIP) |
Are you actually running your new kernel ?
What time/date does give, thats the build date/time of the running kernel? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
siik n00b
Joined: 28 Jun 2007 Posts: 11
|
Posted: Sun Jul 01, 2007 5:54 pm Post subject: |
|
|
You're right, it is a redefinition, but recompiling the kernel without the intel drm drivers didn't solve it because i915_drm.h still was in /usr/include/drm ... I don't where it came from, perhaps I should try deleting/moving it so I can use the ebuild.
uname -a says
Code: | Linux D630 2.6.22-rc6 #6 SMP Sun Jul 1 21:18:33 CEST 2007 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux |
|
|
Back to top |
|
|
|