GNOME Bugzilla – Bug 753771
libgxps-0.2.3.1/libgxps/gxps-brush.c:66: undefined reference to `hypot'
Last modified: 2015-09-04 08:03:51 UTC
Build error Build log: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20150814155233.ovitters.valstar.1400/log/libgxps-0.2.3.1-1.mga6/build.0.20150814155245.log make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libgxps-0.2.3.1/libgxps' CCLD libgxps.la .libs/libgxps_la-gxps-brush.o: In function `gxps_transform_hypot': /home/iurt/rpmbuild/BUILD/libgxps-0.2.3.1/libgxps/gxps-brush.c:66: undefined reference to `hypot' /home/iurt/rpmbuild/BUILD/libgxps-0.2.3.1/libgxps/gxps-brush.c:66: undefined reference to `hypot' collect2: error: ld returned 1 exit status Makefile:559: recipe for target 'libgxps.la' failed Mageia builds with --as-needed.
Created attachment 309679 [details] [review] link libgxps with -lm
That patch fixed the build for me :-D Thanks!!
Review of attachment 309679 [details] [review]: Pushed, thanks!
I'll make another follow up release with this build fix.