[Openswan dev] Pb of compilation of 2.2.0dr1
Ken Bantoft
ken at xelerance.com
Wed Jun 30 12:26:16 CEST 2004
Fixed in CVS - the simple fix:
edit programs/Makefile, and remove 'starter' from the SUBDIRS += line
On Wed, 30 Jun 2004, Dominique Blas wrote:
>
> Could comeone explain to me why I got this errors (I'm not an expert in bison, lex behaviours) :
>
> cc -DNAT_TRAVERSAL -DVIRTUAL_IP -I../../linux/include -I../../lib -I.. -I../.. -DIPSEC_EXECDIR=\"/usr/local/libexec/ipsec\" -DIPSEC_CONFDDIR=\"/etc/ipsec.d\" -DIPSEC_CONFDIR=\"/etc\" -g -O3 -I../.. -I../../linux/include -I../../include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -DNAT_TRAVERSAL -DKERNEL_ALG -DIKE_ALG -Werror -c -o lex.yy.o lex.yy.c
> parser.l: In fonction « parser_y_error »:
> parser.l:58: error: conflicting types for `yytext'
> lex.yy.c:483: error: previous declaration of `yytext'
> lex.yy.c: In fonction « yylex »:
> lex.yy.c:839: warning: label `find_rule' defined but not used
> parser.l: Hors de toute fonction :
> lex.yy.c:1959: warning: `yy_flex_realloc' defined but not used
> lex.yy.c:1932: warning: `yy_flex_strlen' defined but not used
> make[2]: *** [lex.yy.o] Error 1
> make[2]: Leaving directory `/var/spool/src/openswan-2.2.0dr1/programs/starter'
> make[1]: *** [programs] Error 1
> make[1]: Leaving directory `/var/spool/src/openswan-2.2.0dr1/programs'
> make: *** [programs] Error 1
>
More information about the Dev
mailing list