[LUGOS] freeswan in kernel 2.2.16

Gregor Malensek gregor.malensek at abakus.si
Wed Jun 18 16:33:39 CEST 2003



-----Original Message-----
From: Nejc Skoberne [mailto:nejc.skoberne at guest.arnes.si]
Sent: Wednesday, June 18, 2003 4:29 PM
To: Gregor Malensek
Subject: Re: [LUGOS] freeswan in kernel 2.2.16


Zdravo.

> 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

> # 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)

> A je možno, da ima to kakšne veze z gcc-jem?

Po mojem zelo mozno. Kaj pa mas to za eno distribucijo? Si poskusil s
Super-FreeSWANom? <http://www.freeswan.ca>. Jaz bi upgradal gcc, ali
pa bi poslal vprasanje na users at lists.freeswan.org.

--
Nejc Skoberne
Grajska 5
SI-5220 Tolmin
E-mail: nejc.skoberne at guest.arnes.si


Mam slackware 7.0 in patch ip_masq_vpn-2.2.15.patch.gz.




More information about the lugos-list mailing list