[Openswan Users] HOw to install openswan 2.6.14 in centos 5????
Walter Willis
walterwn at gmail.com
Sun Jul 13 18:19:30 EDT 2008
HOw to install openswan 2.6.14 in centos 5????
i am download openswan-2.6.14 and compile:
make programs
make install
it OK !!!
but install module and not complie:
export KERNELSRC=/usr/src/kernels/2.6.18-92.1.6.el5-i686
make module
but no compile error :
CC [M] /usr/src/openswan-2.6.14/modobj26/ipsec_init.o
In file included from include/linux/if_ether.h:111,
from include/linux/netdevice.h:29,
from /usr/src/openswan-2.6.14/modobj26/ipsec_init.c:39:
include/linux/skbuff.h:416: error: expected identifier or â(â before âconstâ
include/linux/skbuff.h:416: error: expected â)â before â->â token
include/linux/skbuff.h:834: error: expected identifier or â(â before âconstâ
include/linux/skbuff.h:834: error: expected â)â before â->â token
include/linux/skbuff.h:989: error: expected identifier or â(â before âconstâ
include/linux/skbuff.h:989: error: expected â)â before â->â token
include/linux/skbuff.h:999: error: expected identifier or â(â before
âstructâ
include/linux/skbuff.h:999: error: expected â)â before â->â token
include/linux/skbuff.h:1010: error: expected identifier or â(â before
âconstâ
include/linux/skbuff.h:1010: error: expected â)â before â->â token
include/linux/skbuff.h:1020: error: expected identifier or â(â before
âstructâ
include/linux/skbuff.h:1020: error: expected â)â before â->â token
include/linux/skbuff.h:1035: error: expected identifier or â(â before
âconstâ
include/linux/skbuff.h:1035: error: expected â)â before â->â token
include/linux/skbuff.h:1050: error: expected identifier or â(â before
âstructâ
include/linux/skbuff.h:1050: error: expected â)â before â->â token
In file included from /usr/src/openswan-2.6.14/modobj26/ipsec_init.c:41:
include/linux/ip.h:108: error: expected identifier or â(â before âconstâ
include/linux/ip.h:108: error: expected â)â before â->â token
In file included from include/linux/ipv6.h:190,
from include/net/protocol.h:29,
from /usr/src/openswan-2.6.14/modobj26/ipsec_init.c:45:
include/linux/tcp.h:168: error: expected identifier or â(â before âconstâ
include/linux/tcp.h:168: error: expected â)â before â->â token
In file included from include/linux/ipv6.h:191,
from include/net/protocol.h:29,
from /usr/src/openswan-2.6.14/modobj26/ipsec_init.c:45:
include/linux/udp.h:32: error: expected identifier or â(â before âconstâ
include/linux/udp.h:32: error: expected â)â before â->â token
make[3]: *** [/usr/src/openswan-2.6.14/modobj26/ipsec_init.o] Error 1
make[2]: *** [_module_/usr/src/openswan-2.6.14/modobj26] Error 2
make[2]: se sale del directorio `/usr/src/kernels/2.6.18-92.1.6.el5-i686'
make[1]: *** [module26] Error 2
make[1]: se sale del directorio `/usr/src/openswan-2.6.14'
make: *** [module] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20080713/6f4d0a28/attachment.html
More information about the Users
mailing list