all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

* Re: Building from git fails on linking guix-daemon with undefined reference to argp_parse
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Marusich @ 2019-02-22  4:05 UTC (permalink / raw)
  To: 白い熊; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

Hi,

白い熊 <help-guix_gnu.org@sumou.com> writes:

> I'm trying to build guix from git in Termux on Android. 

Heroic!  I admire your courage, but I have to ask: what is your goal?
It seems like it might be easier to install a pre-built Guix into the
Android system.  Then you could build Guix with Guix, and not worry
about manually figuring out all the dependencies.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.