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

erro na compilação do freeswan e kernel-2.4.22




Estou tentando compilar o freeswan com o kernel 2.4.22 e sempre dá erro ( tanto o kernel do kernel.org quanto
o kernel do deb).
Procurei nas listas daqui e fora e só encontrei este problema no kernel 2.4.20....


# PATCH_THE_KERNEL=YES make-kpkg --config=menuconfig --added-patch= freeswan kernel_image

tanto este comando usando o kernel-source_2.4.22 do pacote .deb quanto o arquivo kernel baixado diretamente do kernel.org

a seguir a mensagem:

make[3]: Leaving directory `/usr/src/kernel-source-2.4.22/net/econet'
/usr/bin/make -C ipsec modules
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=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-source-2.4.22/include/linux/modversions.h -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 ipsec_init.c:28:
ipsec_param.h:64:1: warning: "snprintf" redefined
In file included from /usr/src/kernel-source-2.4.22/include/linux/modversions.h:174,
                 from <command line>:8:
/usr/src/kernel-source-2.4.22/include/linux/modules/ksyms.ver:662:1: warning: this is the location of the previous definition
ipsec_init.c: In function `ipsec_init':
ipsec_init.c:152: error: too few arguments to function `inet_add_protocol_Ra1afccae'
ipsec_init.c:156: error: too few arguments to function `inet_add_protocol_Ra1afccae'
ipsec_init.c: In function `ipsec_cleanup':
ipsec_init.c:199: error: too few arguments to function `inet_del_protocol_R6750577d'
ipsec_init.c:204: error: too few arguments to function `inet_del_protocol_R6750577d'
make[3]: *** [ipsec_init.o] Error 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.22/net/ipsec'
make[2]: *** [_modsubdir_ipsec] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.22/net'
make[1]: *** [_mod_net] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.22'
make: *** [stamp-build] Error 2
eowin:/usr/src/linux#


[]s



Reply to: