[openbeos] Re: Misc. problems building Haiku on Linux

On 2005-11-15 at 18:11:21 [+0100], Geoff Sallee wrote:
> Yeah, I found that out through looking through the older messages. So it
> seems to be a problem building the resource parser, as the first error that
> comes up after running 'jam -q haiku-image' is:
> 
> InitScript1 generated/haiku.image-init-vars
> Yacc1 generated/objects/linux/x86/common/tools/rc/parser.cpp
> generated/object/linux/x86/common/tools/rc/parser.hpp
> crc/tools/rc/parser.y:117 parser name defined to default :"parse"
> C++ generated/objects/linux/x86/release/tools/rc/compile.o
> src/tools/rc/compile.cpp:36:22: parser.hpp: No such file or directory
> 
> I'm thinking this might be a result of using the wrong version of
> bison/yacc, so I'll look into that first.

The warning line from bison looks weird:

crc/tools/rc/parser.y:117 parser name defined to default :"parse"

Maybe the path got mangled when you copy'n'pasted the log, but the warning in 
general doesn't sound good, as it implies, I think, that instead of 
.../parser.cpp/hpp files named parse.h/c are generated.

If you run a "jam -n '<build>rc'" jam will only print the command lines it 
would execute. Maybe there's something obvious to be seen...

CU, Ingo

Other related posts: