Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xf86-video-via emake failed, but hopefully unneeded (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
digix
n00b
n00b


Joined: 30 Sep 2005
Posts: 19

PostPosted: Fri Oct 27, 2006 1:54 pm    Post subject: xf86-video-via emake failed, but hopefully unneeded (solved) Reply with quote

I would like to say first off, thanks for all the help that these forums have given me in the past and thanks in advance for your help here as well. :)

Now, I've searched as best as I can and I can't seem to find any info on this particular build problem...

I'm pretty sure that I don't need the driver as I have an ATI 9600 Pro in the box, so I've no idea why this is showing up in my e-world, but it fails to build... heres the output:

Code:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri -O2 -march=athlon-xp -pipe -MT via_bandwidth.lo -MD -MP -MF .deps/via_bandwidth.Tpo -c via_bandwidth.c  -fPIC -DPIC -o .libs/via_bandwidth.o
In file included from /usr/include/inttypes.h:28,
                 from /usr/include/GL/glext.h:3194,
                 from /usr/include/GL/gl.h:2149,
                 from /usr/include/GL/glxint.h:28,
                 from via_driver.h:64,
                 from via_bandwidth.c:29:
/usr/include/stdint.h:52: error: conflicting types for 'CARD32'
/usr/include/X11/Xmd.h:152: error: previous declaration of 'CARD32' was here
make[3]: *** [via_bandwidth.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xf86-video-via-0.2.1-r1/work/xf86-video-via-0.2.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xf86-video-via-0.2.1-r1/work/xf86-video-via-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xf86-video-via-0.2.1-r1/work/xf86-video-via-0.2.1'
make: *** [all] Error 2

!!! ERROR: x11-drivers/xf86-video-via-0.2.1-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called x-modular_src_compile
  x-modular.eclass, line 331:   Called x-modular_src_make
  x-modular.eclass, line 326:   Called die

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


So, if I don't need this package, how would I remove it (and a few others that are showing up like this as well) from e-world? And if I do end up needing it, would anyone have an idea as to how to fix the build error?


Last edited by digix on Fri Oct 27, 2006 2:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Oct 27, 2006 2:26 pm    Post subject: Reply with quote

set the VIDEO_CARDS variable in /etc/make.conf to a value that matches your hardware.
That's fglrx for your ati iirc, or radeon if you want to use the open source driver.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
digix
n00b
n00b


Joined: 30 Sep 2005
Posts: 19

PostPosted: Fri Oct 27, 2006 2:59 pm    Post subject: Reply with quote

awesome, thanks... dunno how i missed that in the modular xorg howto
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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