public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spaceman: Add missing link to libuuid
@ 2017-09-07  2:19 Khem Raj
  2017-09-07  2:40 ` Dave Chinner
  0 siblings, 1 reply; 11+ messages in thread
From: Khem Raj @ 2017-09-07  2:19 UTC (permalink / raw)
  To: linux-xfs; +Cc: Khem Raj

When uuid is enabled then we see linking failures with gold linker e.g.

libxfs/.libs/libxfs.so: error: undefined reference to 'uuid_compare'
libxfs/.libs/libxfs.so: error: undefined reference to 'uuid_copy'
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 spaceman/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spaceman/Makefile b/spaceman/Makefile
index 95ec3c0..060e0af 100644
--- a/spaceman/Makefile
+++ b/spaceman/Makefile
@@ -9,7 +9,7 @@ LTCOMMAND = xfs_spaceman
 HFILES = init.h space.h
 CFILES = init.c file.c prealloc.c trim.c
 
-LLDLIBS = $(LIBXCMD)
+LLDLIBS = $(LIBXCMD) $(LIBUUID)
 LTDEPENDENCIES = $(LIBXCMD)
 LLDFLAGS = -static
 
-- 
2.14.1


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

end of thread, other threads:[~2017-09-09  0:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-07  2:19 [PATCH] spaceman: Add missing link to libuuid Khem Raj
2017-09-07  2:40 ` Dave Chinner
2017-09-07  4:11   ` Khem Raj
2017-09-07  6:59     ` Dave Chinner
2017-09-08 18:24   ` Khem Raj
2017-09-08 19:15     ` Eric Sandeen
2017-09-08 20:38       ` Khem Raj
2017-09-08 22:36     ` Dave Chinner
2017-09-08 23:22       ` Khem Raj
2017-09-09  0:33         ` Eric Sandeen
2017-09-09  0:36           ` Khem Raj

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