Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140988 - Modular X - undefined symbol vgaHWGetIndex
Summary: Modular X - undefined symbol vgaHWGetIndex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 144307 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-18 18:13 UTC by Andrew MacKenzie
Modified: 2006-09-29 15:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from 'X -configure' (configure.stderr,1.33 KB, text/plain)
2006-07-18 18:13 UTC, Andrew MacKenzie
Details
Xorg.0.log (Xorg.0.log,20.84 KB, text/plain)
2006-07-18 18:14 UTC, Andrew MacKenzie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew MacKenzie 2006-07-18 18:13:15 UTC
I've converted 4 machines to modular X, and one is having an issue.
My laptop (Thinkpad T43) is getting the following error when I start X:

dlopen: /usr/lib/xorg/modules/drivers/i810_drv.so: undefined symbol vgaHWGetIndex

If I run "X -configure" it complains about XAACreateInfoRec when loading
i810_drv.so, and vgaHWGetIndex when loading "vga_drv.so."  It also
complains about VBEExtendedInit when loading the VESA driver.  I've attached logs for this.

I've followed the conversion how-to.  I've set the "dri" USE flag.  My
VIDEO_CARDS flag is set to "i810 vesa".



Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-suspend2-r11 i686)
=================================================================
System uname: 2.6.16-suspend2-r11 i686 Intel(R) Pentium(R) M processor 1.73GHz
app-admin/eselect-compiler: [Not Present]
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.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -m32 -march=i686 -mcpu=pentiumpro -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/fstab /etc/group /etc/ldap.conf /etc/passwd /etc/samba /etc/shadow /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -m32 -march=i686 -mcpu=pentiumpro -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoclean autoconfig distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
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"
SYNC="rsync://hamlet.edespot.com/gentoo-portage"
USE="x86 X aac alsa apache2 apm arts avi berkdb bitmap-fonts cdda cddb cli crypt cups directfb dlloader dri dvb dvd eds emboss encode esd fbcon ffmpeg flac foomaticdb fortran gdbm gif gnutls gpm gps gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl svga tcpd theora truetype truetype-fonts type1-fonts udev unicode v4l vcd vorbis win32codecs wxwindows xml xmms xorg xv zaptel zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810 video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Andrew MacKenzie 2006-07-18 18:13:54 UTC
Created attachment 92171 [details]
Output from 'X -configure'
Comment 2 Andrew MacKenzie 2006-07-18 18:14:16 UTC
Created attachment 92172 [details]
Xorg.0.log
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-18 18:58:20 UTC
Uh, don't use such stuff like -m32 in your C[XX]FLAGS... 
Comment 4 Andrew MacKenzie 2006-07-18 20:25:42 UTC
The -m32 was an attempt to get an amd64 box to work with distcc (forced 32 bit)...  I removed it and recompiled X and my i810 driver and I still get the same error.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2006-07-19 18:31:51 UTC
When you say you recompiled X, do you mean xorg-server?  It's possible that wouldn't be enough.
Comment 6 Andrew MacKenzie 2006-07-20 06:34:40 UTC
(In reply to comment #5)
> When you say you recompiled X, do you mean xorg-server?  It's possible that
> wouldn't be enough.
Yes, I recompiled xorg-server and the ebuild for the i810 driver.  Could the -m32 really be causing a problem?  This isn't the only system I have it set on and it hasn't caused a problem in the past.  

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-08-18 06:33:52 UTC
*** Bug 144307 has been marked as a duplicate of this bug. ***
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2006-09-24 11:05:10 UTC
Well, you have very odd CFLAGS overall.  Since you have a Pentium-m processor, I really recommend you use something like:

CFLAGS="-O2 -march=pentium-m -pipe"

You'd have to recompile the whole system for them to take effect.  You may as well update your toolchain while you're at it (to GCC 4.1 and Glibc 2.4).

I also recommend you move to xorg-x11 7.1.  It solves a lot of issues that were in the 7.0 release.  This requires you to add xorg-x11, xorg-server, mesa, mesa-progs and your relevant drivers to /etc/portage/package.keywords to unmask from testing.

Please re-open once you have done these things.
Comment 9 Andrew MacKenzie 2006-09-27 18:23:39 UTC
Okay, I upgraded everything you suggested and that seemed to help things.  I had already upgraded gcc/glibc at some point and it hadn't helped, so I think upgrading to xorg-7.1 did it.

Thanks!
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2006-09-29 15:01:23 UTC
Re-opening...
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2006-09-29 15:01:40 UTC
Good to hear :)  Marking fixed.