[stgt] 0.9.8 released

Tomasz Chmielewski mangoo at wpkg.org
Sat Aug 22 01:46:54 CEST 2009


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?

cc -c -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"0.9.8\" libssc.c -o libssc.o
cc -c -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"0.9.8\" bs_null.c -o bs_null.o
cc -c -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"0.9.8\" bs_sg.c -o bs_sg.o
In file included from bs_sg.c:38:
util.h: In function ‘__sync_file_range’:
util.h:104: warning: implicit declaration of function ‘sync_file_range’
cc -c -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"0.9.8\" bs.c -o bs.o
cc -c -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"0.9.8\" libcrc32c.c -o libcrc32c.o
cc iscsi/conn.o iscsi/param.o iscsi/session.o iscsi/iscsid.o iscsi/target.o iscsi/chap.o iscsi/transport.o iscsi/iscsi_tcp.o iscsi/isns.o bs_rdwr.o bs_aio.o tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o parser.o spc.o sbc.o mmc.o osd.o scc.o smc.o ssc.o bs_ssc.o libssc.o bs_null.o bs_sg.o bs.o libcrc32c.o -o tgtd -lcrypto -lpthread
bs_rdwr.o: In function `__sync_file_range':
/mnt/1/stgt/tgt-0.9.8/usr/util.h:104: undefined reference to `sync_file_range'
collect2: ld returned 1 exit status
make: *** [tgtd] Error 1



-- 
Tomasz Chmielewski
http://wpkg.org

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