I get the following error while compiling the i810 driver (version 1.6.0) on multiple systems. I'm currently using all the newest packages and the older i810 driver, it works, but it crashes or hangs at randomly, I'd appreciate a fix. i830_driver.c: In function 'I830BIOSPreInit': i830_driver.c:3544: error: 'I810shadowSymbols' undeclared (first use in this function) i830_driver.c:3544: error: (Each undeclared identifier is reported only once i830_driver.c:3544: error: for each function it appears in.) make[3]: *** [i830_driver.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -DI830_XV -Os -march=pentium4 -pipe -fomit-frame-pointer -MT i830_io.lo -MD -MP -MF .deps/i830_io.Tpo -c i830_io.c -fPIC -DPIC -o .libs/i830_io.o make[3]: Leaving directory `/var/tmp/portage/xf86-video-i810-1.6.0/work/xf86-video-i810-1.6.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xf86-video-i810-1.6.0/work/xf86-video-i810-1.6.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xf86-video-i810-1.6.0/work/xf86-video-i810-1.6.0' make: *** [all] Error 2 !!! ERROR: x11-drivers/xf86-video-i810-1.6.0 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called x-modular_src_compile x-modular.eclass, line 327: Called x-modular_src_make x-modular.eclass, line 322: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. 'emerge --info': Portage 2.1.1_pre2-r6 (default-linux/x86/no-nptl, gcc-3.4.4/vanilla, glibc-2.3.6-r4, 2.6.17.4 i686) ================================================================= System uname: 2.6.17.4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.12.1 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa avi bitmap-fonts cdr crypt dvd dvdr dvdread encode flash gif gimp gtk gtk2 imlib ipv6 java jpeg kde mmx motif mozilla mp3 mpeg ncurses oggvorbis opengl pam pda pdflib perl png python qt quicktime readline sse ssl svga tcltk tiff truetype usb v4l win32codecs wmf x86 xine xinerama xml xml2 xorg xprint xv xvid xvshadow zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
This is likely a bug in the non-DRI build of the driver. Is there any reason you're building without DRI?
Probably because I copy my own make.conf, which I use on my desktop pc which has an Nvidia graphics card, to every Gentoo system I install for myself. Trying to compile xorg-server and this driver with USE="dri" enabled right now.
Adding the dri useflag fixed it for me, thanks!
Tried in on my laptop, works as well, and also received a confirmation message trough the forums from another user with the same problem, fixed it for him as well. Should this stay open because of the bug in the non-dri build or is this not usefull because no one in their right mind (like me) would compile without it?
We may as well leave it closed. Upstream is aware of -dri breaking some builds, but they're not particularly motivated to fix it.