As reported by issue #8:
"I tried to build ndctl, and I executed "make check",
but I met link error of libuuid like followings.
/usr/bin/ld: multi-pmem.o: undefined reference to symbol
'uuid_unparse@@UUID_1.0'
/lib/x86_64-linux-gnu/libuuid.so.1: error adding symbols: DSO missing from
command line
Not only libuuid, but also libkmod has similar problem."
Add the missing libraries to the dependency list. This happens to work
on latest Fedora, but fails for the reporter on Ubuntu 14.04.
Link: https://github.com/pmem/ndctl/issues/8
Reported-by: Yasunori Goto <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
---
test/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/Makefile.am b/test/Makefile.am
index 9e3ae1dab411..7ec14118f74d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -89,4 +89,6 @@ multi_pmem_SOURCES = \
multi_pmem_LDADD = \
$(LIBNDCTL_LIB) \
$(JSON_LIBS) \
+ $(UUID_LIBS) \
+ $(KMOD_LIBS) \
../libutil.a
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm