[Bug 3278] OpenIndiana build fails

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Mar 11 22:46:33 AEDT 2021


https://bugzilla.mindrot.org/show_bug.cgi?id=3278

--- Comment #4 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to predrag.zecevic.1961 from comment #2)
>       --with-solaris-projects \
>       --with-solaris-privs

I think I see the problem.  Those two are in port-solaris.c, but the
include of log.h is inside #ifdef USE_SOLARIS_PROCESS_CONTRACTS, which
you do not enable and thus you do not get the macros for debug and
friends.

Depending on your compiler, this probably produced a missing-prototype
warning in 8.4p1 but the linker was still able to do its thing.

If you stick a #include "log.h" near the top of the file immediately
after #include "includes.h" does that resolve the problem?

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list