Bug 148396 - Link error on Solaris - Several screensavers in kdeartwork fail to link because they do not have -lGL -lGLU in the link command
Summary: Link error on Solaris - Several screensavers in kdeartwork fail to link becau...
Status: RESOLVED DUPLICATE of bug 154766
Alias: None
Product: kscreensaver
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kscreensaver bugs tracking
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 17:00 UTC by Steve Evans
Modified: 2008-05-19 17:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***