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

  • From: Suhel Mehta <mehtasuhel@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 22 Sep 2020 00:10:23 +0530

On Mon, Sep 21, 2020 at 10:05 PM Preetpal Kaur <preetpalok123@xxxxxxxxx> wrote:


Command: "jam -q -j2 @nightly-raw"

When I try to run this command I get the following error

Starting build of type regular ...
Building Haiku Nightly
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...patience...
...found 99414 target(s)...
...updating 15024 target(s)...
InitScript1 haiku.image-init-vars
Archive 
objects/linux/x86_64/release/build/libroot/libroot_build_function_remapper.a
ar: invalid option -- 'j'
Usage: ar [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV]
[--plugin <name>] [member-name] [count] archive-file file...
       ar -M [<mri-script]
 commands:
  d            - delete file(s) from the archive
  m[ab]        - move file(s) in the archive
  p            - print file(s) found in the archive
  q[f]         - quick append file(s) to the archive
  r[ab][f][u]  - replace existing or insert new file(s) into the archive
  s            - act as ranlib
  t[O][v]      - display contents of the archive
  x[o]         - extract file(s) from the archive
 command specific modifiers:
  [a]          - put file(s) after [member-name]
  [b]          - put file(s) before [member-name] (same as [i])
  [D]          - use zero for timestamps and uids/gids (default)
  [U]          - use actual timestamps and uids/gids
  [N]          - use instance [count] of name
  [f]          - truncate inserted file names
  [P]          - use full path names when matching
  [o]          - preserve original dates
  [O]          - display offsets of files in the archive
  [u]          - only replace files that are newer than current archive contents
 generic modifiers:
  [c]          - do not warn if the library had to be created
  [s]          - create an archive index (cf. ranlib)
  [S]          - do not build a symbol table
  [T]          - make a thin archive
  [v]          - be verbose
  [V]          - display the version number
  @<file>      - read options from <file>
  --target=BFDNAME - specify the target object format as BFDNAME
  --output=DIRNAME - specify the output directory for extraction operations
 optional:
  --plugin <p> - load the specified plugin
 emulation options:
  No emulation specific options
ar: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu
elf32-x86-64 pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little
elf64-big elf32-little elf32-big pe-x86-64 pe-bigobj-x86-64 pe-i386
srec symbolsrec verilog tekhex binary ihex plugin

rm -f 
objects/linux/x86_64/release/build/libroot/libroot_build_function_remapper.a
ar  objects/linux/x86_64/release/build/libroot/libroot_build_function_remapper.a
objects/linux/x86_64/release/build/libroot/function_remapper.o

...failed Archive
objects/linux/x86_64/release/build/libroot/libroot_build_function_remapper.a
...

BUILD FAILURE:
...failed updating 1 target(s)...
...skipped 4 target(s)...
...updated 1 target(s)...


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

Other related posts: