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

Re: Building libssh on RHEL7

On 17/03/2020 10:30, Neil Youngman wrote:
I'm trying to build libssh 0.9.3 on RHEL7

The INSTALL document says that it requires cmake >= 2.6.0 but trying to build with 2.8.1 it says the requirement is 3.3

Using an updated cmake, the build fails with:

[ 44%] Building C object src/CMakeFiles/ssh.dir/libcrypto.c.o
In file included from /tmp/libssh-0.9.3/src/libcrypto.c:31:0:
/tmp/libssh-0.9.3/include/libssh/priv.h:410:22: error: expected ‘)’ before ‘__attribute__’
  #  define __unused__ __attribute__((unused))

This seems to be a conflict with valgrind. Removing the check for valgrind.h from ConfigureChecks.cmake allows me to build for now.

Neil Youngman

Neil Youngman Developer
Wirefast Limited

Wirefast provides secure corporate messaging services.
See our messaging solutions at http://www.wirefast.com/ Please consider the environment.
Does this email or attachment need to be printed?
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system.

Any views or opinions are solely those of the author
and do not necessarily represent those of Wirefast Limited

Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.
Wirefast Limited is registered in England & Wales
Company number: 03865860
Registered Office: 7/10 Chandos Street, Cavendish Square, London, W1G 9DQ

Wirefast definitions of classification can be found here: www.wirefast.com/classifications

Building libssh on RHEL7Neil Youngman <neil.youngman@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org