Current CVS msi build failure

Mike McCormack mike at codeweavers.com
Tue Mar 16 22:02:24 CST 2004


Hi Ferenc,

Ferenc Wagner wrote:

> bison -p SQL_ -d ../../../src/dlls/msi/sql.y -o sql.tab.c
> ../../../src/dlls/msi/sql.y contains 4 shift/reduce conflicts and 10 reduce/reduce conflicts.
> bison -p SQL_ -d ../../../src/dlls/msi/sql.y -o sql.tab.c
> ../../../src/dlls/msi/sql.y contains 4 shift/reduce conflicts and 10 reduce/reduce conflicts.
> gcc -c -I../../../src/dlls/msi -I. -I../../../src/include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o tokenize.o ../../../src/dlls/msi/tokenize.c
> ../../../src/dlls/msi/tokenize.c:58: `TK_CHAR' undeclared here (not in a function)

> These IDs are really missing from my sql.tab.h.  Any clues?

Which version of bison are you using?  I have 1.35

bash-2.05b$ bison -V
bison (GNU Bison) 1.35

It also looks like you are doing an out of tree build somehow (I 
couldn't even get that to go here).  Do you have two sql.tab.h files 
perhaps? One in the source directory and one in you build directory?

TK_CHAR should be defined in sql.tab.h, which should be generated by 
bison.  Check that there is a TK_CHAR on line 90 of sql.y ... maybe you 
have an out of date version of sql.y?

Mike




More information about the wine-devel mailing list