* Building from git fails on linking guix-daemon with undefined reference to argp_parse
@ 2019-02-17 18:45 白い熊
2019-02-22 4:05 ` Chris Marusich
0 siblings, 1 reply; 2+ messages in thread
From: 白い熊 @ 2019-02-17 18:45 UTC (permalink / raw)
To: help-guix
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.
--
白い熊
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-22 4:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-17 18:45 Building from git fails on linking guix-daemon with undefined reference to argp_parse 白い熊
2019-02-22 4:05 ` Chris Marusich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).