From 0d76d14f46195eb4295c35bf15531890378c7684 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Mon, 22 Feb 2010 19:56:52 +0100 Subject: add libpthread to btreplay/Makefile LIBS Fedora linking changes picked this up: /usr/bin/ld: btreplay.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line See also https://bugzilla.redhat.com/show_bug.cgi?id=564775 Signed-off-by: Eric Sandeen Signed-off-by: Jens Axboe --- btreplay/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btreplay/Makefile b/btreplay/Makefile index d027afb..2998182 100644 --- a/btreplay/Makefile +++ b/btreplay/Makefile @@ -13,7 +13,7 @@ XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 override CFLAGS += $(INCS) $(XCFLAGS) $(OCFLAGS) PROGS = btrecord btreplay -LIBS = -laio -lrt +LIBS = -laio -lrt -lpthread all: depend $(PROGS) -- cgit v1.2.3