Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build with old GNU Make (3.79.1) causes error #318

Open
jg1uaa opened this issue Aug 14, 2024 · 1 comment
Open

build with old GNU Make (3.79.1) causes error #318

jg1uaa opened this issue Aug 14, 2024 · 1 comment

Comments

@jg1uaa
Copy link

jg1uaa commented Aug 14, 2024

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
@mkj
Copy link
Owner

mkj commented Aug 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants