[Openswan Users] openswan vs. kernel 2.6.32 - make module fails

Andraz Sraka a at aufbix.org
Tue Jun 15 10:09:43 EDT 2010


ellow,

does anyone have solution for issue that was already reported last year
<http://lists.openswan.org/pipermail/users/2009-December/017978.html>

/usr/src/modules/openswan# make KERNELSRC=/usr/src/linux-headers-2.6.32-22-generic-pae/ module minstall programs install
Building module for a 2.6 kernel
make[1]: Entering directory `/usr/src/modules/openswan'
make[2]: Entering directory `/usr/src/modules/openswan'
make[2]: `/usr/src/modules/openswan/modobj26/Makefile' is up to date.
make[2]: Leaving directory `/usr/src/modules/openswan'
make -C /usr/src/linux-headers-2.6.32-22-generic-pae/  BUILDDIR=/usr/src/modules/openswan/modobj26 SUBDIRS=/usr/src/modules/openswan/modobj26 MODULE_DEF_INCLUDE=/usr/src/modules/openswan/packaging/linus/config-all.h MODULE_DEFCONFIG=/usr/src/modules/openswan/linux/net/ipsec/defconfig  MODULE_EXTRA_INCLUDE= ARCH=i386 modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-22-generic-pae'
  CC [M]  /usr/src/modules/openswan/modobj26/ipsec_init.o
In file included from /usr/src/modules/openswan/modobj26/ipsec_init.c:39:
include/linux/netdevice.h:85: error: expected identifier before numeric constant
make[3]: *** [/usr/src/modules/openswan/modobj26/ipsec_init.o] Error 1
make[2]: *** [_module_/usr/src/modules/openswan/modobj26] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-22-generic-pae'
make[1]: *** [module26] Error 2
make[1]: Leaving directory `/usr/src/modules/openswan'
make: *** [module] Error 2


I'm trying to rebuild KLIPS modules on freshly installed Ubuntu 10.4 LTS server?

Thank you in advance,
 Andraz


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.openswan.org/pipermail/users/attachments/20100615/1716eea8/attachment.bin 


More information about the Users mailing list