Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-28-2009, 12:38 AM   #1
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 157

Rep: Reputation: 15
Error coming while installing UNH ISCSI target in CentOS 4.7


I am facing a problem while installating UNH 2.0 ISCSI target on my CentOS 4.7 box. I am pasting the installation log below please have a look and suggets where I am missing and is there any updation require please advise.... Thanks.. Charanjit Singh

make -C /lib/modules/`uname -r`/build SUBDIRS=`pwd` LINUXINCLUDE=" -I/usr/src/ofa_kernel-1.3/include -Iinclude -include include/linux/autoconf.h -include /usr/src/ofa_kernel-1.3/include/linux/autoconf.h"
make[1]: Entering directory `/usr/src/kernels/2.6.9-89.0.11.EL-i686'
CC [M] /opt/unh/iscsi/security/chap/chap.o
In file included from <command line>:8:
./include/linux/autoconf.h:2505:1: /usr/src/ofa_kernel-1.3/include/linux/autoconf.h: No such file or directory
In file included from /opt/unh/iscsi/security/chap/chap.c:44:
/opt/unh/iscsi/security/chap/../../common/my_memory.h: In function `my_kmem_cache_create':
/opt/unh/iscsi/security/chap/../../common/my_memory.h:159: warning: return from incompatible pointer type
/opt/unh/iscsi/security/chap/../../common/my_memory.h: In function `my_kmem_cache_alloc':
/opt/unh/iscsi/security/chap/../../common/my_memory.h:166: warning: passing arg 1 of `kmem_cache_alloc' from incompatible pointer type
/opt/unh/iscsi/security/chap/../../common/my_memory.h: In function `my_kmem_cache_free':
/opt/unh/iscsi/security/chap/../../common/my_memory.h:172: warning: passing arg 1 of `kmem_cache_free' from incompatible pointer type
/opt/unh/iscsi/security/chap/../../common/my_memory.h: In function `my_kmem_cache_destroy':
/opt/unh/iscsi/security/chap/../../common/my_memory.h:178: warning: passing arg 1 of `kmem_cache_destroy' from incompatible pointer type
make[2]: *** [/opt/unh/iscsi/security/chap/chap.o] Error 1
make[1]: *** [_module_/opt/unh/iscsi] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-89.0.11.EL-i686'
make: *** [iscsi] Error 2
Old 09-30-2009, 04:41 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,779
Blog Entries: 1

Rep: Reputation: 243Reputation: 243Reputation: 243
/usr/src/ofa_kernel-1.3/include/linux/autoconf.h: No such file or directory
I don't know what the ofa_kernel package is, but it's missing a header file the build is looking for.


installation, iscsi, target

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you map a folder as an iSCSI target? Duren Linux - Server 0 08-18-2008 12:49 PM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 02:02 AM
can we make iscsi target in fedora 8 gopals Linux - Software 0 02-29-2008 09:23 PM
iscsi target not makes up with fedora 6 nirmaltom Linux - Software 1 02-26-2007 04:29 AM
iSCSI target software from Ardis pliva Linux - Software 2 05-13-2006 01:39 AM

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration