GNOME Bugzilla – Bug 726693
Build failure: lib/bluetooth-settings-widget.c:280: undefined reference to `pow'
Last modified: 2014-03-26 23:53:09 UTC
make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/gnome-bluetooth-3.11.91/lib' CCLD libgnome-bluetooth.la .libs/bluetooth-settings-widget.o: In function `get_random_pincode': /home/iurt/rpmbuild/BUILD/gnome-bluetooth-3.11.91/lib/bluetooth-settings-widget.c:280: undefined reference to `pow' /home/iurt/rpmbuild/BUILD/gnome-bluetooth-3.11.91/lib/bluetooth-settings-widget.c:279: undefined reference to `pow' collect2: error: ld returned 1 exit status Makefile:600: recipe for target 'libgnome-bluetooth.la' failed Happening since a few releases, think never filed a bug. Probably caused by --as-needed linking. Full build log log available at: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20140318111519.ovitters.valstar.1402/log/gnome-bluetooth-3.11.91-1.mga5/build.0.20140318111605.log
Created attachment 272850 [details] [review] build: Explicitely link to libm For the "pow()" call.
Can you check whether that fixes the build?
Works!!
Attachment 272850 [details] pushed as 34f21ee - build: Explicitely link to libm