[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build error when using WITH_GCRYPT=ON
[Thread Prev] | [Thread Next]
- Subject: Build error when using WITH_GCRYPT=ON
- From: Vic Lee <llyzs@xxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 05 Oct 2009 14:32:42 +0800
- To: libssh <libssh@xxxxxxxxxx>
Hi, I have both openssl and gcrypt and I want to compile libssh with gcrypt, so I add this option. $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DWITH_GCRYPT=ON .. When I "make" a lot of compilation error pop up from file dh.c. I found out that in config.h, both HAVE_LIBCRYPTO and HAVE_LIBGCRYPT were defined to 1. I manually comment "#define HAVE_LIBCRYPTO 1" and it built fine. I am not familiar with cmake system, please help to check how to fix it? Thanks, Vic
Re: Build error when using WITH_GCRYPT=ON | Aris Adamantiadis <aris@xxxxxxxxxxxx> |