asimkumar2222 / xmpp-ssh

Automatically exported from code.google.com/p/xmpp-ssh
0 stars 0 forks source link

Compilator can't find openssl/aes.h #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. $ ./configure 
2. $ make

First error is:
In file included from common/crypto/aes/CAes.cpp:26:
./common/crypto/aes/CAes.h:30:25: error: openssl/aes.h: Нет такого 
файла или 
каталога

Translated: no such file or catalog.

I will try to fix it in source code and should write result in comments 
section.

Original issue reported on code.google.com by paskal...@gmail.com on 27 May 2010 at 10:22

GoogleCodeExporter commented 9 years ago
It was my fault. In Ubuntu you have to install libssl-dev.

Original comment by paskal...@gmail.com on 27 May 2010 at 10:56

GoogleCodeExporter commented 9 years ago
What makes new problem:

In file included from common/data/CBase64.cpp:26:
./common/data/CBase64.h:42: error: redefinition of ‘CBuffer* pBufferOut’
./common/data/CBase64.h:42: error: ‘CBuffer* pBufferOut’ previously 
declared here
common/data/CBase64.cpp:243: error: prototype for ‘void 
CBase64::From64(CBuffer*, 
CBuffer*)’ does not match any in class ‘CBase64’
./common/data/CBase64.h:42: error: candidates are: void 
CBase64::From64(CBuffer*)
common/data/CBase64.cpp:167: error:                 void CBase64::From64(const 
std::string&, CBuffer*)

Original comment by paskal...@gmail.com on 27 May 2010 at 11:19

GoogleCodeExporter commented 9 years ago
42 string in ./libcommon/src/common/data/CBase64.h must be changed to:
//      void From64(CBuffer* pBufferOut, CBuffer* pBufferOut);
        void From64(CBuffer* pBufferIn, CBuffer* pBufferOut);

Original comment by paskal...@gmail.com on 27 May 2010 at 11:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
For GCC, I had to add <cstring> and <cstdio> in several header files, and then 
add the -lpthread directive to the makefile in src/ in order to compile.

Original comment by winningham on 1 Aug 2010 at 8:18