Something like the attached patch is necessary, too (at least on amd64).

Hope this helps
Harri

Index: tgt-1.0.62/usr/Makefile
===================================================================
--- tgt-1.0.62.orig/usr/Makefile
+++ tgt-1.0.62/usr/Makefile
@@ -25,7 +25,7 @@ ifneq ($(SD_NOTIFY),)
 CFLAGS += -DUSE_SYSTEMD
 endif
 
-ifneq ($(shell test -e /usr/include/sys/eventfd.h && test -e /usr/include/libaio.h && echo 1),)
+ifneq ($(shell test -e /usr/include/libaio.h && echo 1),)
 CFLAGS += -DUSE_EVENTFD
 TGTD_OBJS += bs_aio.o
 LIBS += -laio

Reply via email to