[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: [linux-iscsi-users] Problem compiling in kernel 2.6.10



Julio Rodanes - KNET wrote:
Hello all,

I am trying to compile 4.0.2 over kernel 2.6.10 but I get errors...


It looks like you need libsysfs or have the wrong version.



make

Note: using kernel source from /lib/modules/2.6.10-1.770_FC3/build
containing kernel version 2.6.10-1.770_FC3

Note: using kernel config from /lib/modules/2.6.10-1.770_FC3/build/.config

make[1]: Entering directory `/lib/modules/2.6.10-1.770_FC3/build'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/lib/modules/2.6.10-1.770_FC3/build'
gcc -Wall -Wstrict-prototypes -O2 -I/usr/src/linux-iscsi-4.0.2/include -I/usr/src/linux-iscsi-4.0.2/common/login -I/usr/src/linux-iscsi-4.0.2/common/auth -I/usr/src/linux-iscsi-4.0.2/daemon/discovery -I/usr/src/linux-iscsi-4.0.2/daemon/include -I/usr/src/linux-iscsi-4.0.2/misc/include -fomit-frame-pointer -MMD -c -o /usr/src/linux-iscsi-4.0.2/Linux-i686/obj/daemon/iscsid.o daemon/iscsid.c
daemon/iscsid.c:28:28: sysfs/libsysfs.h: No such file or directory
daemon/iscsid.c: In function `find_host_no':
daemon/iscsid.c:968: warning: implicit declaration of function `sysfs_open_class'
daemon/iscsid.c:968: warning: assignment makes pointer from integer without a cast
daemon/iscsid.c:973: warning: implicit declaration of function `sysfs_get_class_devices'
daemon/iscsid.c:973: warning: assignment makes pointer from integer without a cast
daemon/iscsid.c:975: warning: implicit declaration of function `sysfs_close_class'
daemon/iscsid.c:978: warning: implicit declaration of function `dlist_for_each_data'
daemon/iscsid.c:978: error: syntax error before "struct"
daemon/iscsid.c:980: warning: implicit declaration of function `sysfs_get_classdev_attr'
daemon/iscsid.c:980: warning: assignment makes pointer from integer without a cast
daemon/iscsid.c:981: warning: assignment makes pointer from integer without a cast
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:982: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:983: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:984: error: dereferencing pointer to incomplete type
daemon/iscsid.c:985: error: dereferencing pointer to incomplete type
daemon/iscsid.c:986: error: break statement not within loop or switch
daemon/iscsid.c: At top level:
daemon/iscsid.c:989: error: syntax error before "if"
daemon/iscsid.c:993: warning: type defaults to `int' in declaration of `sysfs_close_class'
daemon/iscsid.c:993: warning: parameter names (without types) in function declaration
daemon/iscsid.c:993: warning: data definition has no type or storage class
daemon/iscsid.c:994: error: syntax error before "return"
make: *** [/usr/src/linux-iscsi-4.0.2/Linux-i686/obj/daemon/iscsid.o] Error 1


Any solucitons???

Thanks



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
linux-iscsi-users mailing list
linux-iscsi-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/linux-iscsi-users





-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
linux-iscsi-users mailing list
linux-iscsi-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/linux-iscsi-users

[IP Storage]     [IETF]     [Linux SCSI]     [iSCSI Book]     [Linux Resources]     [Yosemite News]     [Photo]     [Home]     [IETF Announcements]     [IETF Discussion]     [SCSI Hardware]