Re: make error

 new new list compose Reply to this message Top page
Attachments:
+ (text/plain)
+ (text/html)

Delete this message
Author: Kaz Kylheku
Date:  
To: Phil Dobbin
CC: txr-users
Subject: Re: make error

Hi Phil,

Recent releases of TXR require GNU Flex, for its support for reentrant lexers, which work hand-in-hand with reentrant parsers generated by GNU Bison or newer releases Berkeley Yacc.

I build TXR on Ubuntu 12, where I have Flex installed, and the lex command is the same program:

  $ flex --version
  flex 2.5.35
  $ lex --version
  lex 2.5.35

What are these on your Ubuntu 14 system?

On 12.04.2015 17:31, Phil Dobbin wrote:

Hi all.

I've just found txr & am really interested in using it.

However, when I run make I get:

'make
CC txr.c -> opt/txr.o
LEX parser.l -> lex.yy.c
"parser.l", line 167: unrecognised %option: reentrant
make: *** [lex.yy.c] Error 1'

Can anybody help me out? I'm on Ubuntu 14.04 with a full tool set.

Thanks,

Cheers,

   Phil...



 

--

Memorize Japanese Characters with Tankan.