Re: Compile/link error on RedHat AS 5.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux