[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem Running bison on LINUX

From: Amit Tipnis
Subject: Problem Running bison on LINUX
Date: Thu, 13 Aug 2009 06:18:28 -0400


We have our application server running on SOLARIS and the installed
version of bison works perfectly fine. As a part of infrastructure
change, we are migrating to linux and when I try to run bison in the
same sub-directory, I get some weird errors (PATH prepending), which I
think should not have come. I don't know much about  bison, can anyone
throw some light on the errors below please?


/usr/bin/bison -y --d
--skeleton=/home/gptsdev/bison-1.29.i386/share/bison/bison.simple bc.y
&& mv y.tab.c bc.c
bc.y:58.26: warning: stray `,' treated as white space
bc.y:58.32: warning: stray `,' treated as white space
bc.y:58.38: warning: stray `,' treated as white space
bc.y:58.48: warning: stray `,' treated as white space
bc.y:58.55: warning: stray `,' treated as white space
conflicts: 1 shift/reduce
No such file or directory

******** Why is the path /usr/share/bison being preprended to my
skeleton file?
NONE:0: error: m4_divert_pop(0): diversion mismatch:
/usr/share/bison/c.m4:1: m4_divert: -1
stdin:1553: m4_divert_push: 0
stdin:1: m4_divert_push: KILL
NONE:0: the top level
/usr/bin/bison: subsidiary program `/usr/bin/m4' failed (exit status 1)
make: *** [bc.c] Error 1

Please let me know what / how can I resolve this. Thanks -Amit

My host details are:

*uname -a*
Linux nypumalxprd04 2.6.9-78.0.13.ELsmp #1 SMP Wed Jan 7 17:45:52 EST
2009 x86_64 x86_64 x86_64 GNU/Linux

*bison -V*
bison (GNU Bison) 1.875c
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


This e-mail may contain information that is confidential, privileged or
otherwise protected from disclosure. If you are not an intended recipient of
this e-mail, do not duplicate or redistribute it by any means. Please delete
it and any attachments and notify the sender that you have received it in
error. Unless specifically indicated, this e-mail is not an offer to buy or
sell or a solicitation to buy or sell any securities, investment products or
other financial product or service, an official confirmation of any
transaction, or an official statement of Barclays. Any views or opinions
presented are solely those of the author and do not necessarily represent
those of Barclays. This e-mail is subject to terms available at the
following link: www.barcap.com/emaildisclaimer. By messaging with Barclays
you consent to the foregoing.  Barclays Capital is the investment banking
division of Barclays Bank PLC, a company registered in England (number
1026167) with its registered office at 1 Churchill Place, London, E14 5HP.
 This email may relate to or be sent from other members of the Barclays

reply via email to

[Prev in Thread] Current Thread [Next in Thread]