[openbeos] Re: Misc. problems building Haiku on Linux (hint ?)
- From: Olivier Cortès <olive@xxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Wed, 16 Nov 2005 10:04:34 +0100
Hi all,
i "plug" myself in the conversation, i'm trying to compile haiku on
linux too (Ubuntu Breezy, using gcc-3.3).
Le mardi 15 novembre 2005 Ã 23:11 +0100, Ingo Weinhold a Ãcrit :
> as it implies, I think, that instead of
> .../parser.cpp/hpp files named parse.h/c are generated.
the parser.cpp/hpp are generated. strangely, if i "jam"
in ./src/tools/rc, it fails :
------8<--------------
C++ ../../../generated/objects/linux/x86/release/tools/rc/compile.o
compile.cpp:36:22: parser.hpp : Aucun fichier ou rÃpertoire de ce type
cc -c "compile.cpp" -O -Wall -Wno-ctor-dtor-privacy
-Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar
-Wno-sign-compare -Wno-unused -include R5Compatibility.h
-D_ZETA_USING_DEPRECATED_API_=1 -include BeOSBuildCompatibility.h -DARCH_x86
-D_NO_INLINE_ASM -D__INTEL__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -I. -I../../../generated/objects/common/tools/rc
-I../../../generated/objects/linux/x86/common/tools/rc
-I../../../generated/objects/haiku/x86/common/tools/rc -I-
-I../../../headers/build -I../../../headers/build/os
-I../../../headers/build/os/app -I../../../headers/build/os/drivers
-I../../../headers/build/os/kernel -I../../../headers/build/os/interface
-I../../../headers/build/os/storage -I../../../headers/build/os/support -o
"../../../generated/objects/linux/x86/release/tools/rc/compile.o" ;
...failed C++ ../../../generated/objects/linux/x86/release/tools/rc/compile.o
...
C++ ../../../generated/objects/linux/x86/release/tools/rc/decompile.o
MkDir1 ../../../generated/objects/linux/x86/common
MkDir1 ../../../generated/objects/linux/x86/common/tools
MkDir1 ../../../generated/objects/linux/x86/common/tools/rc
Lex ../../../generated/objects/linux/x86/common/tools/rc/lexer.cpp
C++ ../../../generated/objects/linux/x86/release/tools/rc/lexer.o
lexer.l:32:22: parser.hpp : Aucun fichier ou rÃpertoire de ce type
lexer.l: Dans function  int yylex() Â:
lexer.l:87: error: `ENUM' undeclared (first use this function)
lexer.l:87: error: (Each undeclared identifier is reported only once for each
function it appears in.)
lexer.l:88: error: `RESOURCE' undeclared (first use this function)
lexer.l:89: error: `ARRAY' undeclared (first use this function)
lexer.l:90: error: `MESSAGE' undeclared (first use this function)
lexer.l:91: error: `ARCHIVE' undeclared (first use this function)
lexer.l:92: error: `RTYPE' undeclared (first use this function)
lexer.l:93: error: `IMPORT' undeclared (first use this function)
lexer.l:95: error: `yylval' undeclared (first use this function)
lexer.l:95: error: `BOOL' undeclared (first use this function)
lexer.l:99: error: `INTEGER' undeclared (first use this function)
lexer.l:112: error: `FLOAT' undeclared (first use this function)
lexer.l:117: error: `TYPECODE' undeclared (first use this function)
lexer.l:128: error: `IDENT' undeclared (first use this function)
lexer.l:138: error: `STRING' undeclared (first use this function)
lexer.l:160: error: `RAW' undeclared (first use this function)
cc -c "../../../generated/objects/linux/x86/common/tools/rc/lexer.cpp"
-O -Wall -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith
-Wcast-align -Wsign-compare -Wno-multichar -Wno-sign-compare -Wno-unused
-include R5Compatibility.h -D_ZETA_USING_DEPRECATED_API_=1 -include
BeOSBuildCompatibility.h -DARCH_x86 -D_NO_INLINE_ASM -D__INTEL__
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I../../../generated/objects/common/tools/rc
-I../../../generated/objects/linux/x86/common/tools/rc
-I../../../generated/objects/haiku/x86/common/tools/rc -I-
-I../../../headers/build -I../../../headers/build/os
-I../../../headers/build/os/app -I../../../headers/build/os/drivers
-I../../../headers/build/os/kernel -I../../../headers/build/os/interface
-I../../../headers/build/os/storage -I../../../headers/build/os/support -o
"../../../generated/objects/linux/x86/release/tools/rc/lexer.o" ;
...failed C++ ../../../generated/objects/linux/x86/release/tools/rc/lexer.o ...
Yacc1 ../../../generated/objects/linux/x86/common/tools/rc/parser.cpp
../../../generated/objects/linux/x86/common/tools/rc/parser.hpp
C++ ../../../generated/objects/linux/x86/release/tools/rc/parser.o
C++ ../../../generated/objects/linux/x86/release/tools/rc/rdef.o
...skipped <build>librdef.a for lack of <build>librdef.a(compile.o)...
...skipped <build>rc for lack of libroot_build.so...
...failed updating 2 target(s)...
...skipped 2 target(s)...
...updated 9 target(s)...
------8<--------------
But if i "jam" one more time in the same dir, it succeeds :
------8<--------------
don't know how to make libroot_build.so
don't know how to make libbe_build.so
...found 178 target(s)...
...updating 4 target(s)...
...can't find 2 target(s)...
...can't make 1 target(s)...
C++ ../../../generated/objects/linux/x86/release/tools/rc/compile.o
Lex ../../../generated/objects/linux/x86/common/tools/rc/lexer.cpp
C++ ../../../generated/objects/linux/x86/release/tools/rc/lexer.o
Archive ../../../generated/objects/linux/x86/release/tools/rc/librdef.a
ar: crÃation de ../../../generated/objects/linux/x86/release/tools/rc/librdef.a
Ranlib ../../../generated/objects/linux/x86/release/tools/rc/librdef.a
...skipped <build>rc for lack of libroot_build.so...
...skipped 1 target(s)...
...updated 4 target(s)...
------8<--------------
Maybe there is something wrong in the order in wich parser and lexer are
compiled ?
regards,
Olivier
- Follow-Ups:
- [openbeos] Re: Misc. problems building Haiku on Linux (hint ?)
- From: Ingo Weinhold
- References:
- [openbeos] Misc. problems building Haiku on Linux
- From: Vegard Wærp
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Ingo Weinhold
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Oliver Tappe
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Vegard Wærp
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Geoff Sallee
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Ingo Weinhold
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Geoff Sallee
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Ingo Weinhold
Other related posts:
- » [openbeos] Re: Misc. problems building Haiku on Linux (hint ?)
- » [openbeos] Re: Misc. problems building Haiku on Linux (hint ?)
- » [openbeos] Re: Misc. problems building Haiku on Linux (hint ?)
- » [openbeos] Re: Misc. problems building Haiku on Linux (hint ?)
- [openbeos] Re: Misc. problems building Haiku on Linux (hint ?)
- From: Ingo Weinhold
- [openbeos] Misc. problems building Haiku on Linux
- From: Vegard Wærp
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Ingo Weinhold
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Oliver Tappe
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Vegard Wærp
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Geoff Sallee
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Ingo Weinhold
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Geoff Sallee
- [openbeos] Re: Misc. problems building Haiku on Linux
- From: Ingo Weinhold