[Openswan Users] Help KLIPS

Matt Reeve spam at mreeve.com
Thu Jul 27 14:51:50 CEST 2006


Hi Fabio,

this one I have also seen on FC5 - my solution was to add a semi-colon 
to the end of the line previous to the one reported in error, i.e. line 
780. So now programs/pluto/server.c looks like:

q = alloc_thing(struct iface_port, "struct iface_port");
id = alloc_thing(struct iface_dev, "struct iface_dev");

LIST_INSERT_HEAD(&interface_dev, id, id_entry);

q->ip_dev = id;
id->id_rname = clone_str(ifp->name, "real device name");
id->id_vname = clone_str(v->name, "virtual device name");

To be honest it seems as though openswan and FC5 are not mixing that 
well at the moment, for example this compile error does not occur on 
FC4, and as I previously posted I've been unable to get Windows 2000 
road warriors to connect to FC5 (although XP road warriors can). Using 
the same openswan code on FC4 and my Windows 2000 clients are fine.

Matt.

Fabio Bombonati Miguel wrote:
>
> I saw that Mr. Mihajlo Cvetanović had the same problem in the past, 
> but I don’t found any answer for this error.
>
> I had tried to compile KLIP on FC5 ans now I have this message:
>
> cc -I/usr/src/openswan-2.4.5/programs/pluto/linux26 
> -I/usr/src/openswan-2.4.5/include 
> -I/usr/src/openswan-2.4.5/lib/libcrypto 
> -I/usr/src/openswan-2.4.5/linux/include -DPLUTO_SENDS_VENDORID 
> -DUSE_KEYRR -DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES 
> -DX509_VERSION=\"X.509-1.5.4\" -DPLUTO -DKLIPS 
> -DBUILDER=\"root at mihqweb02.rabble.com.br\" -DDEBUG -DGCC_LINT 
> -DUSE_AES -DUSE_3DES -DIKE_ALG -DKERNEL_ALG -DDB_CONTEXT -DAGGRESSIVE 
> -DXAUTH -DMODECFG -DNAT_TRAVERSAL -DVIRTUAL_IP 
> -DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT 
> -DSHARED_SECRETS_FILE=\"/etc/ipsec.secrets\" 
> -DPOLICYGROUPSDIR=\"/etc/ipsec.d/policies\" 
> -DPERPEERLOGDIR=\"/var/log/pluto/peer\" -g -Wall -W 
> -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wcast-qual 
> -Wmissing-declarations -Wwrite-strings -Wstrict-prototypes -g -O3 -c 
> server.c
>
> server.c: In function âprocess_raw_ifacesâ:
>
> server.c:782: error: expected â;â before âqâ
>
> make[2]: *** [server.o] Error 1
>
> make[2]: Leaving directory `/usr/src/openswan-2.4.5/programs/pluto'
>
> make[1]: *** [programs] Error 1
>
> make[1]: Leaving directory `/usr/src/openswan-2.4.5/programs'
>
> make: *** [programs] Error 1
>
> Someone knows what is that?
>
> Thanks.
>
> *Fabio B. Miguel*
>
> *IT Staff*
>
> Office: +55 (11) 3073-0404 #112
>
> USA VoIP: +1 (858) 433-1804
>
> Fax: +55 (11) 3073-0404 #107
>
> Mobile: +55 (11) 9628-3351
>
> IM: fabiomiguel at hotmail.com <mailto:fabiomiguel at hotmail.com>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>   




More information about the Users mailing list