Closed Zerorigin closed 2 months ago
@Zerorigin It's actually erroring on make check
$ make check
CC tests/simple_get.o
tests/simple_get.c: In function ‘main’:
tests/simple_get.c:26:28: error: passing argument 2 of ‘coraza_set_log_cb’ from incompatible pointer type [-Wincompatible-pointer-types]
26 | coraza_set_log_cb(waf, logcb);
| ^~~~~
| |
| void (*)(void *, const void *)
In file included from tests/simple_get.c:3:
cgo-gcc-export-header-prolog:89:63: note: expected ‘coraza_log_cb’ {aka ‘void (*)(const void *)’} but argument is of type ‘void (*)(void *, const void *)’
make: *** [Makefile:431: tests/simple_get.o] Error 1
I want to test coraza for nginx and for this I am trying to compile and install libcoraza on Alpine Linux 3.19.1.
Configure and make work correctly, but
when doing make install I receive the following error
: