The swapoff utility seems to need linking with libblkid otherwise this build error occurs: $ git describe v2.25-180-g29607ed $ ./autogen.sh && ./configure --without-python && make [....] CCLD swapoff /usr/bin/ld: sys-utils/swapoff-swapon-common.o: undefined reference to symbol 'blkid_probe_lookup_value@@BLKID_2.15' //home/ah/opt/pkg-util-linux/util-linux/.libs/libblkid.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:5992: recipe for target 'swapoff' failed make[2]: *** [swapoff] Error 1 make[2]: Leaving directory '/home/ah/opt/pkg-util-linux/util-linux' Makefile:10220: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/ah/opt/pkg-util-linux/util-linux' Makefile:4433: recipe for target 'all' failed make: *** [all] Error 2 Signed-off-by: Andreas Henriksson <andreas@xxxxxxxx> --- sys-utils/Makemodule.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am index 058bb62..62e26f4 100644 --- a/sys-utils/Makemodule.am +++ b/sys-utils/Makemodule.am @@ -275,7 +275,7 @@ swapon_LDADD = $(LDADD) \ swapoff_SOURCES = sys-utils/swapoff.c sys-utils/swapon-common.c swapoff_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) -I$(ul_libblkid_incdir) -swapoff_LDADD = $(LDADD) libmount.la +swapoff_LDADD = $(LDADD) libmount.la libblkid.la endif if BUILD_LSCPU -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html