libcrypto/openssl : Which to use
christian.helmuth at ...1...
Thu May 7 09:06:13 CEST 2015
from what I discovered I fear you have to do some additional porting
work as the building produces several errors. Please try "make
--keep-going ..." to see them all and get about 2000 lines of warnings
and errors (mostly from cryptopp). The most suspicious messages from
/plain/krishna/src/genode/genode.git/contrib/ndn-cxx-d868c173a4ad62c998b4be62fe3b9dca91e42160/src/lib/ndn-cxx/src/security/sec-tpm-file.cpp: In member function ‘virtual void ndn::SecTpmFile::generateKeyPairInTpm(const ndn::Name&, const ndn::KeyParams&)’:
/plain/krishna/src/genode/genode.git/contrib/ndn-cxx-d868c173a4ad62c998b4be62fe3b9dca91e42160/src/lib/ndn-cxx/src/security/sec-tpm-file.cpp:131:4: error: ‘AutoSeededRandomPool’ was not declared in this scope
In file included from /plain/krishna/src/genode/genode.git/contrib/ndn-cxx-d868c173a4ad62c998b4be62fe3b9dca91e42160/src/lib/ndn-cxx/src/security/sec-tpm-osx.cpp:24:0:
/plain/krishna/src/genode/genode.git/contrib/ndn-cxx-d868c173a4ad62c998b4be62fe3b9dca91e42160/src/lib/ndn-cxx/src/security/sec-tpm-osx.hpp:30:2: error: #error "This files should not be compiled ..."
/plain/krishna/src/genode/genode.git/contrib/ndn-cxx-d868c173a4ad62c998b4be62fe3b9dca91e42160/src/lib/ndn-cxx/src/security/sec-tpm-osx.cpp:38:43: fatal error: CoreFoundation/CoreFoundation.h: No such file or directory
For the first issue please have a look at the following lines in
8 #ifdef OS_RNG_AVAILABLE
It seems the define is not set in your case and so the contents of the
header are not includes in the build. To find this kind of problems I
suggest to modify the compilation of the broken source file to just do
the preprocessor step (compiler flag -E) and analyze the result. In
your case I was looking for AutoSeededRandomPool, which was not there.
http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
More information about the users