我想在我的Windows計算機上安裝flex(詞法分析器,而不是Adobe程序)。我安裝了MSYS。我解壓彎曲,在./configure,但是當我儘量做到,我得到這個錯誤: In file included from ccl.c:34:
flexdef.h:94:19: error: regex.h: No such file or directory
In file included fro
我試圖學習一些flex/bison,並且我正在閱讀John Levine(O'Reilly)的Flex & Bison。還有的是,我需要運行一個例子,但我不能讓它跑,因爲我得到以下錯誤: /tmp/ccKZcRYB.o: In function `yylex':
fb3-1.lex.c:(.text+0x2bd): undefined reference to `yylval'
/tmp/cc