Problem compiling on Sparc/Solaris
Russ Allbery
rra at stanford.edu
Fri Oct 24 19:33:56 UTC 2003
Alex Moen <alexm at ndtel.com> writes:
> Seems to me that bison is not working properly. It is not creating the
> y.tab.c file that the Makefile is trying to move to parsedate.c.
> Anyone know why this would be?
> Attached is the y.output file from "bison-yv parsedate.c" (thank you man
> pages). The y.tab.c file *never* gets created like it is supposed to...
> I am not a c programmer, so I am flying by the seat of my pants here.
I'm pretty mystified:
windlord:~/dvl/inn/lib> rm parsedate.c parsedate.o
windlord:~/dvl/inn/lib> bison --version
bison (GNU Bison) 1.875a
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
windlord:~/dvl/inn/lib> make parsedate.c
Expect 6 shift/reduce conflicts
bison -y parsedate.y
conflicts: 6 shift/reduce
windlord:~/dvl/inn/lib> dir parsedate.*
-rw-r--r-- 1 eagle root 57340 Oct 24 12:32 parsedate.c
-rw-r--r-- 1 eagle root 23008 May 31 12:42 parsedate.y
This is the Bison that comes with Debian. Maybe they fixed something.
You could try modifying Makefile.global to use /usr/ccs/bin/yacc instead
of bison -y and see if that works any better.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list