[Openswan Users] Module installation issue
Stasek Killov
linuxoid at list.ru
Sun May 4 14:33:34 EDT 2008
Dear Sirs,
I have faced the problem during installation openswan modules:
System is:
# uname -a
Linux mobile 2.6.24-1-amd64 #1 SMP Thu Mar 27 16:52:38 UTC 2008 x86_64 GNU/Linux
Installing log:
# make KERNELSRC=/usr/src/linux-headers-2.6.24-1-amd64/ 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'
mkdir -p /usr/src/modules/openswan/modobj26
echo ln -s -f /usr/src/modules/openswan/linux/net/ipsec/des/*.S /usr/src/modules/openswan/modobj26
ln -s -f /usr/src/modules/openswan/linux/net/ipsec/des/dx86unix.S /usr/src/modules/openswan/modobj26
(rm -f /usr/src/modules/openswan/modobj26/des; mkdir -p /usr/src/modules/openswan/modobj26/des && cd /usr/src/modules/openswan/modobj26/des && ln -s -f /usr/src/modules/openswan/linux/net/ipsec/des/* . && ln -s -f Makefile.fs2_6 Makefile)
(rm -f /usr/src/modules/openswan/modobj26/aes; mkdir -p /usr/src/modules/openswan/modobj26/aes && cd /usr/src/modules/openswan/modobj26/aes && ln -s -f /usr/src/modules/openswan/linux/net/ipsec/aes/* . && ln -s -f Makefile.fs2_6 Makefile)
mkdir -p /usr/src/modules/openswan/modobj26/aes
cp /usr/src/modules/openswan/packaging/makefiles/module26.make /usr/src/modules/openswan/modobj26/Makefile
echo "# " >> /usr/src/modules/openswan/modobj26/Makefile
echo "# Local Variables: " >> /usr/src/modules/openswan/modobj26/Makefile
echo "# compile-command: \"make -C /usr/src/modules/openswan ARCH=x86_64 KERNELSRC=/usr/src/linux-headers-2.6.24-1-amd64/ MOD26BUILDDIR=/usr/src/modules/openswan/modobj26 module26\"" >> /usr/src/modules/openswan/modobj26/Makefile
echo "# End: " >> /usr/src/modules/openswan/modobj26/Makefile
ln -s -f /usr/src/modules/openswan/linux/net/ipsec/match*.S /usr/src/modules/openswan/modobj26
make[2]: Leaving directory `/usr/src/modules/openswan'
make -C /usr/src/linux-headers-2.6.24-1-amd64/ 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=x86_64 modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-1-amd64'
ln -s -f /usr/src/modules/openswan/linux/net/ipsec/ipsec_init.c /usr/src/modules/openswan/modobj26/ipsec_init.c
CC [M] /usr/src/modules/openswan/modobj26/ipsec_init.o
ln -s -f /usr/src/modules/openswan/linux/net/ipsec/ipsec_sa.c /usr/src/modules/openswan/modobj26/ipsec_sa.c
CC [M] /usr/src/modules/openswan/modobj26/ipsec_sa.o
ln -s -f /usr/src/modules/openswan/linux/net/ipsec/ipsec_radij.c /usr/src/modules/openswan/modobj26/ipsec_radij.c
CC [M] /usr/src/modules/openswan/modobj26/ipsec_radij.o
ln -s -f /usr/src/modules/openswan/linux/net/ipsec/radij.c /usr/src/modules/openswan/modobj26/radij.c
CC [M] /usr/src/modules/openswan/modobj26/radij.o
ln -s -f /usr/src/modules/openswan/linux/net/ipsec/ipsec_life.c /usr/src/modules/openswan/modobj26/ipsec_life.c
CC [M] /usr/src/modules/openswan/modobj26/ipsec_life.o
ln -s -f /usr/src/modules/openswan/linux/net/ipsec/ipsec_proc.c /usr/src/modules/openswan/modobj26/ipsec_proc.c
CC [M] /usr/src/modules/openswan/modobj26/ipsec_proc.o
/usr/src/modules/openswan/modobj26/ipsec_proc.c: In function ‘ipsec_tncfg_get_info’:
/usr/src/modules/openswan/modobj26/ipsec_proc.c:532: warning: passing argument 1 of ‘__dev_get_by_name’ from incompatible pointer type
/usr/src/modules/openswan/modobj26/ipsec_proc.c:532: error: too few arguments to function ‘__dev_get_by_name’
/usr/src/modules/openswan/modobj26/ipsec_proc.c: In function ‘ipsec_proc_init’:
/usr/src/modules/openswan/modobj26/ipsec_proc.c:921: error: ‘proc_net’ undeclared (first use in this function)
/usr/src/modules/openswan/modobj26/ipsec_proc.c:921: error: (Each undeclared identifier is reported only once
/usr/src/modules/openswan/modobj26/ipsec_proc.c:921: error: for each function it appears in.)
/usr/src/modules/openswan/modobj26/ipsec_proc.c: In function ‘ipsec_proc_cleanup’:
/usr/src/modules/openswan/modobj26/ipsec_proc.c:1016: error: ‘proc_net’ undeclared (first use in this function)
make[3]: *** [/usr/src/modules/openswan/modobj26/ipsec_proc.o] Error 1
make[2]: *** [_module_/usr/src/modules/openswan/modobj26] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-1-amd64'
make[1]: *** [module26] Error 2
make[1]: Leaving directory `/usr/src/modules/openswan'
make: *** [module] Error 2
Openswan version is:
# dpkg -l openswan*
||/ Name Version Description
+++-=================================-=================================-==================================================================================
ii openswan 1:2.4.8-dfsg-1+b1 IPSEC utilities for Openswan
ii openswan-modules-source 1:2.4.12+dfsg-1 IPSEC kernel modules source for Openswan
Please help determinate and solve this issue!
From Russia with love,
Stas.
More information about the Users
mailing list