[stgt] [PATCH 1/2] add signalfd support
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Thu Sep 17 08:23:55 CEST 2009
On Thu, 17 Sep 2009 15:49:05 +1000
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
> This builds and runs on rhel5.2 but not on rhel5.4.
>
> rhel5.4 has __NR_signalfd defined
> asm-x86_64/unistd.h:#define __NR_signalfd 282
> asm-x86_64/unistd.h:__SYSCALL(__NR_signalfd, sys_ni_syscall)
>
> but it does not have
> [root at rh54n2 usr]# make ISCSI=1
> cc -c -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall -Wstrict-prototypes -fPIC
> -DTGT_VERSION=\"0.9.8-git-2cf48f1\" iscsi/conn.c -o iscsi/conn.o
> In file included from iscsi/conn.c:29:
> ./util.h:122:28: error: linux/signalfd.h: No such file or directory
Duh, why does RHEL5.4 define __NR_signalfd!
Any smart trick to workaround this issue except for having the local
copy of signalfd.h?
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list