[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re[2]: kernel + moduły ipsec (freeswan)



Thursday, March 18, 2004 (11:26:49 AM) Dominik Juszczyk wpadł(a) na genialną myśl:

>DJ> Dominik Juszczyk wrote:
>> Witam
>> 
>> Mam klopot z uruchomieniem ipseca :(
>> 
>> Gdy uzywam sourcow kernela 2.4.22 z debiana to:
>> 
DJ> troche wiecej szczegolow:
DJ> przy warunkach takich:
DJ> - zrodla kernela z debiana (2.4.22)
DJ> - laty do freeswana z debiana (newest)

DJ> dostaje taki efekt podczas make bzImage:

DJ> ar  rcs zlib.a adler32.o deflate.o infblock.o infcodes.o inffast.o
DJ> inflate.o inftrees.o infutil.o trees.o zutil.o match686.o
DJ> make[4]: Leaving directory
DJ> `/usr/src/kernel-source-2.4.22/net/ipsec/zlib'
DJ> make[3]: Leaving directory
DJ> `/usr/src/kernel-source-2.4.22/net/ipsec/zlib'
DJ> make all_targets
DJ> make[3]: Entering directory
DJ> `/usr/src/kernel-source-2.4.22/net/ipsec'
DJ> gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.22/include -Wall 
DJ> -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2
DJ> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
DJ> -Ilibfreeswan -Ilibdes  -Wall -Wpointer-arith  -Wstrict-prototypes
DJ> -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipsec_init  -c -o
DJ> ipsec_init.o ipsec_init.c
DJ> In file included from 
DJ> /usr/src/kernel-source-2.4.22/include/linux/skbuff.h:27,
DJ>                   from 
DJ> /usr/src/kernel-source-2.4.22/include/linux/netdevice.h:152,
DJ>                   from ipsec_init.c:39:
DJ> /usr/src/kernel-source-2.4.22/include/linux/highmem.h: In function
DJ> `bh_kmap':
DJ> /usr/src/kernel-source-2.4.22/include/linux/highmem.h:20: warning:
DJ> pointer of type `void *' used in arithmetic
DJ> ipsec_init.c: In function `ipsec_init':
DJ> ipsec_init.c:152: too few arguments to function `inet_add_protocol'
DJ> ipsec_init.c:156: too few arguments to function `inet_add_protocol'
DJ> ipsec_init.c: In function `ipsec_cleanup':
DJ> ipsec_init.c:199: too few arguments to function `inet_del_protocol'
DJ> ipsec_init.c:204: too few arguments to function `inet_del_protocol'
DJ> make[3]: *** [ipsec_init.o] Error 1
DJ> make[3]: Leaving directory
DJ> `/usr/src/kernel-source-2.4.22/net/ipsec'
DJ> make[2]: *** [first_rule] Error 2
DJ> make[2]: Leaving directory
DJ> `/usr/src/kernel-source-2.4.22/net/ipsec'
DJ> make[1]: *** [_subdir_ipsec] Error 2
DJ> make[1]: Leaving directory `/usr/src/kernel-source-2.4.22/net'
DJ> make: *** [_dir_net] Error 2
DJ> asgard:/usr/src/kernel-source-2.4.22#

    Ja jakis czas temu kompilowalem 2.4.22 z kernel.org po uprzednim
    spaczowaniu grsecurity (jakims swiezym wtedy). Tylko, ze ipsec
    mialem juz z paczki i polecialo sposobem debianowym prosto z
    debian.org. Probowalem przedtem ze swiezym ipsec, ale
    mialem problem z cryptoapi, a ja juz nie mialem czasu ani ochoty
    drazyc. Poszlo jak napisalem i nie ma zadnych problemow przy
    ladowaniu modulow. Z tego co pamietam, to nawet przed kompilacja
    za wiele w ustawieniach ipsec nie zmienialem.

--
Radosław Maliborski

[ There are people who want a peace on Earth,   
  a piece of Earth or just to piss on Earth... ]




Reply to: