[stgt] Compile/link error on RedHat AS 5.3

Mark Harvey markh794 at gmail.com
Thu Oct 8 20:57:07 CEST 2009


$ make ISCSI=1
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
util.o: In function `open':
/usr/include/bits/fcntl2.h:58: undefined reference to `__open_2'
collect2: ld returned 1 exit status

$ cat /etc/*release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)

stgt version - last commit:

commit f2611fdf23580fed831a731aafce550050900618
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date:   Sat Oct 3 19:31:52 2009 +0900

    add multiple boot parameter parsers support

$ git pull git://git.kernel.org/pub/scm/linux/kernel/git/tomo/tgt.git
 From git://git.kernel.org/pub/scm/linux/kernel/git/tomo/tgt
 * branch            HEAD       -> FETCH_HEAD
Already up-to-date.


Any ideas on work-around ??

Many thanks
Mark
--
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