Date: Sun, 5 Mar 2017 16:29:53 -0800 From: Kevin Oberman <rkoberman@gmail.com> To: Graham Menhennitt <graham@menhennitt.com.au> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: linker errors for OpenGL functions Message-ID: <CAN6yY1u3ZQNCPGANM2kFB5TL-q29dJmJs3vxg_DQSW9v6LDZsg@mail.gmail.com> In-Reply-To: <99eb9add-a30b-0445-2f64-8b801d9072db@menhennitt.com.au> References: <99eb9add-a30b-0445-2f64-8b801d9072db@menhennitt.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 4, 2017 at 12:14 PM, Graham Menhennitt <graham@menhennitt.com.au > wrote: > G'day all, > > I've screwed up something on my system. When I try to build the > x11/kde4-workspace port, I get a pile of linker errors. I'm guessing that I > just need to reinstall some other OpenGL port, but I can't find out which > one. Any clues, please? > > Thanks, > > Graham > > > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glBegin' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glPopMatrix' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glLoadMatrixd' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glXCreateContext' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glTexCoordPointer' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glDeleteTextures' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glGetError' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glTexImage2D' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glTexGenfv' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glCopyTexImage2D' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glColor4f' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glBlendFunc' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glDrawArrays' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glXDestroyContext' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glXQueryExtension' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glLoadMatrixf' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glIndexi' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glBindTexture' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to `glCullFace' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glPixelTransferi' > /usr/local/lib/qt4/libQtOpenGL.so.4: undefined reference to > `glXGetClientString' > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > gmake[4]: *** [ksmserver/screenlocker/greeter/CMakeFiles/kscreenlocker_greet.dir/build.make:283: > ksmserver/screenlocker/greeter/kscreenlocker_greet] Error 1 > gmake[4]: Leaving directory '/usr/ports_build/usr/data/Fre > eBSD/ports/x11/kde4-workspace/work/.build' > gmake[3]: *** [CMakeFiles/Makefile2:8345: ksmserver/screenlocker/greeter > /CMakeFiles/kscreenlocker_greet.dir/all] Error 2 > gmake[3]: *** Waiting for unfinished jobs.... > Do you have any older versions of llvm installed? OpenGL has issues if anything older that llvm38 (maybe llvm39) is installed. "pkg delete -f llvm3?" for each version prior to 3.9 installed. It is quite unlikely that you will find any dependencies on the old versions. You can use "pkg info -d llvm3?" to confirm. It is possible that some port or another might need a re-install, but I have yet to see a report of this. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1u3ZQNCPGANM2kFB5TL-q29dJmJs3vxg_DQSW9v6LDZsg>