[Stgt-devel] STGT fails compilation against FC Kernel 2.6.15
Ming Zhang
mingz at ele.uri.edu
Thu Feb 9 01:59:42 CET 2006
On Wed, 2006-02-08 at 09:58 -0500, Ming Zhang wrote:
> On Wed, 2006-02-08 at 14:28 +0100, Rehmann Oliver wrote:
> > Dear Colleagues
> >
> > Just tried to compile rev. 284 of STGT on my FC4 box but it fails.
> > Just for your information.
> > (Linux comet.ch.int.atosorigin.com 2.6.15-1.1830_FC4 #1 Thu Feb 2
> > 17:23:41 EST 2006 i686 i686 i386 GNU/Linux)
>
> it needs very latest kernel. try the 2.6.16rc
i was wrong here. i tried 2.6.16-rc2 and it does not work yet.
@Mike or Tomof, could you tell us which kernel we should use? or we
should use the patch u post on linux-scsi list instead? thanks
> >
> > BTW, any comments on how close to a production release (replacing
> > IETD) we are ?
>
>
> >
> > Is there already a project or SF-website for STGT ?
>
> http://developer.berlios.de/projects/stgt/
>
> > BTW, thank you for the official release of IETD 0.4.13 at SourceForge.
> >
> > Regards,
> >
> > Oliver Rehmann
> > Manager IT
> > Atos Origin Telecom Schweiz AG
> > Binzmuehlestr. 95
> > 8050 Zurich
> > Switzerland
> > Phone +41 44 308 9515
> > Fax +41 44 308 9599
> > oliver.rehmann at atosorigin.com
> > www.atosorigin.com
> >
> >
> >
> > ==========================================================================================
> >
> > make -C istgt
> > make[1]: Entering directory `/user1/software/STGT/trunk/istgt'
> > make -C usr
> > make[2]: Entering directory `/user1/software/STGT/trunk/istgt/usr'
> > cc -O2 -fno-inline -Wall -fPIC -Wstrict-prototypes
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -I../../include -I../../usr -c -o istgt.o istgt.c
> >
> > cc -O2 -fno-inline -Wall -fPIC -Wstrict-prototypes
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -I../../include -I../../usr -c -o conn.o conn.c
> >
> > cc -O2 -fno-inline -Wall -fPIC -Wstrict-prototypes
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -I../../include -I../../usr -c -o param.o param.c
> >
> > cc -O2 -fno-inline -Wall -fPIC -Wstrict-prototypes
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -I../../include -I../../usr -c -o iscsid.o iscsid.c
> >
> > cc -O2 -fno-inline -Wall -fPIC -Wstrict-prototypes
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -I../../include -I../../usr -c -o session.o session.c
> >
> > cc -O2 -fno-inline -Wall -fPIC -Wstrict-prototypes
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -I../../include -I../../usr -c -o target.o target.c
> >
> > cc -O2 -fno-inline -Wall -fPIC -Wstrict-prototypes
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -I../../include -I../../usr -c -o chap.o chap.c
> >
> > cc -O2 -fno-inline -Wall -fPIC -Wstrict-prototypes
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -I../../include -I../../usr -c -o ctldev.o ctldev.c
> >
> > cc -shared -o istgt.so istgt.o conn.o param.o iscsid.o session.o
> > target.o chap.o ctldev.o
> > make[2]: Leaving directory `/user1/software/STGT/trunk/istgt/usr'
> > make -C /lib/modules/2.6.15-1.1830_FC4/build
> > SUBDIRS=/user1/software/STGT/trunk/istgt/kernel modules
> > make[2]: Entering directory `/usr/src/kernels/2.6.15-1.1830_FC4-i686'
> > CC [M] /user1/software/STGT/trunk/istgt/kernel/iscsi.o
> > CC [M] /user1/software/STGT/trunk/istgt/kernel/nthread.o
> > CC [M] /user1/software/STGT/trunk/istgt/kernel/config.o
> > CC [M] /user1/software/STGT/trunk/istgt/kernel/digest.o
> > CC [M] /user1/software/STGT/trunk/istgt/kernel/conn.o
> > CC [M] /user1/software/STGT/trunk/istgt/kernel/session.o
> > CC [M] /user1/software/STGT/trunk/istgt/kernel/param.o
> > LD [M] /user1/software/STGT/trunk/istgt/kernel/istgt.o
> > Building modules, stage 2.
> > MODPOST
> > *** Warning:
> > "tgt_cmd_create" [/user1/software/STGT/trunk/istgt/kernel/istgt.ko]
> > undefined!
> > *** Warning:
> > "tgt_msg_send" [/user1/software/STGT/trunk/istgt/kernel/istgt.ko]
> > undefined!
> > *** Warning:
> > "tgt_target_template_unregister" [/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!
> > *** Warning:
> > "tgt_session_destroy" [/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!
> > *** Warning:
> > "tgt_target_template_register" [/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!
> > *** Warning:
> > "tgt_session_create" [/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!
> > CC /user1/software/STGT/trunk/istgt/kernel/istgt.mod.o
> > LD [M] /user1/software/STGT/trunk/istgt/kernel/istgt.ko
> > make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.1830_FC4-i686'
> > make[1]: Leaving directory `/user1/software/STGT/trunk/istgt'
> > make -C usr
> > make[1]: Entering directory `/user1/software/STGT/trunk/usr'
> > cc -O2 -fno-inline -Wall -Wstrict-prototypes -fPIC
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -DNETLINK_TGT=20 -c -o tgtd.o tgtd.c
> >
> > cc -O2 -fno-inline -Wall -Wstrict-prototypes -fPIC
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -DNETLINK_TGT=20 -c -o netlink.o netlink.c
> >
> > cc -O2 -fno-inline -Wall -Wstrict-prototypes -fPIC
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -DNETLINK_TGT=20 -c -o ipc.o ipc.c
> >
> > cc -O2 -fno-inline -Wall -Wstrict-prototypes -fPIC
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -DNETLINK_TGT=20 -c -o dl.o dl.c
> >
> > cc -O2 -fno-inline -Wall -Wstrict-prototypes -fPIC
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -DNETLINK_TGT=20 -c -o mgmt.o mgmt.c
> >
> > cc -O2 -fno-inline -Wall -Wstrict-prototypes -fPIC
> > -I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include
> > -DNETLINK_TGT=20 -c -o target.o target.c
> >
> > In file included
> > from /lib/modules/2.6.15-1.1830_FC4/build/include/linux/fs.h:9,
> > from target.c:24:
> > /lib/modules/2.6.15-1.1830_FC4/build/include/linux/config.h:8:2:
> > error: #error including kernel header in userspace; use the glibc
> > headers instead!
> >
> > make[1]: *** [target.o] Error 1
> > make[1]: Leaving directory `/user1/software/STGT/trunk/usr'
> > make: *** [all] Error 2
> >
> >
> >
>
More information about the stgt
mailing list