[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building from git fails on linking guix-daemon with undefined reference
From: |
白い熊 |
Subject: |
Building from git fails on linking guix-daemon with undefined reference to argp_parse |
Date: |
Sun, 17 Feb 2019 18:45:47 +0000 |
Hi Guix:
I'm trying to build guix from git in Termux on Android.
I've built all the requisites with no problems. Guix build fails on linking the
guix-daemon with:
CXXLD guix-daemon
/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld:
nix/nix-daemon/guix_daemon-guix-daemon.o: in function `main':
/data/data/com.termux/files/home/compile/guix/nix/nix-daemon/guix-daemon.cc:499:
undefined reference to `argp_parse'
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [Makefile:3317: guix-daemon] Error 1
make[2]: Leaving directory '/data/data/com.termux/files/home/compile/guix'
make[1]: *** [Makefile:4500: all-recursive] Error 1
make[1]: Leaving directory '/data/data/com.termux/files/home/compile/guix'
make: *** [Makefile:3095: all] Error 2
~/compile/guix $
I have argp standalone installed, argp.h present — from what I've seen, this
error usually means you need to pass “-largp” to the linker, but I don't know
where. I've tried setting LDFLAGS and CXXFLAGS alternatively to '-largp' before
running configure — but it's not having any effect.
Any ideas?
Many thanks.
--
白い熊
- Building from git fails on linking guix-daemon with undefined reference to argp_parse,
白い熊 <=