Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x86-video-i810 emerge fail
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ubercow
n00b
n00b


Joined: 17 Mar 2007
Posts: 64

PostPosted: Wed Oct 08, 2008 9:55 pm    Post subject: x86-video-i810 emerge fail Reply with quote

I have been trying to compile the xf86-video-i810 drivers, version 2.1.1, after upgrading xorg to 7.4 and it not working, and now reverting back to 7.2. However the emerge fails with this error

Code:
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -O2 -march=nocona -pipe -MT i830_dvo.lo -MD -MP -MF .deps/i830_dvo.Tpo -c i830_dvo.c  -fPIC -DPIC -o .libs/i830_dvo.o
i830_driver.c: In function 'I830DrmMMInit':
i830_driver.c:2111: error: 'drm_mm_init_arg_t' undeclared (first use in this function)
i830_driver.c:2111: error: (Each undeclared identifier is reported only once
i830_driver.c:2111: error: for each function it appears in.)
i830_driver.c:2111: error: expected ';' before 'arg'
i830_driver.c:2114: error: 'arg' undeclared (first use in this function)
i830_driver.c:2115: error: 'mm_init' undeclared (first use in this function)
i830_driver.c:2120: error: 'DRM_IOCTL_MM_INIT' undeclared (first use in this function)
i830_driver.c: In function 'I830DrmMMTakedown':
i830_driver.c:2132: error: 'drm_mm_init_arg_t' undeclared (first use in this function)
i830_driver.c:2132: error: expected ';' before 'arg'
i830_driver.c:2135: error: 'arg' undeclared (first use in this function)
i830_driver.c:2136: error: 'mm_takedown' undeclared (first use in this function)
i830_driver.c:2138: error: 'DRM_IOCTL_MM_INIT' undeclared (first use in this function)
i830_driver.c: In function 'I830DrmMMLock':
i830_driver.c:2147: error: 'drm_mm_init_arg_t' undeclared (first use in this function)
i830_driver.c:2147: error: expected ';' before 'arg'
i830_driver.c:2150: error: 'arg' undeclared (first use in this function)
i830_driver.c:2151: error: 'mm_lock' undeclared (first use in this function)
i830_driver.c:2155: error: 'DRM_IOCTL_MM_INIT' undeclared (first use in this function)
i830_driver.c: In function 'I830DrmMMUnlock':
i830_driver.c:2163: error: 'drm_mm_init_arg_t' undeclared (first use in this function)
i830_driver.c:2163: error: expected ';' before 'arg'
i830_driver.c:2166: error: 'arg' undeclared (first use in this function)
i830_driver.c:2167: error: 'mm_unlock' undeclared (first use in this function)
i830_driver.c:2171: error: 'DRM_IOCTL_MM_INIT' undeclared (first use in this function)
i830_driver.c: In function 'I830ScreenInit':
i830_driver.c:2820: error: 'DRM_BO_MEM_TT' undeclared (first use in this function)
i830_driver.c: In function 'I830LeaveVT':
i830_driver.c:2898: error: 'DRM_BO_MEM_TT' undeclared (first use in this function)
i830_driver.c: In function 'I830EnterVT':
i830_driver.c:3007: error: 'DRM_BO_MEM_TT' undeclared (first use in this function)
i830_driver.c: In function 'I830CloseScreen':
i830_driver.c:3070: error: 'DRM_BO_MEM_TT' undeclared (first use in this function)
make[3]: *** [i830_driver.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/i830_dvo.Tpo .deps/i830_dvo.Plo
make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.1.1/work/xf86-video-intel-2.1.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.1.1/work/xf86-video-intel-2.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-i810-2.1.1/work/xf86-video-intel-2.1.1'
make: *** [all] Error 2
 *
 * ERROR: x11-drivers/xf86-video-i810-2.1.1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 3022:  Called x-modular_src_compile
 * environment, line 3792:  Called x-modular_src_make
 * environment, line 3828:  Called die
 * The specific snippet of code:
 * emake || die "emake failed"
 * The die message:
 * emake failed
 *
 * 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-drivers/xf86-video-i810-2.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-i810-2.1.1/temp/environment'.
 *


Can anyone help? I am sure it is something to do with upgrading a package recently that this needs an older version of but I have tried to revert all X related packages back but to no avail.

Thanks in advance!
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Wed Oct 08, 2008 10:33 pm    Post subject: Reply with quote

Please post output of emerge --info
Back to top
View user's profile Send private message
ubercow
n00b
n00b


Joined: 17 Mar 2007
Posts: 64

PostPosted: Wed Oct 08, 2008 10:48 pm    Post subject: Reply with quote

emerge --info
Code:
Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_2.80GHz-with-glibc2.2.5
Timestamp of tree: Wed, 08 Oct 2008 22:15:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.9
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.gg3.net/"
LDFLAGS="-Wl,--hash-style=gnu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/einit /usr/local/portage/layman/berkano /usr/local/portage/layman/gnash-cvs /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 aoss asf bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode evo fam ffmpeg firefox fortran gdbm gif gpm gstreamer hal hashstyle iconv isdnlog java jpeg kde kdrive kerberos keyboard ldap libnotify mad midi mikmod mmx mmxext mouse mp3 mp4 mpeg mudflap multilib mysql ncurses new-login newspr nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection sdl session spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd threads tiff truetype ubuntu unicode usb vorbis x264 xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga i810 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Thu Oct 09, 2008 3:23 am    Post subject: Reply with quote

One option could be to try a newer version, maybe it would work
Code:
$ ACCEPT_KEYWORDS="~amd64" emerge -av x11-drivers/xf86-video-i810

Or by adding x11-drivers/xf86-video-i810 ~amd64 to /etc/portage/package.keywords
Back to top
View user's profile Send private message
ubercow
n00b
n00b


Joined: 17 Mar 2007
Posts: 64

PostPosted: Thu Oct 09, 2008 6:42 am    Post subject: Reply with quote

The newer versions compile perfectly but do not work with my graphics chip, which is why I am trying to revert to this version.
Back to top
View user's profile Send private message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 594

PostPosted: Thu Oct 09, 2008 9:49 pm    Post subject: Reply with quote

You're downgrading Xorg from 7.4 to 7.2? Good luck with that -- your best bet is to check /var/log/emerge.log to see the complete list of packages that were upgraded, and downgrade all of them. One of them is incompatible with the older i810 driver, and I don't know which.
Back to top
View user's profile Send private message
ubercow
n00b
n00b


Joined: 17 Mar 2007
Posts: 64

PostPosted: Thu Oct 09, 2008 10:10 pm    Post subject: Reply with quote

Thanks for yo replies. Yes I knew this was the problem, hopefully someone happens to know which, but I doubt it somehow. I have already removed all the unmasking necessary to upgrade to 7.4 and emerge --update --deep world, but this hasn't caught the right package yet. I'll keep trying and post any progress.
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Thu Oct 09, 2008 10:16 pm    Post subject: Reply with quote

I guess that you should unmerge the whole xorg, then depclean and emerge the version you want.
Back to top
View user's profile Send private message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 594

PostPosted: Fri Oct 10, 2008 4:49 am    Post subject: Reply with quote

You shouldn't need to go to those extremes, but running an "emerge --ask --depclean" after downgrading xorg but before downgrading the drivers may very well fix your problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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