[Openswan Users] compile error 2.2.dr1 lex

Ken Bantoft ken at xelerance.com
Fri Jul 9 06:51:38 CEST 2004


Snag 2.0.0dr2 (or CVS) for the fix.  


On Thu, 8 Jul 2004, Dennis Leist wrote:

> Hi all,
> 
> I have the same err as described in 
> http://lists.openswan.org/pipermail/users/2004-June/001254.html.
> The hints weren't that helpful for me. Can anybody give me more input?
> 
> I use gcc ver: gcc-3.3.3-41 on SUSE 9.1 with kernel 2.6.5-7.95-default.
> 
> make[1]: Entering directory 
> `/root/download/openswan-2.2.0dr1/programs/starter'
> 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 -c -o lex.yy.o lex.yy.c
> parser.l: In function `parser_y_error':
> parser.l:58: error: conflicting types for `yytext'
> lex.yy.c:483: error: previous declaration of `yytext'
> lex.yy.c: In function `yylex':
> lex.yy.c:839: warning: label `find_rule' defined but not used
> parser.l: At top level:
> lex.yy.c:1963: warning: `yy_flex_realloc' defined but not used
> lex.yy.c:1936: warning: `yy_flex_strlen' defined but not used
> make[1]: *** [lex.yy.o] Error 1
> make[1]: Leaving directory 
> `/root/download/openswan-2.2.0dr1/programs/starter'
> make: *** [programs] Error 1
> 



More information about the Users mailing list