Date: Tue, 7 Mar 2017 08:38:33 +1100 From: Graham Menhennitt <graham@menhennitt.com.au> To: freebsd-ports@freebsd.org Subject: Re: linker errors for OpenGL functions Message-ID: <58d6ed8f-5ca0-d7b9-4683-ff3db5ce98c6@menhennitt.com.au> In-Reply-To: <CAN6yY1u3ZQNCPGANM2kFB5TL-q29dJmJs3vxg_DQSW9v6LDZsg@mail.gmail.com> References: <99eb9add-a30b-0445-2f64-8b801d9072db@menhennitt.com.au> <CAN6yY1u3ZQNCPGANM2kFB5TL-q29dJmJs3vxg_DQSW9v6LDZsg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/03/2017 11:29 AM, Kevin Oberman wrote: > On Sat, Mar 4, 2017 at 12:14 PM, Graham Menhennitt <graham@menhennitt.com.au > >> 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' >> 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. > Hi Kevin, Thanks for replying. Unfortunately, no, I only have llvm39 installed. That's not to say I haven't had other versions installed in the past. In fact, I suspect that cleaning up my system is exactly what broke this. I'll try reinstalling some more ports. Thanks again, Graham
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58d6ed8f-5ca0-d7b9-4683-ff3db5ce98c6>