What distro are you running and what version?

Why are you using such a old kernel? Is this a RHEL 5 based distro? If so, it 
is best to use the tools/kernel modules that come with it. They are pretty up 
to date and stable.

On Aug 20, 2014, at 10:44 PM, [email protected] wrote:

> Any help or hint to compile open-iscsi-2.0-870.2 for kernel 2.6.28 ?
> 
> [root@SPA open-iscsi]# uname -a
> Linux SPA 2.6.18-194.17.1.b1.07 #12 SMP Wed Jun 18 15:22:13 CST 2014 x86_64 
> x86_64 x86_64 GNU/Linux
> 
> [root@SPA open-iscsi]# gcc -v
> Using built-in specs.
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit 
> --disable-libunwind-exceptions --enable-libgcj-multifile 
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
> --disable-dssi --enable-plugin 
> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic 
> --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
> 
> [root@SPA open-iscsi]# make
> make -C utils/open-isns
> make[1]: Entering directory `/home/colibri/repos/open-iscsi/utils/open-isns'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/colibri/repos/open-iscsi/utils/open-isns'
> make -C utils/sysdeps
> make[1]: Entering directory `/home/colibri/repos/open-iscsi/utils/sysdeps'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/colibri/repos/open-iscsi/utils/sysdeps'
> make -C utils/fwparam_ibft
> make[1]: Entering directory 
> `/home/colibri/repos/open-iscsi/utils/fwparam_ibft'
> cc -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../usr 
> -D_GNU_SOURCE   -c -o ../../usr/iscsi_net_util.o ../../usr/iscsi_net_util.c
> In file included from ../../usr/iscsi_net_util.c:32:
> ../../usr/ethtool-copy.h:24: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h: In function 'ethtool_cmd_speed_set':
> ../../usr/ethtool-copy.h:44: error: 'struct ethtool_cmd' has no member named 
> 'speed_hi'
> ../../usr/ethtool-copy.h: In function 'ethtool_cmd_speed':
> ../../usr/ethtool-copy.h:49: error: 'struct ethtool_cmd' has no member named 
> 'speed_hi'
> ../../usr/ethtool-copy.h: At top level:
> ../../usr/ethtool-copy.h:76: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:90: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:99: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:251: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:278: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:304: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:311: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:317: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:322: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:333: error: expected specifier-qualifier-list before 
> '__u8'
> ../../usr/ethtool-copy.h:349: error: expected specifier-qualifier-list before 
> '__u8'
> make[1]: *** [../../usr/iscsi_net_util.o] Error 1
> make[1]: Leaving directory `/home/colibri/repos/open-iscsi/utils/fwparam_ibft'
> make: *** [user] Error 2
> 
> 
> Thanks for your help?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to