And here is the (very modest) patch for it.

--- usr/iface.c 2008-05-15 22:04:38.000000000 +0200
+++ usr/iface.c.new     2008-05-15 22:04:46.000000000 +0200
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <string.h>
 #include <unistd.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/stat.h>


On May 15, 9:45 pm, Albert Pauw <[EMAIL PROTECTED]> wrote:
> And I can confirm that it works fine, the git version of open-iscsi
> under FC9.
> I do not get the errors mentioned before.
>
> So at least no regression.
>
> Albert
>
> On May 15, 9:25 pm, Albert Pauw <[EMAIL PROTECTED]> wrote:
>
> > Been able to compile now under FC9,
> > had to include
>
> > #include <limits.h>
>
> > in usr/iface.c
>
> > Albert
>
> > On May 15, 6:39 pm, Albert Pauw <[EMAIL PROTECTED]> wrote:
>
> > > Hi Mike,
>
> > > had to reinstall my laptop. I went for the new FC9, with kernel
> > > 2.6.25.
> > > When I am using the stock open-iscsi that comes with it, it works fine
> > > (v 2.0-868), no delays loggin in.
>
> > > The git version wouldn't compile under FC9 yet:
>
> > > iface.c: In function ‘iface_get_next_id’:
> > > iface.c:305: error: ‘INT_MAX’ undeclared (first use in this function)
> > > iface.c:305: error: (Each undeclared identifier is reported only once
> > > iface.c:305: error: for each function it appears in.)
>
> > > Albert
>
> > > On May 14, 7:06 pm, Albert Pauw <[EMAIL PROTECTED]> wrote:
>
> > > > Had to add the following line to kernel/Makefile:
>
> > > > linux_2_6_24: $(unpatch_code)
>
> > > > But still it won't compile:
>
> > > > /usr/src/redhat/BUILD/open-iscsi-2.0-865.15/kernel/
> > > > scsi_transport_iscsi.c:1529: error: too few arguments to function
> > > > ‘netlink_kernel_create’
>
> > > > Any ideas?
>
> > > > Albert
>
> > > > On May 14, 5:55 pm, Mike Christie <[EMAIL PROTECTED]> wrote:
>
> > > > > Albert Pauw wrote:
> > > > > > Hi Mike,
>
> > > > > > I can't compile 865.15:
>
> > > > > > login.o: In function `resolve_address':
> > > > > > /usr/src/redhat/BUILD/open-iscsi-2.0-865.15/usr/login.c:168: 
> > > > > > warning:
> > > > > > Using 'getaddrinfo' in statically linked applications requires at
> > > > > > runtime the shared libraries from the glibc version used for linking
>
> > > > > That is just a warning. You can ignore since it is just for 
> > > > > iscsistart too.
>
> > > > > > So I can't try that out. And yes, the firmware was updated as well. 
> > > > > > So
> > > > > > it is difficult for me to track it down.
> > > > > > Did you see any particular in the wireshark log?
>
> > > > > No, but I am still looking at it to try and line up changes with the
> > > > > iscsi_tcp changes.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to