Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30678 - undefined reference in libGL when compiling kdegraphics
Summary: undefined reference in libGL when compiling kdegraphics
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 33947 75074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-08 09:15 UTC by John Shaw
Modified: 2005-01-18 17:01 UTC (History)
4 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 John Shaw 2003-10-08 09:15:25 UTC
When compiling kdegraphics-3.1.4 I am getting the following:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym14890'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym14816'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym14934'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym14868'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym15837'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libGL.so: undefined reference to `__nvsym08120'
collect2: ld returned 1 exit status
make[3]: *** [libkpovmodelerpart.la.closure] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.4/work/kdegraphics-3.1.4/kpovmodeler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.4/work/kdegraphics-3.1.4/kpovmodeler'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegraphics-3.1.4/work/kdegraphics-3.1.4'
make: *** [all] Error 2

!!! ERROR: kde-base/kdegraphics-3.1.4 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make

I have already tried the opengl-update nvidia to fix this but that didn't fix it.  This might be more of a problem with the nvidia GLX package then the kdegraphics but I am not sure.
Comment 1 John Shaw 2003-10-08 12:06:54 UTC
Ok, it turned out to not be a kdegraphics program as I originally speculated.
 The newest nvidia drivers (nvidia-kernel-1.0.4496-r3 and nvidia-glx-1.0.4496)
don't clean up the old driver when they are installed.  They left two files
in /usr/lib.  libGLcore.so.1.0.4363 and libGL.so.1.0.4363.  They also left
two dynamic links to those files called libGLcore.so.1 and libGL.so.1.  The
new version of the kernel driver was put in /lib/modules/2.4.20-gentoo-r5/video
and the old one was left in /lib/modules/2.4.20-gentoo-r5/kernel/drivers/video.
 So basically it was loading the old driver with the new libraries and so
both starting x and compiling kdegraphics no longer works.  I cleaned it
up by hand and everything was ok after that.  The nvidia packages should
probably be fixed.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-10-08 12:09:25 UTC
In more ways than one.  I bet 95% of the errors around libGL are related
to the nvidia stuff.
Comment 3 SpanKY gentoo-dev 2003-10-08 19:22:36 UTC
ive seen this before and it was because the user had old nvidia packages
laying around ...
what does `qpkg -I -v nvidia` show ?
Comment 4 John Shaw 2003-10-08 21:43:14 UTC
qpkg -I -v nvidia
media-video/nvidia-kernel-1.0.4496-r3 *
media-video/nvidia-glx-1.0.4496 *
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-01-18 08:03:47 UTC
*** Bug 33947 has been marked as a duplicate of this bug. ***
Comment 6 Yi Quang (RETIRED) gentoo-dev 2004-02-07 09:52:47 UTC
I've also had this problem, portage doesn't seem to clean out the nvidia-glx installation correctly.  (It left the same files around)
Comment 7 John Shaw 2004-05-06 05:41:17 UTC
This has been fixed for some time, so I'll get it out of the system.
Comment 8 SpanKY gentoo-dev 2005-01-18 17:01:42 UTC
*** Bug 75074 has been marked as a duplicate of this bug. ***