Issue 18936 - parser.cxx parse error in yyparse()
Summary: parser.cxx parse error in yyparse()
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 04:55 UTC by gderber
Modified: 2003-12-22 11:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description gderber 2003-09-02 04:55:47 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 *---
Comment 1 foskey 2003-09-02 09:20:21 UTC
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.
Comment 2 gderber 2003-09-03 04:09:13 UTC
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.
Comment 3 Martin Hollmichel 2003-09-08 13:48:54 UTC
set target.
Comment 4 foskey 2003-10-13 06:58:56 UTC
This is a bison error,  not an OOo error.
Comment 5 utomo99 2003-12-22 05:38:16 UTC
Removing target from invalid Issue, to reduce the statistics. 
Comment 6 foskey 2003-12-22 11:17:28 UTC
verifying for close.
Comment 7 foskey 2003-12-22 11:21:35 UTC
closing