Setting up libaes_siv

Hal Murray hmurray at megapathdsl.net
Fri Feb 15 03:28:24 UTC 2019


dfoxfranke at gmail.com said:
> I think what you did will probably work if you delete your CMakeCache and try
> again

Thanks.  That is the hint I needed.  I was scp-ing stuff from my main system 
to others giving them a bogus cache.

---------

It doesn't build on NetBSD.  Do you recognize the error:

 [ 11%] Building C object CMakeFiles/runtests.dir/aes_siv_test.c.o
In file included from /usr/include/stddef.h:37:0,
                 from /home/murray/ntpsec/libaes_siv/aes_siv.h:8,
                 from /home/murray/ntpsec/libaes_siv/aes_siv.c:5,
                 from /home/murray/ntpsec/libaes_siv/aes_siv_test.c:3:
/home/murray/ntpsec/libaes_siv/aes_siv.c:114:24: error: expected declaration 
specifiers or '...' before '__builtin_constant_p'
 static inline uint64_t bswap64(uint64_t x) { return __builtin_bswap64(x); }

---------

Any chance of building it with an old cmake?

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  CMake 3.0 or higher is required.  You are running version 2.8.12.2

That's from CentOS.




-- 
These are my opinions.  I hate spam.





More information about the devel mailing list