| John S 2006-07-16, 4:00 am |
| I am trying to build the latest versions of flex++ and bison++ on my
RedHat Fedora Core 3 desktop. I downloaded the latest sources from:
ftp://ftp.tu-darmstadt.de/pub/progr...bison++/LATEST/
With flex++, I build it with 'make first_flex' and then test it with
'make test'. According to the README, this test should show no
differences, but instead I get page after page of output from diff. I
even tried building the first flex++ example in
http://www.mario-konrad.ch/index.php?page=20024 but it fails immediately
with:
"calc.l", line 1: bad character: %
"calc.l", line 1: unknown error processing section 1
"calc.l", line 1: unknown error processing section 1
"calc.l", line 1: unknown error processing section 1
"calc.l", line 2: unrecognized '%' directive
With bison++, during errors I get some alarming warnings such as:
allocate.c:23: warning: conflicting types for built-in function 'calloc'
conflict.c:34:1: warning: "alloca" redefined
In file included from /usr/include/stdlib.h:606,
from system.h:8,
from conflict.c:24:
Has anyone had any success with building under Linux, esp. RH FC?
--john
|