[stgt] [PATCH 1/2] add signalfd support

ronnie sahlberg ronniesahlberg at gmail.com
Mon Sep 21 03:16:58 CEST 2009

On Thu, Sep 17, 2009 at 6:25 PM, FUJITA Tomonori
<fujita.tomonori at lab.ntt.co.jp> wrote:
> 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
> Does this work?

Yes this works. This now compiles on my RHEL54 box.
Please apply your patches to your tree.

ronnie sahlberg
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