[support] having bad character"#,<"(umip compiling)

Sebastien Decugis sdecugis at hongo.wide.ad.jp
Tue Jan 6 16:45:13 JST 2009


Sorry, I have no idea why you get this error. Your flex installation is
probably corrupted. I suggest you try removing and re-installing it. Or
maybe you are using a non-standard flex?


Qinxue Sun a écrit :
> hello,
> I type flex sr/scan.l
> it show : 
> >src/scan.l, line 29: bad character: #
>  >src/scan.l,line 29: unknown error processing section 1
> > src/scan.l,line 29: unknown error processing section 1
> >src/scan.l,line 29: unknown error processing section 1
> > "src/scan.l,", line 30: bad character: #
> > src/scan.l,line 30: unknown error processing section 1
> > "src/scan.l,line 30: bad character: <
> > "src/scan.l,line 30: unknown error processing section 1
> > "src/scan.l,line 30: bad character: .
> > "src/scan.l,line 30: unknown error processing section 1
> > "src/scan.l,line 30: bad character: >
> > "src/scan.l,line 31: bad character: #
> > "src/scan.l,", line 31: unknown error processing section 1
> > "src/scan.l,line 32: bad character: }
> i cann't see the lex.yy.c,where is it?
>  
> Regards
>      snow
> ------------------------------------------------------------------------
> *From:* Sebastien Decugis <sdecugis at hongo.wide.ad.jp>
> *To:* Support ML <support at ml.nautilus6.org>
> *Sent:* Monday, January 5, 2009 2:32:55 PM
> *Subject:* Re: [support] having bad character"#,<"(umip compiling)
>
> Hello,
>
> I can't reproduce this error here (I have the same version of flex).
> What happens when you directly type "flex src/scan.l" ? Do you see a
> lex.yy.c file in your current directory?
>
>
>
> Thank you,
> Sebastien.
>
> Qinxue Sun a écrit :
> > Hi;
> >  I've some errors with the make commandmake  all-recursive,when i
> > Install umip0.4.
> > My environment is as follow:
> >  linux kernel 2.6.23 gcc 3.4.4  flex 2.5.35
> > 
> >  #./configure (success)
> >  #make (faile)
> > 
> >
> > make[1]: Entering directory `/home/mipv6-daemon-umip-0.4'
> > Making all in libmissing
> > make[2]: Entering directory `/home/mipv6-daemon-umip-0.4/libmissing'
> > ...
> > make[2]: Leaving directory `/home/mipv6-daemon-umip-0.4/libnetlink'
> > Making all in src
> > make[2]: Entering directory `/home/mipv6-daemon-umip-0.4/src'
> > sh mk-pmgr_c.sh <http://mk-pmgr_c.sh/>
> > sh mk-pmgr_h.sh <http://mk-pmgr_h.sh/>
> > make  all-am
> > make[3]: Entering directory `/home/mipv6-daemon-umip-0.4/src'
> > ...
> > flex  scan.l
> > "scan.l", line 28: unrecognized '%' directive
> > "scan.l", line 29: bad character: #
> > "scan.l", line 29: unknown error processing section 1
> > "scan.l", line 29: unknown error processing section 1
> > "scan.l", line 29: unknown error processing section 1
> > "scan.l", line 30: bad character: #
> > "scan.l", line 30: unknown error processing section 1
> > "scan.l", line 30: bad character: <
> > "scan.l", line 30: unknown error processing section 1
> > "scan.l", line 30: bad character: .
> > "scan.l", line 30: unknown error processing section 1
> > "scan.l", line 30: bad character: >
> > "scan.l", line 31: bad character: #
> > "scan.l", line 31: unknown error processing section 1
> > "scan.l", line 32: bad character: }
> > "scan.l", line 48: unrecognized %option: yyget
> > "scan.l", line 49: unrecognized %option: yyget
> > "scan.l", line 50: unrecognized %option: yyget
> > "scan.l", line 51: unrecognized %option: yyget
> > "scan.l", line 52: unrecognized %option: yyget
> > "scan.l", line 53: unrecognized %option: yyget
> > make[3]: *** [scan.c] Error 1
> > make[3]: Leaving directory `/home/mipv6-daemon-umip-0.4/src'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/mipv6-daemon-umip-0.4/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/mipv6-daemon-umip-0.4'
> > make: *** [all] Error 2
> > 
> > Regards
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Support mailing list
> > Support at ml..nautilus6.org <mailto:Support at ml.nautilus6.org>
> > http://ml.nautilus6.org/mailman/listinfo/support
> > 
> _______________________________________________
> Support mailing list
> Support at ml.nautilus6.org <mailto:Support at ml.nautilus6.org>
> http://ml.nautilus6.org/mailman/listinfo/support
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Support mailing list
> Support at ml.nautilus6.org
> http://ml.nautilus6.org/mailman/listinfo/support
>   



More information about the Support mailing list