Re: [Users] REDHAT compil Freeswan

From: Igmar Palsenberg (maillist_at_jdimedia.nl)
Date: Thu Oct 31 2002 - 20:09:38 CET


> 1. Changed top level Makefile and deleted the xcustom bit.
>
> 2. cd to the /usr/src/freeswan directory. make insert, make program
>
> 3. cd to /usr/src/linux
>
> 4. make menuconfig. change the networking options to load ipsec.
>
> 5. make dep clean zImage. The compile fails at the 'make zImage' with
> the following error:
>
> make -C ipsec
> make[2]: Entering directory `/usr/src/linux-2.4.18-17.7.x/net/ipsec'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-17.7.x/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
> -malign-functions=4 -DIPCOMP_PREFIX -I../../include
> -I/usr/src/linux-2.4.18-17.7.x/include -I../../lib/zlib -Wall -Werror
> -Wpointer-arith -Wstrict-prototypes -nostdinc -I
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/include
> -DKBUILD_BASENAME=ipsec_init -c -o ipsec_init.o ipsec_init.c
> cc1: warnings being treated as errors
> In file included from
> /usr/src/linux-2.4.18-17.7.x/include/linux/skbuff.h:27,
> from
> /usr/src/linux-2.4.18-17.7.x/include/linux/netdevice.h:147,
> from ipsec_init.c:39:
> /usr/src/linux-2.4.18-17.7.x/include/linux/highmem.h: In function
> `bh_kmap':
> /usr/src/linux-2.4.18-17.7.x/include/linux/highmem.h:20: warning:
> pointer of type `void *' used in arithmetic

Do you need highmem support ? If not, drop if from the kernel config.

        Igmar

_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.5 : Fri Nov 01 2002 - 05:20:36 CET