help-bison
[Top][All Lists]
Advanced

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

bison compile error


From: Osatchuk, Trevor
Subject: bison compile error
Date: Wed, 11 Dec 2002 18:24:35 -0500

I am trying to make bison 1.75 on a Tru64 4.0d box and I get an error during
the compile.  I have installed flex 2.5.4 and m4 1.4. successfully as well.
I can post the entire output of the compile if it is required:

source='bitsetv-print.c' object='bitsetv-print.o' libtool=no
depfile='.deps/bitsetv-print.Po' tmpdepfile='.deps/bitsetv-print.TPo'c
source='timevar.c' object='timevar.o' libtool=no  depfile='.deps/timevar.Po'
tmpdepfile='.deps/timevar.TPo'  depmode=tru64 /bin/kshc
source='obstack.c' object='obstack.o' libtool=no  depfile='.deps/obstack.Po'
tmpdepfile='.deps/obstack.TPo'  depmode=tru64 /bin/kshc
cc: Error: obstack.c, line 160: In the definition of the function
"_obstack_begin", the promoted type of chunkfun is incompatible w.
     POINTER (*chunkfun) (long);
-----^
cc: Error: obstack.c, line 218: In the definition of the function
"_obstack_begin_1", the promoted type of chunkfun is incompatible.
     POINTER (*chunkfun) (POINTER, long);
-----^
cc: Error: obstack.c, line 219: In the definition of the function
"_obstack_begin_1", parameter 1 has a different type than specifi.
     void (*freefun) (POINTER, POINTER);
----------^
cc: Error: obstack.c, line 219: In the definition of the function
"_obstack_begin_1", the promoted type of freefun is incompatible .
     void (*freefun) (POINTER, POINTER);
----------^
cc: Error: obstack.c, line 224: In the definition of the function
"_obstack_begin_1", the promoted type of arg is incompatible with.
     POINTER arg;
-----^
cc: Error: obstack.c, line 385: In the definition of the function
"_obstack_free", the promoted type of obj is incompatible with th.
     POINTER obj;
-----^
cc: Error: obstack.c, line 419: In the definition of the function
"obstack_free", the promoted type of obj is incompatible with the.
     POINTER obj;
-----^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

I don't have much experience troubleshooting makefiles.  Is there a way to
fix this?

Trevor Osatchuk
Process Control Technician
Lehigh Inand Cement Limited
12640 - 156 Street, Edmonton, AB T5L 4P8
Phone: (780) 420-2569
Fax: (780) 420-2528

<<application/ms-tnef>>


reply via email to

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