LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't get Iscsi Enterprise Target run on FC6 (https://www.linuxquestions.org/questions/linux-newbie-8/cant-get-iscsi-enterprise-target-run-on-fc6-588275/)

yoyo^^ 09-29-2007 04:43 PM

Can't get Iscsi Enterprise Target run on FC6
 
i'm new to linux & try to make my self a iscsi target to use at home with a fresh install FC6 with kernel 2.6.18-1.2798.fc6xen & what i always get is


cc: /lib/modules/2.6.18-1.2798.fc6xen/build/include/linux/version.h: No such file or directory
cc: no input files
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
make -C usr
make[1]: Entering directory `/root/Desktop/iscsitarget-0.4.15/trunk/usr'
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o ietd.o ietd.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o iscsid.o iscsid.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o conn.o conn.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o session.o session.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o target.o target.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o message.o message.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o ctldev.o ctldev.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o log.o log.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o chap.o chap.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o event.o event.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o param.o param.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o plain.o plain.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o isns.o isns.c
cc ietd.o iscsid.o conn.o session.o target.o message.o ctldev.o log.o chap.o event.o param.o plain.o isns.o -o ietd -lcrypto
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -c -o ietadm.o ietadm.c
cc ietadm.o param.o -o ietadm
make[1]: Leaving directory `/root/Desktop/iscsitarget-0.4.15/trunk/usr'
make -C /lib/modules/2.6.18-1.2798.fc6xen/build SUBDIRS=/root/Desktop/iscsitarget-0.4.15/trunk/kernel modules
make: *** /lib/modules/2.6.18-1.2798.fc6xen/build: No such file or directory. Stop.
make: *** [kernel] Error 2


i have read few article & follow thier step, but it seem like there is something that i have miss out... maybe is the kernel-devel but i cant get my version of kernel-devel.

alunduil 09-30-2007 01:21 PM

Are you trying to set your box up as the iSCSI unit, or connect to an existing one? If you are connecting to one just install iscsi-initiator-utils, and you should be ready to go.

Regards,

Alunduil

yoyo^^ 10-01-2007 04:14 AM

i'm try to setup the box as iscsi unit not connect to an existing unit.

thepainter 05-21-2008 09:13 AM

resolution ??
 
Hi,
I am trying to get IET installed on Fedora 9 and get the same error when i try and configure and install.

How did you get around the problem?

Cheers

yoyo^^ 06-10-2008 02:41 PM

i'm quit trying i still cant get it at the end


All times are GMT -5. The time now is 09:00 PM.