Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/gmpc: needs -lm
@ 2019-10-29 21:40 Fabrice Fontaine
  2019-10-29 21:40 ` [Buildroot] [PATCH 2/2] package/gmpc: fix build with NLS Fabrice Fontaine
  2019-11-08 21:04 ` [Buildroot] [PATCH 1/2] package/gmpc: needs -lm Thomas Petazzoni
  0 siblings, 2 replies; 15+ messages in thread
From: Fabrice Fontaine @ 2019-10-29 21:40 UTC (permalink / raw)
  To: buildroot

gmpc forgets to link with -lm:

/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: GmpcVolume.o: undefined reference to symbol 'ceil@@GLIBC_2.0'
/home/buildroot/autobuild/instance-2/output-1/host/mips64el-buildroot-linux-gnu/sysroot/soft-float/el/lib64/libm.so.6: error adding symbols: DSO missing from command line

Fixes:
 - http://autobuild.buildroot.org/results/a79e0487135ad90530595d5c6ecc32f9c8cea7c4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gmpc/gmpc.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gmpc/gmpc.mk b/package/gmpc/gmpc.mk
index 40b77eb189..51646ac470 100644
--- a/package/gmpc/gmpc.mk
+++ b/package/gmpc/gmpc.mk
@@ -14,5 +14,6 @@ GMPC_DEPENDENCIES = host-gob2 host-intltool host-pkgconf host-vala \
 	libglib2 libgtk2 libmpd libsoup sqlite \
 	xlib_libICE xlib_libSM xlib_libX11 \
 	$(TARGET_NLS_DEPENDENCIES)
+GMPC_CONF_ENV = LIBS=-lm
 
 $(eval $(autotools-package))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-11-21 18:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-29 21:40 [Buildroot] [PATCH 1/2] package/gmpc: needs -lm Fabrice Fontaine
2019-10-29 21:40 ` [Buildroot] [PATCH 2/2] package/gmpc: fix build with NLS Fabrice Fontaine
2019-11-08 21:04 ` [Buildroot] [PATCH 1/2] package/gmpc: needs -lm Thomas Petazzoni
2019-11-08 21:28   ` Peter Seiderer
2019-11-17 19:45     ` Arnout Vandecappelle
2019-11-17 20:20       ` Peter Seiderer
2019-11-17 20:48         ` Peter Seiderer
2019-11-17 20:54           ` Arnout Vandecappelle
2019-11-18 22:42             ` Peter Seiderer
2019-11-18 22:47               ` Thomas Petazzoni
2019-11-19 16:18                 ` Thomas Preston
2019-11-19 17:58                   ` Fabrice Fontaine
2019-11-19 18:31                     ` Thomas Preston
2019-11-19 18:42                     ` Peter Seiderer
2019-11-21 18:14                       ` Thomas Preston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox