pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ruby-nokogiri build problem: ar doesn't accept file



> When I try building ruby-nokogiri (doesn't matter if Ruby 3.1 or 3.2),
> on NetBSD-10.99.10/amd64, I get:
>
> ar rl libgumbo.a ascii.o  attribute.o  char_ref.o  error.o  foreign_attrs.o  parser.o  string_buffer.o  string_piece.o  svg_attrs.o  svg_tags.o  tag.o  tag_lookup.o  token_buffer.o  tokenizer.o  utf8.o  util.o  vector.o
> ar: ascii.o: file format not recognized
>

The `l' modifier has a different meaning in the newer binutils. I think it
is trying to add a symbol-index with that `l'. Use instead:

	ar rcs libgumbo.a ascii.o attribute.o ...

-RVP



Home | Main Index | Thread Index | Old Index