[Openswan Users] Help KLIPS

Fabio Bombonati Miguel fabio.miguel at wisetelecom.com.br
Wed Jul 26 14:46:48 CEST 2006


I installed gcc, but what is this new error?


/usr/src/openswan-2.4.5/programs/pluto/defs.h:91: warning: type defaults to
âintâ in declaration of âMP_INTâ
/usr/src/openswan-2.4.5/programs/pluto/defs.h:91: error: expected â;â, â,â
or â)â before â*â token
make[2]: *** [pfkey_v2_parse.o] Error 1
make[2]: Leaving directory `/usr/src/openswan-2.4.5/lib/libopenswan'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/usr/src/openswan-2.4.5/lib'
make: *** [programs] Error 1



-----Original Message-----
From: Paul Wouters [mailto:paul at xelerance.com] 
Sent: Wednesday, 26 July, 2006 11:27
To: Fabio Bombonati Miguel
Cc: users at openswan.org
Subject: Re: [Openswan Users] Help KLIPS

On Tue, 25 Jul 2006, Fabio Bombonati Miguel wrote:

> [root at mihqweb02 openswan-2.4.5]# make programs
>
> make[1]: Entering directory `/usr/src/openswan-2.4.5/doc'
>
> cp /usr/src/openswan-2.4.5/doc/src/index.html index.html
>
> make[1]: Leaving directory `/usr/src/openswan-2.4.5/doc'
>
> make[1]: Entering directory `/usr/src/openswan-2.4.5/lib'
>
> make[2]: Entering directory `/usr/src/openswan-2.4.5/lib/libopenswan'
>
> cc -I. -I/usr/src/openswan-2.4.5/linux/net/ipsec
> -I/usr/src/openswan-2.4.5/linux/include -I/usr/src/openswan-2.4.5 -DDEBUG
> -DWITH_UDPFROMTO -DHAVE_IP_PKTINFO -I/usr/src/openswan-2.4.5/include -g
-O3
> -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast
> -DX509_VERSION=\"X.509-1.5.4\" -DNAT_TRAVERSAL   -c -o addrtoa.o
> /usr/src/openswan-2.4.5/linux/net/ipsec/addrtoa.c
>
> make[2]: cc: Command not found

You don't have a c compiler installed. Install the neccessary gcc packages
on your
system, or install the binary package of openswan for your linux system.

Paul



More information about the Users mailing list