[Openswan Users] openswan 2.6.14 compile module ???

Walter Willis walterwn at gmail.com
Thu Jul 17 18:21:42 EDT 2008


the kernels 2.6.XX ipsec module into kernel, compile programs and module the
openswan or compile module ??


2008/7/13 Walter Willis <walterwn at gmail.com>:

> 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/20080717/dc05a9ac/attachment.html 


More information about the Users mailing list