[stgt] Compile/link error on RedHat AS 5.3

Albert Pauw albert.pauw at gmail.com
Fri Oct 9 09:47:34 CEST 2009


No worries,

it is just one of those moments.

As a side note, are there any vtl updates soon?

A few I still remember are open:

- Virtual tapes don't respect size, you can fill them up until disks are full.

- Eject of tape should reset the filemark to 0 instead of leaving it. A newly
loaded tape should start at 0 again. Of course this can be done when
loading a tape.


Thanks,

Albert
2009/10/9 Mark Harvey <markh794 at gmail.com>:
> 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
>
--
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