Apache OpenOffice (AOO) Bugzilla – Issue 18936
parser.cxx parse error in yyparse()
Last modified: 2003-12-22 11:21:35 UTC
I ran into an error compiling, I thought it was bison related, but I tried bison-1.875, bison-1.75 and bison-1.35 none of which worked. All produced the following error message: Making: ../unxlngi4.pro/obj/parser.obj g++ -fmessage-length=0 -c -I. -I. -I../inc -I../inc -I../unx/inc -I../unxlngi4.pro/inc -I. -I/usr/src/oo_1.1rc3_src/solver/645/unxlngi4.pro/inc/stl -I/usr/src/oo_1.1rc3_src/solver/645/unxlngi4.pro/inc/external -I/usr/src/oo_1.1rc3_src/solver/645/unxlngi4.pro/inc -I/usr/src/oo_1.1rc3_src/solenv/unxlngi4/inc -I/usr/src/oo_1.1rc3_src/solenv/inc -I/usr/src/oo_1.1rc3_src/res -I/usr/src/oo_1.1rc3_src/solver/645/unxlngi4.pro/inc/stl -I/usr/src/oo_1.1rc3_src/solenv/inc/Xp31 -I/usr/java/j2sdk/include -I/usr/java/j2sdk/include/linux -I/usr/java/j2sdk/include/native_threads/include -I/usr/X11R6/include -I. -I../res -I. -O1 -pipe -mcpu=pentiumpro -fno-for-scope -fpermissive -fno-rtti -include preinclude.h -fexceptions -fno-enforce-eh-specs -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DBUILD=8669 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX645 -DMULTITHREAD -DMULTITHREAD -o ../unxlngi4.pro/obj/parser.o ../unxlngi4.pro/misc/parser.cxx ../unxlngi4.pro/misc/parser.cxx: In function `int yyparse()': ../unxlngi4.pro/misc/parser.cxx:4740: error: parse error before `goto' dmake: Error code 1, while making '../unxlngi4.pro/obj/parser.obj' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /usr/src/oo_1.1rc3_src/idlc/source dmake: Error code 1, while making 'build_all' ---* TG_SLO.MK *---
I use bison 1.875a this works correctly. I use debian unstable so it upgrading it for me, however I found this on the ftp://alpha.gnu.org site. Apparently there is a 1.875c version on the internet take a look at the dev mailing list archive for more information. Please post to issue whether this suceeds or not.
Okay, 11 hrs into the compile, I usually hit that error about 5hrs, I think that resolved the issue. I'll remember to look at the dev mailing list in the future. I would like to point out though, I use the Source Mage distrobution, which reverted from 1.875a to 1.875 because of the situation with the gnu server being cracked. The GNU people have not verified the 1.875a package as being clean, which played a role in our reversion. 1.875 has been verified. The only files on the ftp://alpha.gnu.org/gnu/bison/ site are the 1.50 and the 1.875 release. 1.875a is not available.
set target.
This is a bison error, not an OOo error.
Removing target from invalid Issue, to reduce the statistics.
verifying for close.
closing