Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't emerge open-iscsi / scsi_transport_iscsi.o Error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
eisenmann
n00b
n00b


Joined: 08 Jan 2006
Posts: 31

PostPosted: Sun Jul 08, 2007 9:31 pm    Post subject: can't emerge open-iscsi / scsi_transport_iscsi.o Error Reply with quote

Hello,

i would emerge open iscsi, but i can't becaus of this error during the emerge:

Code:

>>> Emerging (1 of 1) sys-block/open-iscsi-1.0.514 to /
 * open-iscsi-1.0-514.tar.gz RMD160 ;-) ...                                                                                                      [ ok ]
 * open-iscsi-1.0-514.tar.gz SHA1 ;-) ...                                                                                                        [ ok ]
 * open-iscsi-1.0-514.tar.gz SHA256 ;-) ...                                                                                                      [ ok ]
 * open-iscsi-1.0-514.tar.gz size ;-) ...                                                                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                           [ ok ]
 * checking open-iscsi-1.0-514.tar.gz ;-) ...                                                                                                    [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.20-gentoo-r8/build
 * Found sources for kernel version:
 *     2.6.20-gentoo-r8
 * Checking for suitable kernel configuration options...                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking open-iscsi-1.0-514.tar.gz to /var/tmp/portage/sys-block/open-iscsi-1.0.514/work
 * Applying r438-idbm-file-locking.diff ...                                                                                                      [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514 ...
 * Building kernel modules
 * Preparing iscsi_tcp module
kernel check... OTHER KERNEL DETECTED
make -C /usr/src/linux M=`pwd` KBUILD_OUTPUT=  V=0 modules
make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo-r8'
  CC [M]  /var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.o
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c: In function 'iscsi_unblock_session':
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c:283: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c: In function 'iscsi_block_session':
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c:293: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c:322:71: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c: In function 'iscsi_create_session':
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c:322: error: 'INIT_WORK' undeclared (first use in this function)
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c:322: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c:322: error: for each function it appears in.)
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c: In function 'iscsi_destroy_session':
/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.c:378: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
make[2]: *** [/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel/scsi_transport_iscsi.o] Error 1
make[1]: *** [_module_/var/tmp/portage/sys-block/open-iscsi-1.0.514/work/open-iscsi-1.0-514/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo-r8'
make: *** [all] Error 2

!!! ERROR: sys-block/open-iscsi-1.0.514 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  open-iscsi-1.0.514.ebuild, line 62:   Called linux-mod_src_compile
  linux-mod.eclass, line 516:   Called die

!!! Unable to make   all.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-block/open-iscsi-1.0.514/temp/build.log'.


Code:

emerge --info

Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) M processor 2.26GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 06 Jul 2007 08:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acc acl acpi alsa berkdb bitmap-fonts bluetooth cdr cli cracklib crypt cups dri dvd esd exif fortran gdbm gif gpm gtk iconv ipv6 irmc isdnlog jpeg libg++ mad midi mmx mp3 mudflap ncurses netjack nls nptl nptlonly nsplugin obex opengl openmp oss pam pcre perl png pppd python qt3support quicktime readline reflection samba session sndfile spl sse sse2 ssl tcpd truetype-fonts tse3 type1-fonts unicode win32codecs wmp x86 xinerama xorg zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


The iscsi flags in the Kernel are not set:
Code:

# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_ISCSI_TCP is not set
# CONFIG_SCSI_QLA_ISCSI is not set


Have any some ideas what is wrong?

rgds Eisnemann
Back to top
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Sun Jul 08, 2007 10:36 pm    Post subject: Reply with quote

You would get a better response from portage and programming. Yet are trying to emerge thsi while installing and if so you will not be able to do so until after you have emrged your kernel, configged it, and then chrooted into your install.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Jul 08, 2007 11:09 pm    Post subject: Reply with quote

The problem is that from 2.6.20 up the INIT_WORK macro takes only 2 arguments. It should work with 2.6.19. Basically, upstream needs to fix it.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
eisenmann
n00b
n00b


Joined: 08 Jan 2006
Posts: 31

PostPosted: Tue Jul 10, 2007 12:11 am    Post subject: Reply with quote

Thank you for your help but i can't also not install open-iscsi under 2.6.19 but i have found, that on the open-iscsi page is a newer version. This version i can install and there is working under both versions.
So i open this new thread to write a new ebuild:
https://forums.gentoo.org/viewtopic-t-569621-highlight-openiscsi.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum