[Openswan Users] error compiling source code

Ubi Maior ubi_maior at infinito.it
Wed Nov 25 17:47:54 EST 2009


I looked into the problem.
If I set the variable USE_VENDORID?= to "false" in Makefile.inc I get the
error. If It is set to "true" all goes fine.

Thank You

Reards



	--------- Original Message --------
	Da: ubi_maior at infinito.it
	To: users at openswan.org <users at openswan.org>
	Oggetto: [Openswan Users] error compiling source code
	Data: 25/11/09 22:51
	
	> 
> 
> Hi All,
> I get this error if I &quot;make programs&quot; with source code:
> 
> [omissis]
> cc -g  -DKLIPS -DSCANDIR_HAS_CONST 
> -I/usr/src/openswan-2.6.23/ports/linux/include 
> -I/usr/src/openswan-2.6.23/ports/linux/include 
> -I/usr/src/openswan-2.6.23/ports/linux/include  
> -I/usr/src/openswan-2.6.23/programs/pluto/linux26
> -I/usr/src/openswan-2.6.23/include
-I/usr/src/openswan-2.6.23/lib/libcrypto
> -I/usr/src/openswan-2.6.23/linux/include   -DIPSECPOLICY  -DUSE_KEYRR  
> -DDYNAMICDNS -DNETKEY_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES -DPFKEY
> -DX509_PLUTO -DUSE_TWOFISH -DUSE_BLOWFISH -DUSE_SERPENT -DUSE_SHA2 
-DPLUTO
> -DKLIPS -DHAVE_UDPFROMTO -DPFKEY   -DKLIPS_MAST  
-DBUILDER=&quot;root at green&quot;
> -DDEBUG -DGCC_LINT -DUSE_AES -DUSE_3DES -DIKE_ALG -DKERNEL_ALG
-DAGGRESSIVE
> -DXAUTH -DMODECFG -DMODECFG_DNSWINS  -DNAT_TRAVERSAL
> -DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT      
> -DSHARED_SECRETS_FILE=&quot;/etc/ipsec.secrets&quot;
> -DPOLICYGROUPSDIR=&quot;/etc/ipsec.d/policies&quot;
> -DPERPEERLOGDIR=&quot;/var/log/pluto/peer&quot; -g -Wall -W
-Wmissing-prototypes
> -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-declarations
> -Wwrite-strings -Wstrict-prototypes   -c
> /usr/src/openswan-2.6.23/programs/pluto/plutomain.c
> /usr/src/openswan-2.6.23/programs/pluto/plutomain.c: In function 'main':
> /usr/src/openswan-2.6.23/programs/pluto/plutomain.c:868: error: 'vc'
> undeclared (first use in this function)
> /usr/src/openswan-2.6.23/programs/pluto/plutomain.c:868: error: (Each
> undeclared identifier is reported only once
> /usr/src/openswan-2.6.23/programs/pluto/plutomain.c:868: error: for each
> function it appears in.)
> make[3]: *** [plutomain.o] Error 1
> make[3]: Leaving directory
> `/usr/src/openswan-2.6.23/OBJ.linux.i386/programs/pluto'
> make[2]: *** [programs] Error 1
> make[2]: Leaving directory
> `/usr/src/openswan-2.6.23/OBJ.linux.i386/programs'
> make[1]: *** [programs] Error 1
> make[1]: Leaving directory `/usr/src/openswan-2.6.23/OBJ.linux.i386'
> make: *** [programs] Error 2
> 
> Could you help me telling what is wrong?
> 
> Thank You
> 
> Best Regards
> 
> 
> 
> _______________________________________________
> 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