freeswan in kernel 2.2.16

Gregor Malensek gregor.malensek at abakus.si
Wed Jun 18 16:23:38 CEST 2003


A je komu slučajno uspelo namestiti freeswan-2.00 na kernel 2.2.16? Ko
poženem "make oldmod" (ker bi rad imel ipsec kot modul) se mi zadeva pri
kompajlanju spi.c ustavi.
Izpiše pa tole :
cc -g -O3 -I../../linux/include -g -O3 -Wall -Wpointer-arith -Wcast-qual -Ws
trict-prototypes -Wbad-function-cast  -Werror   -c -o spi.o spi.c
cc1: warnings being treated as errors
/usr/include/bits/string2.h: In function `__strcpy_small':
In file included from /usr/include/string.h:346,
                 from spi.c:27:
/usr/include/bits/string2.h:419: warning: pointer of type `void *' used in
arithmetic
/usr/include/bits/string2.h:427: warning: pointer of type `void *' used in
arithmetic
/usr/include/bits/string2.h:432: warning: pointer of type `void *' used in
arithmetic
/usr/include/bits/string2.h:437: warning: pointer of type `void *' used in
arithmetic
/usr/include/bits/string2.h:439: warning: pointer of type `void *' used in
arithmetic
/usr/include/bits/string2.h:444: warning: pointer of type `void *' used in
arithmetic
spi.c: In function `parse_life_options':
spi.c:142: warning: `life_severity' might be used uninitialized in this
function
spi.c:142: warning: `life_type' might be used uninitialized in this function
spi.c: In function `main':
spi.c:386: warning: pointer of type `void *' used in arithmetic
spi.c:386: warning: pointer of type `void *' used in arithmetic
------------- potem ene 50 x isto vrstico na različnih koncih v
spi.c -----------------------
make[2]: *** [spi.o] Error 1
make[2]: Leaving directory `/usr/src/freeswan-2.00/programs/spi'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/usr/src/freeswan-2.00/programs'
make: *** [programs] Error 1


A je možno, da ima to kakšne veze z gcc-jem?
# gcc -v
# Reading specs from
/usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs
# gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

Za vse predloge se lepo zahvaljujem, saj mi tale zadeva že močno načenja
zdravje :-)




More information about the lugos-list mailing list