Dominik Juszczyk wrote:
Witam
Mam klopot z uruchomieniem ipseca :(
Gdy uzywam sourcow kernela 2.4.22 z debiana to:
troche wiecej szczegolow:
przy warunkach takich:
- zrodla kernela z debiana (2.4.22)
- laty do freeswana z debiana (newest)
dostaje taki efekt podczas make bzImage:
ar rcs zlib.a adler32.o deflate.o infblock.o infcodes.o inffast.o
inflate.o inftrees.o infutil.o trees.o zutil.o match686.o
make[4]: Leaving directory `/usr/src/kernel-source-2.4.22/net/ipsec/zlib'
make[3]: Leaving directory `/usr/src/kernel-source-2.4.22/net/ipsec/zlib'
make all_targets
make[3]: Entering directory `/usr/src/kernel-source-2.4.22/net/ipsec'
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.22/include -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-Ilibfreeswan -Ilibdes -Wall -Wpointer-arith -Wstrict-prototypes
-nostdinc -iwithprefix include -DKBUILD_BASENAME=ipsec_init -c -o
ipsec_init.o ipsec_init.c
In file included from
/usr/src/kernel-source-2.4.22/include/linux/skbuff.h:27,
from
/usr/src/kernel-source-2.4.22/include/linux/netdevice.h:152,
from ipsec_init.c:39:
/usr/src/kernel-source-2.4.22/include/linux/highmem.h: In function
`bh_kmap':
/usr/src/kernel-source-2.4.22/include/linux/highmem.h:20: warning:
pointer of type `void *' used in arithmetic
ipsec_init.c: In function `ipsec_init':
ipsec_init.c:152: too few arguments to function `inet_add_protocol'
ipsec_init.c:156: too few arguments to function `inet_add_protocol'
ipsec_init.c: In function `ipsec_cleanup':
ipsec_init.c:199: too few arguments to function `inet_del_protocol'
ipsec_init.c:204: too few arguments to function `inet_del_protocol'
make[3]: *** [ipsec_init.o] Error 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.22/net/ipsec'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.22/net/ipsec'
make[1]: *** [_subdir_ipsec] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.22/net'
make: *** [_dir_net] Error 2
asgard:/usr/src/kernel-source-2.4.22#
help...
--
Pozdrawiam, Dominik Juszczyk