First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 114893
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: X11 External Driver Maintainers <x11-drivers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sean Sullivan <sean@sfsullivan.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 114893 depends on: Show dependency tree
Bug 114893 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-08 10:27 0000
smpeg-0.4.4-r7 fails to compile with a string of errors like this:

/usr/lib64/libGL.so: undefined reference to `_nv000330gl'
/usr/lib64/libGL.so: undefined reference to `_nv000339gl'
/usr/lib64/libGL.so: undefined reference to `_nv000949gl'
/usr/lib64/libGL.so: undefined reference to `_nv000906gl'
/usr/lib64/libGL.so: undefined reference to `_nv000852gl'
.....




Reproducible: Always
Steps to Reproduce:
1. emerge smpeg



Actual Results:  
It fails with the undefined reference error described above.

Expected Results:  
Compiled successfully

bitwise sean # emerge info
Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.13-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre11
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 audiofile avi berkdb bitmap-fonts bzip2
cdparanoia cdr crypt cups curl dbm divx4linux dvd dvdr dvdread eds emboss encode
esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gif glut gmp gpm
gstreamer gtk2 gtkhtml guile idn imagemagick imlib ipv6 java jpeg junit kde lcms
libclamav libwww lzw lzw-tiff mad mailwrapper mhash mng motif mozilla mp3 mpeg
mysql mysqli ncurses nls nvidia ogg oggvorbis opengl oss pam pcre pdflib perl
php png ppds python qt quicktime readline samba sdl spell ssl tcltk tcpd tiff
truetype truetype-fonts type1-fonts udev usb userlocales vorbis xine xml xml2
xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2005-12-08 10:59:06 0000 -------
Make sure you have the latest nvidia-glx package and then re-run 
 
eselect opengl set nvidia 
 
and try again. 
 

------- Comment #2 From Sean Sullivan 2005-12-08 11:07:37 0000 -------
Same thing. I am running media-video/nvidia-glx-1.0.8174-r1 right now (just
updated). I ran eselect opengl set nvidia, saw "Switching to nvidia openGL
interface... done" and tried to compile smpeg again.

------- Comment #3 From Dead Schorsch 2005-12-11 01:06:12 0000 -------
Same here on ~x86 (please adjust bug) with latest nvidia-kernel|glx. Last lines
of log are:

i686-pc-linux-gnu-gcc -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\"  -I. -I.      -mar
ch=athlon-xp -O3 -pipe -I/usr/include/SDL -D_REENTRANT -DUSE_MMX -DTHREADED_AUDI
O -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/
X11R6/include  -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c glmovie-til e.c
i686-pc-linux-gnu-gcc -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\"  -I. -I.      -mar
ch=athlon-xp -O3 -pipe -I/usr/include/SDL -D_REENTRANT -DUSE_MMX -DTHREADED_AUDI
O -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/
X11R6/include  -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c glmovie.c
/bin/sh ./libtool --mode=link i686-pc-linux-gnu-gcc  -march=athlon-xp -O3 -pipe
-I/usr/include/SDL -D_REENTRANT -DUSE_MMX -DTHREADED_AUDIO -I/usr/include/gtk-1.
2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -DNDEBUG
 -I.. -DNOCONTROLS -I. -I./audio -I./video  -o glmovie  glmovie-tile.o glmovie.o
 -lGL -lGLU libsmpeg.la -lSDL -lpthread -lm
i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -pipe -I/usr/include/SDL -D_REENTRANT
 -DUSE_MMX -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/us
r/lib/glib/include -I/usr/X11R6/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio
 -I./video -o .libs/glmovie glmovie-tile.o glmovie.o -lGL -lGLU .libs/libsmpeg.s
o -lSDL -lpthread -lm -lSDL -lpthread -lm -lstdc++ -lSDL -lpthread -lm -lSDL -lp
thread -lm
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libGL.so: undefined reference to `
_nv000038gl'
/usr/lib/libGLcore.so.1: undefined reference to `_nv000037gl'
collect2: ld returned 1 exit status
make[1]: *** [glmovie] Error 1
make[1]: Leaving directory `/var/tmp/portage/smpeg-0.4.4-r7/work/smpeg-0.4.4'
make: *** [all-recursive] Error 1

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2005-12-17 18:05:55 0000 -------
Moving that to nvidia's drivers' maintainers.

------- Comment #5 From Jakub Moc (RETIRED) 2006-09-01 05:16:38 0000 -------
*** Bug 145835 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2006-10-06 00:09:57 0000 -------
*** Bug 150221 has been marked as a duplicate of this bug. ***

------- Comment #7 From Jakub Moc (RETIRED) 2006-10-24 17:33:29 0000 -------
*** Bug 152723 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jakub Moc (RETIRED) 2006-10-31 11:58:21 0000 -------
*** Bug 153582 has been marked as a duplicate of this bug. ***

------- Comment #9 From Lóránt Farkas 2006-11-01 00:34:20 0000 -------
Same problem with kde-base/kdeartwork-kscreensaver-3.5.2 + the screensaver
doesn't run under KDE

------- Comment #10 From Lóránt Farkas 2006-11-12 06:49:26 0000 -------
I've installed (not merged, run NVIDIA-1.0.9629.pkg?.run) the new
nvidia-1.0.9629 driver, after that the problem vanished, so amarok, kdeartworks
compiled without error. Probably it is a bug of nvidia-drivers ebuild. 

------- Comment #11 From Stefan Tittel 2006-11-18 16:37:53 0000 -------
Is there any news on this, because it starts to become quite annoying? I
experience this problem on AMD64 with nvidia-drivers-1.0.9629 as well as
1.0.8776.  

If the problem has vanished for Lorant after installing the 1.0.9629 drivers by
hand (on not via portage as I did), maybe it really is the fault of the
nvidia-drivers ebuild.

Anyway here is what I get if I try to merge kdesktop-3.5.5 with
nvidia-drivers-1.0.9629:

ith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=athlon64 -fomit-frame-pointer
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o
kdesktop_lock -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -R
/usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64
lockprocess.o lockdlg.o autologout.o main.o ../libkdesktopsettings.la
../../kdmlib/libdmctl.la -lkio -lXxf86misc -lGLU -lGL -lX11
/usr/lib64/libGL.so: undefined reference to `_nv001220gl'
/usr/lib64/libGL.so: undefined reference to `_nv001207gl'
/usr/lib64/libGL.so: undefined reference to `_nv001215gl'
/usr/lib64/libGL.so: undefined reference to `_nv001240gl'
/usr/lib64/libGL.so: undefined reference to `_nv001213gl'
/usr/lib64/libGL.so: undefined reference to `_nv001209gl'
/usr/lib64/libGL.so: undefined reference to `_nv001248gl'
/usr/lib64/libGL.so: undefined reference to `_nv001225gl'
/usr/lib64/libGL.so: undefined reference to `_nv001226gl'
/usr/lib64/libGL.so: undefined reference to `_nv001214gl'
/usr/lib64/libGL.so: undefined reference to `_nv001224gl'
/usr/lib64/libGL.so: undefined reference to `_nv001210gl'
/usr/lib64/libGL.so: undefined reference to `_nv001228gl'
/usr/lib64/libGL.so: undefined reference to `_nv001249gl'
/usr/lib64/libGL.so: undefined reference to `_nv001217gl'
/usr/lib64/libGL.so: undefined reference to `_nv001236gl'
/usr/lib64/libGL.so: undefined reference to `_nv001221gl'
/usr/lib64/libGL.so: undefined reference to `_nv001204gl'
/usr/lib64/libGL.so: undefined reference to `_nv001219gl'
/usr/lib64/libGL.so: undefined reference to `_nv001216gl'
/usr/lib64/libGL.so: undefined reference to `_nv001233gl'
/usr/lib64/libGL.so: undefined reference to `_nv001245gl'
/usr/lib64/libGL.so: undefined reference to `_nv001211gl'
/usr/lib64/libGL.so: undefined reference to `_nv001206gl'
/usr/lib64/libGL.so: undefined reference to `_nv001227gl'
/usr/lib64/libGL.so: undefined reference to `_nv001242gl'
/usr/lib64/libGL.so: undefined reference to `_nv001222gl'
/usr/lib64/libGL.so: undefined reference to `_nv001237gl'
/usr/lib64/libGL.so: undefined reference to `_nv001230gl'
/usr/lib64/libGL.so: undefined reference to `_nv001247gl'
/usr/lib64/libGL.so: undefined reference to `_nv001238gl'
/usr/lib64/libGL.so: undefined reference to `_nv001246gl'
/usr/lib64/libGL.so: undefined reference to `_nv001212gl'
/usr/lib64/libGL.so: undefined reference to `_nv001232gl'
/usr/lib64/libGL.so: undefined reference to `_nv001208gl'
/usr/lib64/libGL.so: undefined reference to `_nv001234gl'
/usr/lib64/libGL.so: undefined reference to `_nv001229gl'
/usr/lib64/libGL.so: undefined reference to `_nv001205gl'
/usr/lib64/libGL.so: undefined reference to `_nv001244gl'
/usr/lib64/libGL.so: undefined reference to `_nv001218gl'
/usr/lib64/libGL.so: undefined reference to `_nv001235gl'
/usr/lib64/libGL.so: undefined reference to `_nv001223gl'
/usr/lib64/libGL.so: undefined reference to `_nv001241gl'
/usr/lib64/libGL.so: undefined reference to `_nv001243gl'
/usr/lib64/libGL.so: undefined reference to `_nv001231gl'
collect2: ld returned 1 exit status
make[3]: *** [kdesktop_lock] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdesktop-3.5.5/work/kdesktop-3.5.5/kdesktop/lock'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdesktop-3.5.5/work/kdesktop-3.5.5/kdesktop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdesktop-3.5.5/work/kdesktop-3.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdesktop-3.5.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  kdesktop-3.5.5.ebuild, line 40:   Called kde-meta_src_compile
  kde-meta.eclass, line 379:   Called kde_src_compile
  kde.eclass, line 172:   Called kde_src_compile 'all'
  kde.eclass, line 342:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 338:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if
relevant.



And here the same with nvidia-drivers 1.0.8776:

/bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ 
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2
-O2 -pipe -march=athlon64 -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION    -o kdesktop_lock -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64
-L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64
-R /usr/lib64 lockprocess.o lockdlg.o autologout.o main.o
../libkdesktopsettings.la ../../kdmlib/libdmctl.la -lkio -lXxf86misc -lGLU -lGL
-lX11
/usr/lib64/libGL.so: undefined reference to `_nv001207gl'
/usr/lib64/libGL.so: undefined reference to `_nv001204gl'
/usr/lib64/libGL.so: undefined reference to `_nv001206gl'
/usr/lib64/libGL.so: undefined reference to `_nv001205gl'
/usr/lib/libGLcore.so.1: undefined reference to `_nv000037gl'
collect2: ld returned 1 exit status
make[3]: *** [kdesktop_lock] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdesktop-3.5.5/work/kdesktop-3.5.5/kdesktop/lock'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdesktop-3.5.5/work/kdesktop-3.5.5/kdesktop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdesktop-3.5.5/work/kdesktop-3.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdesktop-3.5.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  kdesktop-3.5.5.ebuild, line 40:   Called kde-meta_src_compile
  kde-meta.eclass, line 379:   Called kde_src_compile
  kde.eclass, line 172:   Called kde_src_compile 'all'
  kde.eclass, line 342:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 338:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #12 From Lóránt Farkas 2006-11-20 12:15:20 0000 -------
I think I found what is the difference between the ebuild and the installer.
The installer create files:
/usr/lib64/libnvidia-cfg.so
/usr/lib64/libnvidia-cfg.so.1
/usr/lib64/libnvidia-cfg.so.1.0.9629
which I didn't found in the ebuild.
I didn't found the 32-bit counterpart of these files so it is a 64-bit specific
problem. Maybe if you download the package run with --extract only, compile,
and copy these files to their place (or modify the ebuild to do this), then -
maybe - the error vanish.

------- Comment #13 From Lóránt Farkas 2006-11-25 02:04:59 0000 -------
I forgot to say, after I runned the installer, I've merged the driver and the
problem didn't happen again.

------- Comment #14 From Jakub Moc (RETIRED) 2006-11-29 11:11:15 0000 -------
*** Bug 156636 has been marked as a duplicate of this bug. ***

------- Comment #15 From Jakub Moc (RETIRED) 2007-01-26 15:06:48 0000 -------
*** Bug 163919 has been marked as a duplicate of this bug. ***

------- Comment #16 From Jeremy Huddleston (RETIRED) 2007-03-13 22:35:22 0000 -------
I revbumped the ebuilds and had them install libnvidia-cfg.so to
/usr/lib/opengl/nvidia/lib.  I then emerged kdesktop with no issues.  If you
still have problems, please reopen this bug.

First Last Prev Next    No search results available      Search page      Enter new bug