On Tue, 2009-11-24 at 09:32 +0100, Juergen Schmidt wrote:
> Gregoire Gentil wrote:
> > Hello,
> > 
> > I'm trying to cross compile openoffice (sic!) and I'm getting an error:
> > 
> > =============
> > Building module idlc
> > 
> > Entering /ooo-build-3.1.1.1/build/ooo310-m19/idlc/inc
> > 
> > Entering /ooo-build-3.1.1.1/build/ooo310-m19/idlc/source
> > Making:    parser.cxx
> > tr -d "\015" < parser.y > ../unxlngr.pro/misc/stripped_parser.y
> > bison -d -l
> > -o ../unxlngr.pro/misc/parser.cxx ../unxlngr.pro/misc/stripped_parser.y
> > ../unxlngr.pro/misc/stripped_parser.y: conflicts: 5 shift/reduce
> > dmake:  Error code 141, while making '../unxlngr.pro/misc/parser.cxx'
> > 
> > ERROR: Error 65280 occurred while
> > making /ooo-build-3.1.1.1/build/ooo310-m19/idlc/source
> > rmdir /tmp/20239
> > make: *** [stamp/build] Error 1
> > 
> > The problem is that bison in the qemu environment doesn't create
> > parser.cxx. On my host x86 machine, bison -d -l stripped_parser.y gives
> > the same error but the file is created. I have bison 2.4.1 both on host
> > and the qemu chroot. The problem seems to be related to bison but I
> > can't really figured out why the file is not created.
> > 
> > Can anyone shed some light on the conflict error and perhaps fix it in
> > stripped_parser.y so that my "buggy" bison can create the output
> > parser.cxx.
> the shift/reduce problem is there for a long time and normally don't 
> cause any problems. I don't see a chance to fix it in the near future.
That's not very helpful. :-( How can I generate this file even
"manually"? I tried to copy the file generated on the host x86 machine
but it generates some compilation errors inside qemu,

Grégoire




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to