From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?55m944GE54aK?= Subject: Building from git fails on linking guix-daemon with undefined reference to argp_parse Date: Sun, 17 Feb 2019 18:45:47 +0000 Message-ID: <61A323FE-0F45-4EE4-8909-C8EEC5EC84D2@sumou.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvRRs-0003nT-9w for help-guix@gnu.org; Sun, 17 Feb 2019 13:45:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvRRr-0006M7-Ie for help-guix@gnu.org; Sun, 17 Feb 2019 13:45:56 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:37368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvRRr-0006Lt-Eh for help-guix@gnu.org; Sun, 17 Feb 2019 13:45:55 -0500 Received: from 37-48-6-189.nat.epc.tmcz.cz ([37.48.6.189] helo=[10.1.10.1]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gvRRq-000200-K6 for help-guix@gnu.org; Sun, 17 Feb 2019 13:45:54 -0500 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi Guix:=20 I'm trying to build guix from git in Termux on Android=2E=20 I've built all the requisites with no problems=2E Guix build fails on link= ing the guix-daemon with:=20 CXXLD guix-daemon /data/data/com=2Etermux/files/usr/bin/aarch64-linux-android-ld: nix/nix-da= emon/guix_daemon-guix-daemon=2Eo: in function `main': /data/data/com=2Etermux/files/home/compile/guix/nix/nix-daemon/guix-daemon= =2Ecc:499: undefined reference to `argp_parse' clang-7: error: linker command failed with exit code 1 (use -v to see invo= cation) make[2]: *** [Makefile:3317: guix-daemon] Error 1 make[2]: Leaving directory '/data/data/com=2Etermux/files/home/compile/gui= x' make[1]: *** [Makefile:4500: all-recursive] Error 1 make[1]: Leaving directory '/data/data/com=2Etermux/files/home/compile/gui= x' make: *** [Makefile:3095: all] Error 2 ~/compile/guix $ I have argp standalone installed, argp=2Eh present =E2=80=94 from what I'v= e seen, this error usually means you need to pass =E2=80=9C-largp=E2=80=9D = to the linker, but I don't know where=2E I've tried setting LDFLAGS and CXX= FLAGS alternatively to '-largp' before running configure =E2=80=94 but it's= not having any effect=2E=20 Any ideas?=20 Many thanks=2E=20 -- =E7=99=BD=E3=81=84=E7=86=8A