[haiku-development] Re: Error while compiling the haiku code

  • From: Suhel Mehta <mehtasuhel@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 5 Oct 2020 23:36:28 +0530

On Tue, Sep 22, 2020 at 7:45 PM Alexander G. M. Smith <agmsmith@xxxxxx> wrote:


Suhel Mehta wrote on Tue, 22 Sep 2020 00:10:23 +0530:
 > Archive
objects/linux/x86_64/release/build/libroot/libroot_build_function_remapper.a
 > ar: invalid option -- 'j'

I wonder if that is related to the recent changes to separate the
archiver (ar) program's flags into a separate variable.  And somehow a
"-j" snuck in.  See btrev43163 and hrev54571.  In other words, you may
have to update your build tools directory.  Not sure if you also need to
do the ./configure again.

Or maybe use the jam command without the -j option as a work around?

https://git.haiku-os.org/buildtools/commit/?h=btrev43163&id=51dc302367154c517724d78f03d61abbe7802a1d

https://git.haiku-os.org/haiku/commit/?h=hrev54571&id=df63c15b9b239fd5f61baacffdb2fc979ef76623

Sorry for the late reply but I was busy in some placement work at college.

I have cloned the latest buildtools and also cloned Haiku again but
still, there is a problem. I have also tried to compile without the -j
option but then it shows some different error.

Error with -j command is
https://pastebin.pl/view/9d064d8e

Error without -j command is
https://pastebin.pl/view/26b31bca

-- 
Suhel Mehta
https://github.com/SuhelMehta9

Other related posts: