View previous topic :: View next topic |
Author |
Message |
Quinny n00b
Joined: 27 Feb 2003 Posts: 38 Location: Netherlands
|
Posted: Thu Jul 13, 2006 1:26 pm Post subject: xf86-video-i810 failing to compile [SOLVED] |
|
|
I'm getting frustrated; everywhere I read about people using the xf86-video-i810-1.6.0 package but I can't seem to get it to compile; on every system I've tried (two laptops and one desktop) I get the following error:
Code: | 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.
|
Anyone know how to fix this?
Last edited by Quinny on Thu Jul 20, 2006 7:53 am; edited 1 time in total |
|
Back to top |
|
|
J3N7iL Apprentice
Joined: 24 Sep 2005 Posts: 169 Location: Chicago
|
Posted: Fri Jul 14, 2006 12:54 pm Post subject: |
|
|
Can you post you lspci and make.conf file? _________________ For Sale: Parachute. Only used once, never opened, small stain. |
|
Back to top |
|
|
azdruid Tux's lil' helper
Joined: 19 Feb 2006 Posts: 75
|
Posted: Sat Jul 15, 2006 4:06 pm Post subject: |
|
|
I too have exactly this same problem.
lspci:
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82815 CGC [Chipset Graphics Controller] (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 02)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 02)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 02)
01:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
make.conf:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-Os -march=pentium3 -pipe -fomit-frame-pointer -fgcse-after-reload"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort -Wl,--as-needed"
FEATURES="ccache"
ACCEPT_KEYWORDS="~x86"
PORTDIR_OVERLAY="/usr/local/portage"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="i810"
PORTGE_RYSNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
SYNC="rsync://192.168.1.1/gentoo-portage"
LINGUAS="en"
USE="nptl nptlonly glibc-omitfp userlocales \
-3dfx -3dnow X -Xaw3d -a52 -aac -aalib -accessibility -acl acpi -adns -afs -aim alsa -apm -arts -bcmath \
-berkdb -bidi -bindist -birdstep -bluetooth -bmp -bonobo bzip2 -calendar -canna -caps -cdb -cdparanoia -cdr \
-chasen -cjk -clamav -crypt cups dbus -dga -directfb -doc -dri -dts -dv -dvb -dvd -dvdr -eds \
-emacs encode -esd -ethereal -evo -examples exif -fam fbcon -fdftk ffmpeg flac -fortran \
-freetds -freewnn -gcj -gdbm -geoip -ggi gif -glut -gmp -gnome -gnustep -gnutls -gphoto2 gpm -gps \
-gstreamer -gtk -gtk2 -gtkhtml -guile hal -howl -icc -iconv -icq -idn -ieee1394 -iodbc -ipv6 -jabber -jack \
-java -joystick jpeg -jpeg2k kde kdeenablefinal -kerberos -krb4 -ladcca -lapack -ldap -lesstif -libcaca \
-libg++ -libgda -libwww -lirc -lm_sensors -lua mad maildir -mailwrapper -matroska -matrox -mbox -migemo \
-mikmod -milter mmx -mnogosearch -mono -motif -mozilla mp3 -mpeg -msn -nas -netboot -netcdf -neXt \
-nis -nls nptl nsplugin -ocaml -odbc -offensive -ofx ogg oggvorbis -openal -opengl -osc -oscar -oss -pam \
-pcmcia -pda pdf perl png -portaudio -prelude python -qdbm qt -quicktime -radius -ruby -samba \
-sasl -scanner -sdl -shorten -skey -slp -smartcard -snmp -soap -socks5 -source -sox -speex spell \
-sqlite -sqlite3 sse -sse2 ssl -svg -svga -symlink -szip -tcltk -tcpd -test -tetex -theora tiff truetype -uclibc \
-unicode usb -v4l -vcd -voodoo3 vorbis wifi win32codecs -wmf -wxwindows -xface xine -xinerama -xmms -xosd \
-xprint -xv -xvid -yahoo zlib asf -real -x264 \
ftp kdehiddenvisibility xscreensaver bash-completion aotuv madwifi qt3 -qt4 ithreads"
Thanks very much, I greatly appreciate any help on this matter. |
|
Back to top |
|
|
Quinny n00b
Joined: 27 Feb 2003 Posts: 38 Location: Netherlands
|
Posted: Sun Jul 16, 2006 5:46 pm Post subject: |
|
|
Just curious, what could the output of lspci possibly have to do with a videodriver not compiling? I guess it would be loading fine (the old driver does), it just doesn't compile.
The make.conf will have to wait till I'm back at work, don't have access to that machine from home. |
|
Back to top |
|
|
Quinny n00b
Joined: 27 Feb 2003 Posts: 38 Location: Netherlands
|
Posted: Tue Jul 18, 2006 11:39 am Post subject: As a kick and for more info: |
|
|
make.conf:
Code: | USE="-* -arts kde alsa X gtk acpi crypt avi cdr encode gtk2 ipv6 jpeg png xml xml2 java mozilla motif mpeg ncurses oggvorbis opengl pdflib perl python qt sse ssl mmx tcltk svga tiff truetype wmf xinerama x86 pda bitmap-fonts gif xv shadow pam mp3 xine dvd dvdr flash win32codecs dvdread quicktime readline svga zlib xvid xprint bitmap-fonts nptl nptlonly imlib usb v4l gimp xorg"
CHOST="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="~x86"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
PORTDIR_OVERLAY=/usr/local/portage
MAKEOPTS="-j2"
VIDEO_CARDS="i810"
INPUT_DEVICES="keyboard mouse"
|
There could be some double USE flags and flags that aren't used anymore, my make.conf has 'evolved' a bit in the few years I've been using Gentoo...
lspci:
Code: | 00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 81) |
|
|
Back to top |
|
|
Quinny n00b
Joined: 27 Feb 2003 Posts: 38 Location: Netherlands
|
|
Back to top |
|
|
Quinny n00b
Joined: 27 Feb 2003 Posts: 38 Location: Netherlands
|
Posted: Thu Jul 20, 2006 7:52 am Post subject: |
|
|
And it's fixed, adding the dri useflag did it.
The bug in the non-dri build is still there, but I wanted 3d-support anyway... |
|
Back to top |
|
|
|