gqview-0.2.4 compilation

Vincent Delecroix <[email protected]> Sat, 27 Dec 2014 12:21:32 +0100
Newsgroups gmane.comp.gnome.apps.gqview.devel
Message-ID <[email protected]>
Hello,

It seems that gqview is not available from debian jessie. So I just 
downloaded the source of gqview. But running make, the last command of 
the compilation just failed

gcc-g -O2 -o gqview ui_bookmark.o [...] -lgtk-x11-2.0 [...] -lfreetype
/usr/bin/ld: image.o: undefined reference to symbol 'ceil@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from 
command line
collect2: error: ld returned 1 exit status
Makefile:381: recipe for target 'gqview' failed
make[3]: *** [gqview] Error 1
make[3]: Leaving directory '/opt/gqview-2.0.4/src'

It seems that the link to the math library (-lm) was missing from this 
last command. Just writing the very same line in the shell adding at the 
very end the option -lm I got a working version of gqview!

Please tell me a cleaner way to get gqview working!
Thanks,
Vincent

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net