When I emerge qt-3.2.3-r1 a lot of errors occur in the middle of compiling process Reproducible: Always Steps to Reproduce: 1. emerge -u x11-libs/qt 2. 3. Actual Results: .... test -d ../../../bin/ || mkdir -p ../../../bin/ g++ -fno-exceptions -Wl,-rpath,/var/tmp/portage/qt-3.2.3-r1/image//usr/qt/3/lib -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o -L/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lmng -ljpeg -lpng -lz -lGLU -lGL -lXmu -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libGL.so: undefined reference to `_nv000166gl@LIBGLCORE' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libGL.so: undefined reference to `_nv000319gl@LIBGLCORE' .... collect2: ld returned 1 exit status make[3]: *** [../../../bin/uic] Error 1 make[3]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools/designer/uic' make[2]: *** [sub-uic] Error 2 make[2]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools/designer' make[1]: *** [sub-designer] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3-r1/work/qt-x11-free-3.2.3/tools' make: *** [sub-tools] Error 2 !!! ERROR: x11-libs/qt-3.2.3-r1 failed. !!! Function src_compile, Line 109, Exitcode 2 !!! (no error message) Expected Results: emerge succesfully Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.24) ================================================================= System uname: 2.4.24 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache cvs distcc keeptemp keepwork noauto noclean notitles sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.inode.at http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gd gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sasl sdl slang spell ssl svga tcpd tiff truetype wmf x86 xml2 xmms xv zlib"
You can't link against opengl from nvidia. Use the opengl-update program to switch back to xfree's implementation.