Bug 148396

Summary: Link error on Solaris - Several screensavers in kdeartwork fail to link because they do not have -lGL -lGLU in the link command
Product: kscreensaver Reporter: Steve Evans <stevee>
Component: generalAssignee: kscreensaver bugs tracking <kscreensaver-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Steve Evans 2007-07-31 17:00:03 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get these link errors from several of the screensavers in kdeartwork:

Linking CXX executable keuphoria.kss
Undefined                       first referenced
 symbol                             in file
glReadBuffer                        CMakeFiles/keuphoria.kss.dir/Euphoria.o  (symbol belongs to implicit dependency /gorbag/exta/cad/externals/SOLARIS/lib/libGL.so)
glLoadIdentity                      CMakeFiles/keuphoria.kss.dir/Euphoria.o  (symbol belongs to implicit dependency /gorbag/exta/cad/externals/SOLARIS/lib/libGL.so)
glViewport                          CMakeFiles/keuphoria.kss.dir/Euphoria.o  (symbol belongs to implicit dependency /gorbag/exta/cad/externals/SOLARIS/lib/libGL.so)
glEnd                               CMakeFiles/keuphoria.kss.dir/Euphoria.o  (symbol belongs to implicit dependency /gorbag/exta/cad/externals/SOLARIS/lib/libGL.so)
gluBuild2DMipmaps

Adding -lGL -lGLU to the the appropriate generated file file, e.g., kscreensaver/kdesavers/CMakeFiles/keuphoria.kss.dir/build.make, fixes it.
Comment 1 Alexander Neundorf 2007-11-24 02:59:40 UTC
and this fails only for the euphoria screensaver ?
i.e. the other screensavers in this directory link without problems ?

Alex
Comment 2 Oswald Buddenhagen 2008-01-02 22:02:09 UTC

*** This bug has been marked as a duplicate of 154766 ***