[stgt] Compile/link error on RedHat AS 5.3

Mark Harvey markh794 at gmail.com
Fri Oct 9 02:45:26 CEST 2009


OK, you know what they say.. "Make something idiot proof and they will
just invent a better idiot"..

A 'make clean' followed by 'make ISCSI=1' did the trick..

Sorry for the noise.

Cheers
Mark

On Fri, Oct 9, 2009 at 5:57 AM, Mark Harvey <markh794 at gmail.com> wrote:
>
> $ 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