Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158045 - libGL undefined reference _gl_get_context_mode_data
Summary: libGL undefined reference _gl_get_context_mode_data
Status: RESOLVED REMIND
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-13 10:06 UTC by Stefan de Konink
Modified: 2007-01-13 18:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2006-12-13 10:06:04 UTC
It seems every GL linking operation fails with these errors. I installed mesa as opengl provider, in order to install Xorg. But I'm stuck at these errors. Freeglut started to complain first, so I installed 'glut' instead. But mesa-progs is the next blocker in row:

emere from mesa-progs.

i686-gentoo-linux-uclibc-gcc -I../../include -Wall -Wmissing-prototypes -std=c99
 -ffast-math -march=pentium3 -Os -pipe -fomit-frame-pointer  -m32 -D_POSIX_SOURC
E -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREAD
S -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS 
-DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM 
glxinfo.c -L../../lib -lglut -lGLU -lGL -lm -o glxinfo
/usr/lib/gcc/i686-gentoo-linux-uclibc/4.1.1/../../../libGL.so: undefined referen
ce to `_gl_get_context_mode_data'
/usr/lib/gcc/i686-gentoo-linux-uclibc/4.1.1/../../../libGL.so: undefined referen
ce to `_gl_context_modes_create'
/usr/lib/gcc/i686-gentoo-linux-uclibc/4.1.1/../../../libGL.so: undefined referen
ce to `_gl_context_modes_find_visual'
/usr/lib/gcc/i686-gentoo-linux-uclibc/4.1.1/../../../libGL.so: undefined referen
ce to `_gl_context_modes_are_same'
/usr/lib/gcc/i686-gentoo-linux-uclibc/4.1.1/../../../libGL.so: undefined referen
ce to `_gl_context_modes_destroy'
/usr/lib/gcc/i686-gentoo-linux-uclibc/4.1.1/../../../libGL.so: undefined referen
ce to `_gl_convert_from_x_visual_type'
collect2: ld returned 1 exit status

Portage 2.1.2_rc2-r5 (uclibc/x86/2005.1, gcc-4.1.1, uclibc-0.9.28-r1, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 Celeron (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 19:50:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-linux-uclibc"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
CHOST="i686-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://10.0.0.205/gentoo"
LINGUAS="nl"
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://10.0.0.205/gentoo-portage/"
USE="x86 bitmap-fonts cli cracklib dlloader dri elibc_uclibc fbdev input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 kdrive kernel_linux linguas_nl minimal ncurses pcre readline reflection session spl truetype truetype-fonts type1 type1-fonts uclibc userland_GNU userlocales video_cards_ali video_cards_fbdev video_cards_none video_cards_trident xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


[ebuild   R   ] media-libs/mesa-6.5.1-r4  USE="-debug -doc -hardened -motif (-nptl) -xcb" VIDEO_CARDS="none trident -i810 -mach64 -mga -r128 -radeon -s3virge -savage -sis (-sunffb) -tdfx -via" 0 kB 

My Mesa doesn't look this strange, so where should I look for the error?

grep gl_context_modes_create /usr/lib/libGL.so 
Binary file /usr/lib/libGL.so matches


I guess I'm going to check out mesa-6.5.2 but if someone has got another hint, I'm open for it.
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2007-01-13 18:27:36 UTC
Adding uclibc maintainers to CC.  Guys, any idea if this could be related to uclibc?
Comment 2 Stefan de Konink 2007-01-13 18:55:01 UTC
I removed the installation from my system. But maybe keep this thing as reference.