[haiku-development] Re: Error while compiling the haiku code
- From: Suhel Mehta <mehtasuhel@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Thu, 8 Oct 2020 01:31:50 +0530
On Tue, Oct 6, 2020 at 7:49 PM Alexander G. M. Smith <agmsmith@xxxxxx> wrote:
<snip>
I tried compiling Haiku 64 bit here. After doing a "git pull --rebase"
to update my buildtools and haiku repository copies, I had to recompile
Jam manually on my Linux Fedora 31 x86_64 system (see buildtools/jam)
since it has been updated recently in buildtools (but the version number
wasn't bumped, there's just a new -c JSON command).
Anyway, I was able to start with an empty "generated" directory (same
level as the haiku and buildtools directory, not inside "haiku" to avoid
searching through it when I want to search all Haiku source files). The
./configure command has changed. See
https://www.haiku-os.org/guides/building/compiling-x86_64
../haiku/configure --include-3rdparty --use-gcc-pipe -j3
--cross-tools-source ../buildtools/ --build-cross-tools x86_64
Then did a "jam -q -da -j3 @nightly-anyboot" which worked successfully
after 20 minutes. Boots fine in VirtualBox.
I have tried compiling in an exact way that you have described and the
configure command was completed successfully but the last few lines
were
<q>
make[8]: Leaving directory
'/home/chintu/Documents/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/32/libstdc++-v3'
make[7]: Leaving directory
'/home/chintu/Documents/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/32/libstdc++-v3'
make[6]: Leaving directory
'/home/chintu/Documents/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/32/libstdc++-v3'
make[5]: Leaving directory
'/home/chintu/Documents/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/libstdc++-v3'
make[4]: Leaving directory
'/home/chintu/Documents/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/libstdc++-v3'
make[3]: Leaving directory
'/home/chintu/Documents/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/libstdc++-v3'
make[2]: Leaving directory
'/home/chintu/Documents/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/libstdc++-v3'
make[1]: Leaving directory
'/home/chintu/Documents/generated.x86_64/cross-tools-x86_64-build/gcc'
binutils and gcc for cross compilation have been built successfully!
Configured successfully!
</q>
Then I tried jam command to compile nightly-anyboot but it failed with
the previous error. Then I followed the steps told by @Kacper Kasper
and iso file was made successfully. :)
Thank you, everyone :)
--
Suhel Mehta
https://github.com/SuhelMehta9
Other related posts: