Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

Git Compile Error

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


kevhilton at gmail

Mar 6, 2011, 6:46 PM

Post #1 of 3 (350 views)
Permalink
Git Compile Error

Not that I'm helping to much, however this is what I'm getting pulling the
latest git developmental branch when trying to build:

ecdh.c: In function `pk_ecdh_encrypt_with_shared_point':
ecdh.c:255: error: `GCRY_CIPHER_MODE_AESWRAP' undeclared (first use in this
func
tion)
ecdh.c:255: error: (Each undeclared identifier is reported only once
ecdh.c:255: error: for each function it appears in.)
make[2]: *** [ecdh.o] Error 1
make[2]: Leaving directory `/home/admin/src/gnupg/g10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/admin/src/gnupg'
make: *** [all] Error 2


kgo at grant-olson

Mar 6, 2011, 10:32 PM

Post #2 of 3 (328 views)
Permalink
Re: Git Compile Error [In reply to]

On 03/06/2011 09:46 PM, Kevin Hilton wrote:
> Not that I'm helping to much, however this is what I'm getting pulling
> the latest git developmental branch when trying to build:
>
> ecdh.c: In function `pk_ecdh_encrypt_with_shared_point':
> ecdh.c:255: error: `GCRY_CIPHER_MODE_AESWRAP' undeclared (first use in
> this func
> tion)
> ecdh.c:255: error: (Each undeclared identifier is reported only once
> ecdh.c:255: error: for each function it appears in.)
> make[2]: *** [ecdh.o] Error 1
> make[2]: Leaving directory `/home/admin/src/gnupg/g10'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/admin/src/gnupg'
> make: *** [all] Error 2
>

That probably means you either:

1) Don't have gcrypt installed.

2) Don't have a new enough version.

3) You don't have the development libraries for gcrypt, or they're not
in a normal location.

If you're building off of the head of the git tree, you'll probably
either need to build the newest official version of gcrypt, or get
latest branch of that from source control as well.

I thought either ./autogen.sh or ./configure would yell if you didn't
have a new enough version of gcrypt. Did you run autogen?

--
-Grant

"Look around! Can you construct some sort of rudimentary lathe?"
Attachments: signature.asc (0.55 KB)


wk at gnupg

Mar 7, 2011, 5:54 AM

Post #3 of 3 (340 views)
Permalink
Re: Git Compile Error [In reply to]

On Mon, 7 Mar 2011 07:32, kgo [at] grant-olson said:

> If you're building off of the head of the git tree, you'll probably
> either need to build the newest official version of gcrypt, or get
> latest branch of that from source control as well.

Libgcrypt 1.4.6 is required - however configure tests for it. The test
and his installation may mismatch; use

./configure --with-libgcrypt-prefix=/foo/bar/mystuff

if you installed libgcrypt with --prefix=/foo/bar/mystuff

Note, the next 2.1 beta will require libgcrypt 1.5 (beta) anyway. Better
install that one instead of a new 1.4.


Salam-Shalom,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.