On 2020-10-30, Christian Groessler <chris@groessler.org> wrote:
> I want to build "screen" from ports (/usr/ports/misc/screen).
>
> I'm getting an error because of undefined '__sync_val_compare_and_swap_4':
>
>
> libtool: link: ar cru .libs/libgettextsrc.a libgettextsrc_la-message.o
Since binary packages are no longer built for hppa, the ports tree is
in poor shape there.
This occurs while building gettext which is on the path to building
gmake which is now used by screen.
The usual route to fixing this sort of problem is to use the newer
version of gcc that is in the ports tree and has better support for
atomic operations, but *that* also depends on gmake->gettext, so
you are stuck getting that built.
Suggestions:
- If you just need some kind of terminal multiplexer then tmux (which is
in base) will save a lot of trouble, with a bit of config adjustment you
can have it working with the same keyboard commands as screen.
- If that won't do then I would suggest trying to build the old version
of screen from 6.5-stable ("cvs up -r OPENBSD_6_5" in ports/misc/screen)
which has fewer dependencies (and relevant to this, it still builds with
BSD make) so you're more likely to get it to build.
No comments:
Post a Comment