[haiku-development] Re: Build issues ... again

  • From: Julius Bullinger <julius.bullinger@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 29 Jan 2009 15:10:23 +0100

Michael Lotz schrieb:
On Thu, 29 Jan 2009 09:16:03 +0100, Julius Bullinger wrote
Thank you very much for your information! After the ticket has been fixed, I was able to compile the crosstools. But when trying to build Haiku afterwards, I get the following error:

[haiku@arch generated-gcc4]$ jam -q @disk
[...]
InvokeSubJam1 /home/haiku/generated-gcc2/alternative_system_libs.zip
/home/haiku/generated-gcc2/Jamfile: No such file or directory
don't know how to make <image>alternative_system_libs.zip
...found 1 target(s)...
...can't find 1 target(s)...

cd /home/haiku/generated-gcc2
jam -q '<image>alternative_system_libs.zip' ;

...failed InvokeSubJam1 /home/haiku/generated-gcc2/alternative_system_libs.zip ... ...skipped

It's pretty obvious that the generated-gcc2/Jamfile is missing though ;-)

It seems that you haven't configured your alternative (GCC2) subdir. You need
to set that up as a complete GCC2 environment. You do something like
"../configure --build-cross-tools ../../buildtools" in generated-gcc2 to build
the GCC2 cross-compiler and setup the BuildConfig and Jamfile. Then you can
rerun your command in generated-gcc4.

Regards
Michael

Well, thank you very much. But it seems like I have no luck:


[haiku@arch generated-gcc2]$../trunk/configure --build-cross-tools ../buildtools --use-gcc-pipe
[...]
creating libintl.h
cd /home/haiku/buildtools/legacy/gcc/gcc; bison  -d -o c-parse.c c-parse.y
c-parse.y:1335.19-20: $$ für Regelmitte bei $4 von „structsp“ hat keinen deklarierten Typ c-parse.y:1347.19-20: $$ für Regelmitte bei $4 von „structsp“ hat keinen deklarierten Typ c-parse.y:1358.19-20: $$ für Regelmitte bei $4 von „structsp“ hat keinen deklarierten Typ c-parse.y:1364.19-20: $$ für Regelmitte bei $3 von „structsp“ hat keinen deklarierten Typ
make[1]: *** [/home/haiku/buildtools/legacy/gcc/gcc/c-parse.c] Fehler 1
make[1]: Leaving directory `/home/haiku/generated-gcc2/cross-tools-build/gcc/gcc'
make: *** [cross] Fehler 2
ERROR: Building gcc failed.
[haiku@arch generated-gcc2]$

Regards,
-Julius

Other related posts: