HOw to install openswan 2.6.14 in centos 5????<br><br>i am download openswan-2.6.14 and compile:<br>make programs<br>make install <br>it OK !!!<br>but install module and not complie:<br>export KERNELSRC=/usr/src/kernels/2.6.18-92.1.6.el5-i686<br>
make module <br>but no compile error :<br><br>CC [M] /usr/src/openswan-2.6.14/modobj26/ipsec_init.o<br>In file included from include/linux/if_ether.h:111,<br> from include/linux/netdevice.h:29,<br> from /usr/src/openswan-2.6.14/modobj26/ipsec_init.c:39:<br>
include/linux/skbuff.h:416: error: expected identifier or â(â before âconstâ<br>include/linux/skbuff.h:416: error: expected â)â before â->â token<br>include/linux/skbuff.h:834: error: expected identifier or â(â before âconstâ<br>
include/linux/skbuff.h:834: error: expected â)â before â->â token<br>include/linux/skbuff.h:989: error: expected identifier or â(â before âconstâ<br>include/linux/skbuff.h:989: error: expected â)â before â->â token<br>
include/linux/skbuff.h:999: error: expected identifier or â(â before âstructâ<br>include/linux/skbuff.h:999: error: expected â)â before â->â token<br>include/linux/skbuff.h:1010: error: expected identifier or â(â before âconstâ<br>
include/linux/skbuff.h:1010: error: expected â)â before â->â token<br>include/linux/skbuff.h:1020: error: expected identifier or â(â before âstructâ<br>include/linux/skbuff.h:1020: error: expected â)â before â->â token<br>
include/linux/skbuff.h:1035: error: expected identifier or â(â before âconstâ<br>include/linux/skbuff.h:1035: error: expected â)â before â->â token<br>include/linux/skbuff.h:1050: error: expected identifier or â(â before âstructâ<br>
include/linux/skbuff.h:1050: error: expected â)â before â->â token<br>In file included from /usr/src/openswan-2.6.14/modobj26/ipsec_init.c:41:<br>include/linux/ip.h:108: error: expected identifier or â(â before âconstâ<br>
include/linux/ip.h:108: error: expected â)â before â->â token<br>In file included from include/linux/ipv6.h:190,<br> from include/net/protocol.h:29,<br> from /usr/src/openswan-2.6.14/modobj26/ipsec_init.c:45:<br>
include/linux/tcp.h:168: error: expected identifier or â(â before âconstâ<br>include/linux/tcp.h:168: error: expected â)â before â->â token<br>In file included from include/linux/ipv6.h:191,<br> from include/net/protocol.h:29,<br>
from /usr/src/openswan-2.6.14/modobj26/ipsec_init.c:45:<br>include/linux/udp.h:32: error: expected identifier or â(â before âconstâ<br>include/linux/udp.h:32: error: expected â)â before â->â token<br>make[3]: *** [/usr/src/openswan-2.6.14/modobj26/ipsec_init.o] Error 1<br>
make[2]: *** [_module_/usr/src/openswan-2.6.14/modobj26] Error 2<br>make[2]: se sale del directorio `/usr/src/kernels/2.6.18-92.1.6.el5-i686'<br>make[1]: *** [module26] Error 2<br>make[1]: se sale del directorio `/usr/src/openswan-2.6.14'<br>
make: *** [module] Error 2<br>