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 file is here: http://pastebin.com/m269215f4

Thanks in advance,

Grégoire







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

Reply via email to