<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried to use klips as LKM, during compilation i
get trouble:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT face="Courier New">Building module for a
2.6 kernel<BR>make[1]: Entering directory
`/usr/src/openswan-2.4.7rc2'<BR>make[2]: Entering directory
`/usr/src/openswan-2.4.7rc2'<BR>make[2]:
`/usr/src/openswan-2.4.7rc2/modobj26/Makefile' is up to date.<BR>make[2]:
Leaving directory `/usr/src/openswan-2.4.7rc2'<BR>make -C
/usr/src/linux-2.6.13-15<SPAN style="mso-spacerun: yes">
</SPAN>BUILDDIR=/usr/src/openswan-2.4.7rc2/modobj26
SUBDIRS=/usr/src/openswan-2.4.7rc2/modobj26
MODULE_DEF_INCLUDE=/usr/src/openswan-2.4.7rc2/packaging/linus/config-all.h
MODULE_DEFCONFIG=/usr/src/openswan-2.4.7rc2/linux/net/ipsec/defconfig<SPAN
style="mso-spacerun: yes"> </SPAN>MODULE_EXTRA_INCLUDE= ARCH=i386
modules<BR>make[2]: Entering directory `/usr/src/linux-2.6.13-15'<BR><BR><SPAN
style="mso-spacerun: yes"> </SPAN>WARNING: Symbol version dump
/usr/src/linux-2.6.13-15/Module.symvers<BR><SPAN
style="mso-spacerun: yes">
</SPAN>is missing; modules will have no dependencies and
modversions.<BR><BR><SPAN style="mso-spacerun: yes"> </SPAN>CC [M]<SPAN
style="mso-spacerun: yes">
</SPAN>/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.o<BR>In file included from
/usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:39:1:
warning: "SADB_X_NAT_T_NEW_MAPPING" redefined<BR>In file included from
include/net/xfrm.h:11,</FONT><BR></SPAN></P></FONT></DIV>
<DIV><FONT face=Arial
size=2>**********************************************************************************************************************************</FONT></DIV>
<DIV><FONT face=Arial size=2>here beginns the trouble: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face="Courier New"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">In file
included from
/usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:42:
error: redefinition of ‘struct
sadb_msg’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:53: error:
redefinition of ‘struct
sadb_ext’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:58: error:
redefinition of ‘struct
sadb_sa’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:82: error:
redefinition of ‘struct
sadb_lifetime’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:93: error:
redefinition of ‘struct
sadb_address’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:101: error:
redefinition of ‘struct
sadb_key’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:108: error:
redefinition of ‘struct
sadb_ident’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:116: error:
redefinition of ‘struct
sadb_sens’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:127: error:
redefinition of ‘struct
sadb_prop’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:134: error:
redefinition of ‘struct
sadb_comb’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:155: error:
redefinition of ‘struct
sadb_supported’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:161:
error: redefinition of ‘struct
sadb_alg’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:169: error:
redefinition of ‘struct
sadb_spirange’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:177: error:
redefinition of ‘struct
sadb_x_kmprivate’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:190:
error: redefinition of ‘struct
sadb_x_policy’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:218: error:
redefinition of ‘struct
sadb_x_nat_t_type’<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:224:
error: redefinition of ‘struct sadb_x_nat_t_port’<BR>In file included from
/usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:276:1:
warning: "SADB_X_EXT_NAT_T_TYPE" redefined<BR>In file included from
include/net/xfrm.h:11,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/linux/netfilter_ipv4.h:90,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/net/ip.h:34,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:59:<BR>include/linux/pfkeyv2.h:324:1:
warning: this is the location of the previous definition<BR>In file included
from /usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:277:1:
warning: "SADB_X_EXT_NAT_T_SPORT" redefined<BR>In file included from
include/net/xfrm.h:11,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/linux/netfilter_ipv4.h:90,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/net/ip.h:34,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:59:<BR>include/linux/pfkeyv2.h:325:1:
warning: this is the location of the previous definition<BR>In file included
from /usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:278:1:
warning: "SADB_X_EXT_NAT_T_DPORT" redefined<BR>In file included from
include/net/xfrm.h:11,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/linux/netfilter_ipv4.h:90,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/net/ip.h:34,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:59:<BR>include/linux/pfkeyv2.h:326:1:
warning: this is the location of the previous definition<BR>In file included
from /usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:279:1:
warning: "SADB_X_EXT_NAT_T_OA" redefined<BR>In file included from
include/net/xfrm.h:11,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/linux/netfilter_ipv4.h:90,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/net/ip.h:34,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:59:<BR>include/linux/pfkeyv2.h:327:1:
warning: this is the location of the previous definition<BR>In file included
from /usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:280:1:
warning: "SADB_EXT_MAX" redefined<BR>In file included from
include/net/xfrm.h:11,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/linux/netfilter_ipv4.h:90,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/net/ip.h:34,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:59:<BR>include/linux/pfkeyv2.h:328:1:
warning: this is the location of the previous definition<BR>In file included
from /usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:302:1:
warning: "SADB_SATYPE_MAX" redefined<BR>In file included from
include/net/xfrm.h:11,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/linux/netfilter_ipv4.h:90,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/net/ip.h:34,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:59:<BR>include/linux/pfkeyv2.h:268:1:
warning: this is the location of the previous
definition<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:305: error:
syntax error before numeric constant<BR>In file included from
/usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:342:1:
warning: "SADB_EALG_MAX" redefined<BR>In file included from
include/net/xfrm.h:11,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/linux/netfilter_ipv4.h:90,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/net/ip.h:34,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:59:<BR>include/linux/pfkeyv2.h:289:1:
warning: this is the location of the previous definition<BR>In file included
from /usr/src/openswan-2.4.7rc2/linux/include/openswan/ipsec_sa.h:46,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:75:<BR>/usr/src/openswan-2.4.7rc2/linux/include/pfkeyv2.h:367:1:
warning: "SADB_IDENTTYPE_MAX" redefined<BR>In file included from
include/net/xfrm.h:11,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/linux/netfilter_ipv4.h:90,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from include/net/ip.h:34,<BR><SPAN
style="mso-spacerun: yes">
</SPAN>from
/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.c:59:<BR>include/linux/pfkeyv2.h:335:1:
warning: this is the location of the previous definition<BR>make[3]: ***
[/usr/src/openswan-2.4.7rc2/modobj26/ipsec_init.o] Error 1<BR>make[2]: ***
[_module_/usr/src/openswan-2.4.7rc2/modobj26] Error 2<BR>make[2]: Leaving
directory `/usr/src/linux-2.6.13-15'<BR>make[1]: *** [module26] Error
2<BR>make[1]: Leaving directory `/usr/src/openswan-2.4.7rc2'<BR></SPAN>make: ***
[module] Error 2<BR><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office"
/><o:p> </o:p></FONT></FONT></P></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>does someone knows the reason?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Armin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>