[Stgt-devel] STGT fails compilation against FC Kernel 2.6.15

Rehmann Oliver oliver.rehmann at atosorigin.com
Wed Feb 8 14:28:25 CET 2006


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C62CB3.89F6DF4B
Content-Type: text/plain

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)

BTW, any comments on how close to a production release (replacing IETD) we
are ?

Is there already a project or SF-website for 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 <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




------_=_NextPart_001_01C62CB3.89F6DF4B
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2657.73">
<TITLE>STGT fails compilation against FC Kernel 2.6.15</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Dear Colleagues</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Just tried to compile rev. 284 of STGT =
on my FC4 box but it fails. Just for your information.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(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)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">BTW, any comments on how close to a =
production release (replacing IETD) we are ?<BR>
<BR>
Is there already a project or SF-website for STGT ?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">BTW, thank you for the official =
release of IETD 0.4.13 at SourceForge.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Regards,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Oliver Rehmann</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Manager IT</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Atos Origin Telecom Schweiz AG</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Binzmuehlestr. 95</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">8050 Zurich</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Switzerland</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Phone +41 44 308 9515</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Fax +41 44 308 9599</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">oliver.rehmann at atosorigin.com</FONT>
<BR><A HREF=3D"www.atosorigin.com"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">www.atosorigin.com</FONT></U></A>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</F=
ONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">make -C istgt</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make[1]: Entering directory =
`/user1/software/STGT/trunk/istgt'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make -C usr</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make[2]: Entering directory =
`/user1/software/STGT/trunk/istgt/usr'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">cc -shared -o istgt.so istgt.o conn.o =
param.o iscsid.o session.o target.o chap.o ctldev.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make[2]: Leaving directory =
`/user1/software/STGT/trunk/istgt/usr'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make -C =
/lib/modules/2.6.15-1.1830_FC4/build =
SUBDIRS=3D/user1/software/STGT/trunk/istgt/kernel modules</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make[2]: Entering directory =
`/usr/src/kernels/2.6.15-1.1830_FC4-i686'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  CC [M]  =
/user1/software/STGT/trunk/istgt/kernel/iscsi.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  CC [M]  =
/user1/software/STGT/trunk/istgt/kernel/nthread.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  CC [M]  =
/user1/software/STGT/trunk/istgt/kernel/config.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  CC [M]  =
/user1/software/STGT/trunk/istgt/kernel/digest.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  CC [M]  =
/user1/software/STGT/trunk/istgt/kernel/conn.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  CC [M]  =
/user1/software/STGT/trunk/istgt/kernel/session.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  CC [M]  =
/user1/software/STGT/trunk/istgt/kernel/param.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  LD [M]  =
/user1/software/STGT/trunk/istgt/kernel/istgt.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  Building modules, stage =
2.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  MODPOST</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">*** Warning: =
"tgt_cmd_create" =
[/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">*** Warning: "tgt_msg_send" =
[/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">*** Warning: =
"tgt_target_template_unregister" =
[/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">*** Warning: =
"tgt_session_destroy" =
[/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">*** Warning: =
"tgt_target_template_register" =
[/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">*** Warning: =
"tgt_session_create" =
[/user1/software/STGT/trunk/istgt/kernel/istgt.ko] undefined!</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  =
CC      =
/user1/software/STGT/trunk/istgt/kernel/istgt.mod.o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  LD [M]  =
/user1/software/STGT/trunk/istgt/kernel/istgt.ko</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make[2]: Leaving directory =
`/usr/src/kernels/2.6.15-1.1830_FC4-i686'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make[1]: Leaving directory =
`/user1/software/STGT/trunk/istgt'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make -C usr</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make[1]: Entering directory =
`/user1/software/STGT/trunk/usr'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">cc -O2 -fno-inline -Wall =
-Wstrict-prototypes -fPIC =
-I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include =
-DNETLINK_TGT=3D20   -c -o tgtd.o tgtd.c</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">cc -O2 -fno-inline -Wall =
-Wstrict-prototypes -fPIC =
-I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include =
-DNETLINK_TGT=3D20   -c -o netlink.o netlink.c</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">cc -O2 -fno-inline -Wall =
-Wstrict-prototypes -fPIC =
-I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include =
-DNETLINK_TGT=3D20   -c -o ipc.o ipc.c</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">cc -O2 -fno-inline -Wall =
-Wstrict-prototypes -fPIC =
-I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include =
-DNETLINK_TGT=3D20   -c -o dl.o dl.c</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">cc -O2 -fno-inline -Wall =
-Wstrict-prototypes -fPIC =
-I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include =
-DNETLINK_TGT=3D20   -c -o mgmt.o mgmt.c</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">cc -O2 -fno-inline -Wall =
-Wstrict-prototypes -fPIC =
-I/lib/modules/2.6.15-1.1830_FC4/build/include -I../include =
-DNETLINK_TGT=3D20   -c -o target.o target.c</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">In file included from =
/lib/modules/2.6.15-1.1830_FC4/build/include/linux/fs.h:9,</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">         &nb=
sp;       from target.c:24:</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">/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!</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">make[1]: *** [target.o] Error 1</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make[1]: Leaving directory =
`/user1/software/STGT/trunk/usr'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">make: *** [all] Error 2</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C62CB3.89F6DF4B--



More information about the stgt mailing list