guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guix building fails with undefined referrences


From: Manolis Ragkousis
Subject: Guix building fails with undefined referrences
Date: Wed, 21 May 2014 22:30:15 +0000

Trying to build guix from master on my 2 boxes, fails with undefined references

/home/manolis/git_repos/guix_upstream/./nix/libutil/gcrypt-hash.hh:35:
undefined reference to `gcry_md_copy'
/home/manolis/git_repos/guix_upstream/./nix/libutil/gcrypt-hash.hh:35:
undefined reference to `gcry_md_copy'
/home/manolis/git_repos/guix_upstream/./nix/libutil/gcrypt-hash.hh:35:
undefined reference to `gcry_md_copy'
libutil.a(libutil_a-gcrypt-hash.o): In function `guix_hash_init':
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:31:
undefined reference to `gcry_md_open'
libutil.a(libutil_a-gcrypt-hash.o): In function `guix_hash_final':
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:46:
undefined reference to `gcry_md_get_algo_dlen'
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:45:
undefined reference to `gcry_md_read'
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:47:
undefined reference to `gcry_md_close'
libutil.a(libutil_a-gcrypt-hash.o): In function `guix_hash_update':
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:38:
undefined reference to `gcry_md_write'

/home/manolis/git_repos/guix_upstream/nix/nix-daemon/guix-daemon.cc:231:
undefined reference to `gcry_check_version'
/home/manolis/git_repos/guix_upstream/nix/nix-daemon/guix-daemon.cc:239:
undefined reference to `gcry_control'
libutil.a(libutil_a-hash.o): In function `guix_hash_context':
/home/manolis/git_repos/guix_upstream/./nix/libutil/gcrypt-hash.hh:35:
undefined reference to `gcry_md_copy'
/home/manolis/git_repos/guix_upstream/./nix/libutil/gcrypt-hash.hh:35:
undefined reference to `gcry_md_copy'
/home/manolis/git_repos/guix_upstream/./nix/libutil/gcrypt-hash.hh:35:
undefined reference to `gcry_md_copy'
libutil.a(libutil_a-gcrypt-hash.o): In function `guix_hash_init':
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:31:
undefined reference to `gcry_md_open'
libutil.a(libutil_a-gcrypt-hash.o): In function `guix_hash_final':
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:46:
undefined reference to `gcry_md_get_algo_dlen'
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:45:
undefined reference to `gcry_md_read'
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:47:
undefined reference to `gcry_md_close'
libutil.a(libutil_a-gcrypt-hash.o): In function `guix_hash_update':
/home/manolis/git_repos/guix_upstream/nix/libutil/gcrypt-hash.cc:38:
undefined reference to `gcry_md_write'

You can see the error part, better in here
http://paste.lisp.org/display/142640/raw

I did `grep ^LIBGCRYPT_LIBS config.log` as Ludo suggested in the irc and got
> LIBGCRYPT_LIBS='-L -lgcrypt'

I am attaching the config.log as well, so you can have a look.

Attachment: config.log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]