[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bison/flex yywrap error during configure test
From: |
Daniel J Sebald |
Subject: |
Bison/flex yywrap error during configure test |
Date: |
Tue, 09 Sep 2014 00:34:13 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
Oh yeah, I also wanted to point out that although I have the most recent
Bison and flex I'm still seeing an error in the test during
configuration. From the file config.log:
configure:7824: checking lex library
configure:7838: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccmYrPKQ.o: In function `input':
/usr/local/src/octave/octave-background_command/build3/lex.yy.c:1172:
undefined reference to `yywrap'
/tmp/ccmYrPKQ.o: In function `yylex':
/usr/local/src/octave/octave-background_command/build3/lex.yy.c:870:
undefined reference to `yywrap'
/tmp/ccmYrPKQ.o: In function `main':
/usr/local/src/octave/octave-background_command/build3/conftest.l:17:
undefined reference to `yywrap'
collect2: ld returned 1 exit status
configure:7838: $? = 1
configure: failed program was:
| /* confdefs.h */
Is there a way to make this test pass by using one of the alternatives here:
http://stackoverflow.com/questions/1811125/undefined-reference-to-yywrap
i.e., the "%option noyywrap" or linking using the default yywrap()
function? The latter seems a little easier to do in the 'configure'
scripts.
Dan
- Bison/flex yywrap error during configure test,
Daniel J Sebald <=