dropbear icon indicating copy to clipboard operation
dropbear copied to clipboard

build with old GNU Make (3.79.1) causes error

Open jg1uaa opened this issue 1 year ago • 1 comments

Dropbear is good server software for old Linux distro which cannot talk with modern SSH client. Recently I found dropbear-2024.84 and 2024.85 could not build on Vine Linux 2.5 (GNU Make 3.79.1) like this.

ranlib libtommath.a
make[1]: Leaving directory `/home/uaa/dropbear-2024.84/libtommath'
make: *** No rule to make target `obj/dbutil.o', needed by `dropbear'.  Stop.
[uaa@localhost dropbear-2024.84]$

libtommath.a has built successfully, but error for obj/dbutil.o prevents building. I think old GNU Make cannot handle this.

$(OBJ_DIR)/%.o: $(srcdir)/%.c $(HEADERS) | $(OBJ_DIR)
        $(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@ -c

jg1uaa avatar Aug 14 '24 14:08 jg1uaa

The | "order-only prerequisite" doesn't seem to be a new GNU make addition, so I'm not sure why it would fail.

mkj avatar Aug 27 '24 05:08 mkj