[stgt] 0.9.8 released

Tomasz Chmielewski mangoo at wpkg.org
Mon Sep 14 12:49:25 CEST 2009

FUJITA Tomonori wrote:
> On Sat, 22 Aug 2009 01:46:54 +0200
> Tomasz Chmielewski <mangoo at wpkg.org> wrote:
>> FUJITA Tomonori schrieb:
>>> The tar is also available:
>>> http://stgt.berlios.de/releases/tgt-0.9.8.tar.bz2
>> Fails to compile on Debian Etch (4.0) for me - anything obvious I'm missing?
> Duh, glibc defines SYNC_FILE_RANGE_WAIT_BEFORE even though it doesn't
> support sync_file_range...
> Ok, this works for everyone?

Sorry for the late reply - but 0.9.8 with this patch doesn't build on Debian Etch:

$ make ISCSI=1
cc -c -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"0.9.8\" iscsi/conn.c -o iscsi/conn.o
In file included from iscsi/conn.c:29:
./util.h: In function ‘__sync_file_range’:
./util.h:107: error: ‘SYNC_FILE_RANGE_WAIT_BEFORE’ undeclared (first use in this function)
./util.h:107: error: (Each undeclared identifier is reported only once
./util.h:107: error: for each function it appears in.)
./util.h:107: error: ‘SYNC_FILE_RANGE_WRITE’ undeclared (first use in this function)
./util.h:108: error: ‘SYNC_FILE_RANGE_WAIT_AFTER’ undeclared (first use in this function)
make: *** [iscsi/conn.o] Error 1

Tomasz Chmielewski
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