- changed status to open
Build issue with blocker.c on both 2.3.0 and 2.3.1
Making all in src gmake[1]: Entering directory '/patch/tmp2/sshguard-2.3.1/src' Making all in blocker gmake[2]: Entering directory '/patch/tmp2/sshguard-2.3.1/src/blocker' CC simclist.o CC attack.o CC blocker.o blocker.c: In function 'init_log': blocker.c:95:18: error: 'LOG_PERROR' undeclared (first use in this function) flags |= LOG_PERROR; ^ blocker.c:95:18: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: [Makefile:389: blocker.o] Error 1 gmake[2]: Leaving directory '/patch/tmp2/sshguard-2.3.1/src/blocker' gmake[1]: [Makefile:431: all-recursive] Error 1 gmake[1]: Leaving directory '/patch/tmp2/sshguard-2.3.1/src' gmake: *** [Makefile:481: all-recursive] Error 1
GCC 5.5, Solaris 10 (x86_64 and SPARC).
Comments (2)
-
-
- changed status to closed
Please re-open if you are interested in upstreaming a fix.
- Log in to comment
It looks like Solaris does not support the
LOG_PERROR
flag to openlog().Since
LOG_PERROR
is only used for debug logging, can you try removing that line ("flags |= LOG_PERROR;") from src/blocker/blocker.c?