Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Stefan Pantos <stefan.pantos@ch...> - 2006-07-07 15:09:45
I need to use bison 2.2 or later but I cannot find binary release
of it and cannot get it to compile. I have a clean installation of
MinGW 5.0.3 with the gcc, g77 and make included and MSYS 1.0.11. When
I try to build bison 2.3 and I think 2.2 it cannot find the symbols
fork or port.
gcc -g -O2 -o bison.exe LR0.o assoc.o closure.o complain.o
conflicts.o derives.o files.o getargs.o gram.o lalr.o location.o
main.o muscle_tab.o nullable.o output.o parse-gram.o print.o
print_graph.o reader.o reduce.o relation.o scan-gram-c.o scan-skel-
c.o state.o symlist.o symtab.o tables.o uniqstr.o vcg.o ../lib/
../lib/libbison.a(subpipe.o)(.text+0x29): In function `create_subpipe':
d:/bison-2.3/lib/subpipe.c:116: undefined reference to `pipe'
116: undefined reference to `pipe'
125: undefined reference to `fork'
From: Keith MARSHALL <keith.marshall@to...> - 2006-07-07 15:33:57
Stefan Pantos wrote:
> I need to use bison 2.2 or later but I cannot find binary release
> of it and cannot get it to compile. I have a clean installation of
> MinGW 5.0.3 with the gcc, g77 and make included and MSYS 1.0.11. When
> I try to build bison 2.3 and I think 2.2 it cannot find the symbols
> fork or port [I think you mean `fork or pipe' :)].
Which is correct, if you are trying to build from native GNU tarballs.
Bison is one of those GNU packages which does not come with good support
for Windoze built in; it needs to be patched, to achieve a port.
I would suggest getting a prebuilt binary from the GnuWin32 project, but
their latest release appears to be version 2.1, so may not fit your needs.
Also, I guess that since you need such a recent bison, byacc won't suit
you either, although it may be worth a try.
Sorry to not have better news. If you can't find someone else's port,
it looks like you have your work cut out.