Setting up libaes_siv
Daniel Franke
dfoxfranke at gmail.com
Fri Feb 15 04:33:32 UTC 2019
This looks like namespace pollution of some kind -- perhaps one of
NetBSD's standard C headers defining a bswap64 macro that conflicts
with my definition. Can you send me what aes_siv.c looks like on your
system after preprocessing?
I'm not going to support CMake 2, but CentOS has CMake 3 available as
the 'cmake3' package.
On Thu, Feb 14, 2019 at 11:10 PM Hal Murray <hmurray at megapathdsl.net> wrote:
>
>
> 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