IET installation Error FC-9

View: New views
7 Messages — Rating Filter:   Alert me  

IET installation Error FC-9

by Padmanabhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello ,
I downloaded IET from Berlios repository and I get following error when issued "" make "".  Please suggest to get past installation errors.
Thanks.


[user@localhost trunk]$ svn update
At revision 162.

[user@localhost trunk]$ uname -a
Linux localhost.localdomain 2.6.25.3-18.fc9.i686 #1 SMP Tue May 13 05:38:53 EDT 2008 i686 i686 i386 GNU/Linux

[user@localhost trunk]$ sudo make
cc: /lib/modules/2.6.25.3-18.fc9.i686/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: [: -le: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
make -C usr
make[1]: Entering directory `/home/user/Download/trunk/usr'
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o ietd.o ietd.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o iscsid.o iscsid.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o conn.o conn.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o session.o session.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o target.o target.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o message.o message.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o ctldev.o ctldev.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o log.o log.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o chap.o chap.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o event.o event.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o param.o param.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o plain.o plain.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -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 -D_GNU_SOURCE    -c -o ietadm.o ietadm.c
cc ietadm.o param.o -o ietadm
make[1]: Leaving directory `/home/user/Download/trunk/usr'
make -C /lib/modules/2.6.25.3-18.fc9.i686/build SUBDIRS=/home/user/Download/trunk/kernel modules
make: *** /lib/modules/2.6.25.3-18.fc9.i686/build: No such file or directory.  Stop.
make: *** [kernel] Error 2


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: IET installation Error FC-9

by Arne Redlich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Samstag, den 28.06.2008, 21:51 -0500 schrieb Padmanabhan:
> Hello ,
> I downloaded IET from Berlios repository and I get following error
> when issued "" make "".  Please suggest to get past installation
> errors.
> Thanks.

[snip]

> [user@localhost trunk]$ sudo make
> cc: /lib/modules/2.6.25.3-18.fc9.i686/build/include/linux/version.h: No such file or directory
> cc: no input files

[snip]

> make[1]: Leaving directory `/home/user/Download/trunk/usr'
> make -C /lib/modules/2.6.25.3-18.fc9.i686/build SUBDIRS=/home/user/Download/trunk/kernel modules
> make: *** /lib/modules/2.6.25.3-18.fc9.i686/build: No such file or directory.  Stop.
> make: *** [kernel] Error 2

Obviously your kernel headers are missing - I guess the package is
called kernel-devel or sth. similar in Fedora.

HTH,
Arne


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: IET installation Error FC-9

by Padmanabhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I updated kernel and installed kernel headers ( kernel-devel package for Fedora ) and got past that stage.
I also installed "" kmod-iscsitarget-2.6.25.6-55.fc9.i686.i686 "" through yum. Is it conflicting package or necessary to install IET ?
Now receive following error when I give "" make install ""


[user@localhost trunk]$ sudo make
[sudo] password for user:
make -C usr
make[1]: Entering directory `/home/user/Download/trunk/usr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/Download/trunk/usr'
make -C /lib/modules/2.6.25.6-55.fc9.i686/build SUBDIRS=/home/user/Download/trunk/kernel modules
make[1]: Entering directory `/usr/src/kernels/2.6.25.6-55.fc9.i686'
..................
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/user/Download/trunk/kernel/iscsi_trgt.mod.o
  LD [M]  /home/user/Download/trunk/kernel/iscsi_trgt.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.25.6-55.fc9.i686'


[user@localhost trunk]$ sudo make install
.............
install: creating directory `/usr/share/doc/iscsitarget'
`ChangeLog' -> `/usr/share/doc/iscsitarget/ChangeLog'
`COPYING' -> `/usr/share/doc/iscsitarget/COPYING'
`README' -> `/usr/share/doc/iscsitarget/README'
`README.vmware' -> `/usr/share/doc/iscsitarget/README.vmware'
install: creating directory `/lib/modules/2.6.25.6-55.fc9.i686/kernel/iscsi'
`kernel/iscsi_trgt.ko' -> `/lib/modules/2.6.25.6-55.fc9.i686/kernel/iscsi/iscsi_trgt.ko'

Running depmod
/bin/sh: line 3: depmod: command not found
make: *** [depmod] Error 127

============================

Thanks
Padmanabhan


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: IET installation Error FC-9

by Padmanabhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I run the command " make install " as root and it did not report any error.
But dont know why it failed when run as " user", an account that is part of sudo users group and has /sbin to the PATH where " depmod " command is lcoated.

Regards
Padmanabhan

On Sun, Jun 29, 2008 at 2:22 PM, Padmanabhan <rpdumps@...> wrote:
Hello,
I updated kernel and installed kernel headers ( kernel-devel package for Fedora ) and got past that stage.
I also installed "" kmod-iscsitarget-2.6.25.6-55.fc9.i686.i686 "" through yum. Is it conflicting package or necessary to install IET ?
Now receive following error when I give "" make install ""



[user@localhost trunk]$ sudo make
[sudo] password for user:
make -C usr
make[1]: Entering directory `/home/user/Download/trunk/usr'
make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/home/user/Download/trunk/usr'
make -C /lib/modules/2.6.25.6-55.fc9.i686/build SUBDIRS=/home/user/Download/trunk/kernel modules
make[1]: Entering directory `/usr/src/kernels/2.6.25.6-55.fc9.i686'
..................
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/user/Download/trunk/kernel/iscsi_trgt.mod.o
  LD [M]  /home/user/Download/trunk/kernel/iscsi_trgt.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.25.6-55.fc9.i686'


[user@localhost trunk]$ sudo make install
.............
install: creating directory `/usr/share/doc/iscsitarget'
`ChangeLog' -> `/usr/share/doc/iscsitarget/ChangeLog'
`COPYING' -> `/usr/share/doc/iscsitarget/COPYING'
`README' -> `/usr/share/doc/iscsitarget/README'
`README.vmware' -> `/usr/share/doc/iscsitarget/README.vmware'
install: creating directory `/lib/modules/2.6.25.6-55.fc9.i686/kernel/iscsi'
`kernel/iscsi_trgt.ko' -> `/lib/modules/2.6.25.6-55.fc9.i686/kernel/iscsi/iscsi_trgt.ko'

Running depmod
/bin/sh: line 3: depmod: command not found
make: *** [depmod] Error 127

============================

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: IET installation Error FC-9

by Padmanabhan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
Today I tried to install ( downloaded from trunk) on another machine, it stopped with following error messages.
I was able to install the svn version which I downloaded couple of days ago.

Thanks
Padmanabhan

[root@Linux trunk]# make
make -C usr
make[1]: Entering directory `/home/user/Download/trunk/usr'
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o chap.o chap.c
chap.c:20:25: error: openssl/sha.h: No such file or directory
chap.c:21:25: error: openssl/md5.h: No such file or directory
chap.c: In function 'chap_calc_digest_md5':
chap.c:303: error: 'MD5_CTX' undeclared (first use in this function)
chap.c:303: error: (Each undeclared identifier is reported only once
chap.c:303: error: for each function it appears in.)
chap.c:303: error: expected ';' before 'ctx'
chap.c:305: warning: implicit declaration of function 'MD5_Init'
chap.c:305: error: 'ctx' undeclared (first use in this function)
chap.c:306: warning: implicit declaration of function 'MD5_Update'
chap.c:309: warning: implicit declaration of function 'MD5_Final'
chap.c: In function 'chap_calc_digest_sha1':
chap.c:314: error: 'SHA_CTX' undeclared (first use in this function)
chap.c:314: error: expected ';' before 'ctx'
chap.c:316: warning: implicit declaration of function 'SHA1_Init'
chap.c:316: error: 'ctx' undeclared (first use in this function)
chap.c:317: warning: implicit declaration of function 'SHA1_Update'
chap.c:320: warning: implicit declaration of function 'SHA1_Final'
make[1]: *** [chap.o] Error 1
make[1]: Leaving directory `/home/user/Download/trunk/usr'
make: *** [usr] Error 2


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: IET installation Error FC-9

by Mark Harvey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
RE: [Iscsitarget-devel] IET installation Error FC-9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yep...

 

As gcc is advising, you are missing openssl/sha.h and openssl/md5.h

 

These can be found in the ssl development packages.

 

Cheers

Mark

 

From: iscsitarget-devel-bounces@... [iscsitarget-devel-bounces@...] On Behalf Of Padmanabhan

Sent: Tuesday, July 01, 2008 3:51 PM
To: iscsitarget-devel@...
Subject: Re: [Iscsitarget-devel] IET installation Error FC-9

 

Hello,
Today I tried to install ( downloaded from trunk) on another machine, it stopped with following error messages.
I was able to install the svn version which I downloaded couple of days ago.

Thanks
Padmanabhan

[root@Linux trunk]# make
make -C usr
make[1]: Entering directory `/home/user/Download/trunk/usr'
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o chap.o chap.c
chap.c:20:25: error: openssl/sha.h: No such file or directory
chap.c:21:25: error: openssl/md5.h: No such file or directory
chap.c: In function 'chap_calc_digest_md5':
chap.c:303: error: 'MD5_CTX' undeclared (first use in this function)
chap.c:303: error: (Each undeclared identifier is reported only once
chap.c:303: error: for each function it appears in.)
chap.c:303: error: expected ';' before 'ctx'
chap.c:305: warning: implicit declaration of function 'MD5_Init'
chap.c:305: error: 'ctx' undeclared (first use in this function)
chap.c:306: warning: implicit declaration of function 'MD5_Update'
chap.c:309: warning: implicit declaration of function 'MD5_Final'
chap.c: In function 'chap_calc_digest_sha1':
chap.c:314: error: 'SHA_CTX' undeclared (first use in this function)
chap.c:314: error: expected ';' before 'ctx'
chap.c:316: warning: implicit declaration of function 'SHA1_Init'
chap.c:316: error: 'ctx' undeclared (first use in this function)
chap.c:317: warning: implicit declaration of function 'SHA1_Update'
chap.c:320: warning: implicit declaration of function 'SHA1_Final'
make[1]: *** [chap.o] Error 1
make[1]: Leaving directory `/home/user/Download/trunk/usr'
make: *** [usr] Error 2

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFIaceD/yA2YNgkzOgRAuHwAJ9qSWNn3TyKuNxArQwVXL3ZID/FywCglABa
BdGUaxWiiCdyi9IxQ4Ihq4Q=
=PWrr
-----END PGP SIGNATURE-----


Yep…

 

As gcc is advising, you are missing openssl/sha.h and openssl/md5.h

 

These can be found in the ssl development packages.

 

Cheers

Mark

 

From: iscsitarget-devel-bounces@... [mailto:iscsitarget-devel-bounces@...] On Behalf Of Padmanabhan
Sent: Tuesday, July 01, 2008 3:51 PM
To: iscsitarget-devel@...
Subject: Re: [Iscsitarget-devel] IET installation Error FC-9

 

Hello,
Today I tried to install ( downloaded from trunk) on another machine, it stopped with following error messages.
I was able to install the svn version which I downloaded couple of days ago.

Thanks
Padmanabhan

[root@Linux trunk]# make
make -C usr
make[1]: Entering directory `/home/user/Download/trunk/usr'
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o chap.o chap.c
chap.c:20:25: error: openssl/sha.h: No such file or directory
chap.c:21:25: error: openssl/md5.h: No such file or directory
chap.c: In function 'chap_calc_digest_md5':
chap.c:303: error: 'MD5_CTX' undeclared (first use in this function)
chap.c:303: error: (Each undeclared identifier is reported only once
chap.c:303: error: for each function it appears in.)
chap.c:303: error: expected ';' before 'ctx'
chap.c:305: warning: implicit declaration of function 'MD5_Init'
chap.c:305: error: 'ctx' undeclared (first use in this function)
chap.c:306: warning: implicit declaration of function 'MD5_Update'
chap.c:309: warning: implicit declaration of function 'MD5_Final'
chap.c: In function 'chap_calc_digest_sha1':
chap.c:314: error: 'SHA_CTX' undeclared (first use in this function)
chap.c:314: error: expected ';' before 'ctx'
chap.c:316: warning: implicit declaration of function 'SHA1_Init'
chap.c:316: error: 'ctx' undeclared (first use in this function)
chap.c:317: warning: implicit declaration of function 'SHA1_Update'
chap.c:320: warning: implicit declaration of function 'SHA1_Final'
make[1]: *** [chap.o] Error 1
make[1]: Leaving directory `/home/user/Download/trunk/usr'
make: *** [usr] Error 2



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

PGPexch.htm.asc (268 bytes) Download Attachment

Parent Message unknown Re: IET installation Error FC-9

by rswwalker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [Iscsitarget-devel] IET installation Error FC-9

Please read the INSTALL and README files. These files outline the requirements needed to compile IET successfully.

In this case you are missing openssl-devel.

-Ross


----- Original Message -----
From: iscsitarget-devel-bounces@... <iscsitarget-devel-bounces@...>
To: iscsitarget-devel@... <iscsitarget-devel@...>
Sent: Tue Jul 01 01:51:12 2008
Subject: Re: [Iscsitarget-devel] IET installation Error FC-9

Hello,
Today I tried to install ( downloaded from trunk) on another machine, it stopped with following error messages.
I was able to install the svn version which I downloaded couple of days ago.

Thanks
Padmanabhan

[root@Linux trunk]# make
make -C usr
make[1]: Entering directory `/home/user/Download/trunk/usr'
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include -D_GNU_SOURCE    -c -o chap.o chap.c
chap.c:20:25: error: openssl/sha.h: No such file or directory
chap.c:21:25: error: openssl/md5.h: No such file or directory
chap.c: In function 'chap_calc_digest_md5':
chap.c:303: error: 'MD5_CTX' undeclared (first use in this function)
chap.c:303: error: (Each undeclared identifier is reported only once
chap.c:303: error: for each function it appears in.)
chap.c:303: error: expected ';' before 'ctx'
chap.c:305: warning: implicit declaration of function 'MD5_Init'
chap.c:305: error: 'ctx' undeclared (first use in this function)
chap.c:306: warning: implicit declaration of function 'MD5_Update'
chap.c:309: warning: implicit declaration of function 'MD5_Final'
chap.c: In function 'chap_calc_digest_sha1':
chap.c:314: error: 'SHA_CTX' undeclared (first use in this function)
chap.c:314: error: expected ';' before 'ctx'
chap.c:316: warning: implicit declaration of function 'SHA1_Init'
chap.c:316: error: 'ctx' undeclared (first use in this function)
chap.c:317: warning: implicit declaration of function 'SHA1_Update'
chap.c:320: warning: implicit declaration of function 'SHA1_Final'
make[1]: *** [chap.o] Error 1
make[1]: Leaving directory `/home/user/Download/trunk/usr'
make: *** [usr] Error 2



This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel
LightInTheBox - Buy quality products at wholesale price