Closed xuniuer closed 6 years ago
libdebug.c:75:5: error: ‘SIGUNUSED’ undeclared here (not in a function); did you mean ‘SI_USER’? SIGUNUSED / 31 / ^~~~~ SI_USER
Under Ubuntu 18.04, try to compile libraries, above is error information. How to fix it? Thanks.
I check the error and find there is a solution - just to delete the deprecated declaration.
refer to: https://github.com/clearcontainers/shim/issues/68
Thanks! Delete SIGUNUSED declaration is ok,it comes from "/usr/include/bits/signum.h" of Ubuntu 16.04
libdebug.c:75:5: error: ‘SIGUNUSED’ undeclared here (not in a function); did you mean ‘SI_USER’? SIGUNUSED / 31 / ^
~~~~ SI_USERUnder Ubuntu 18.04, try to compile libraries, above is error information. How to fix it? Thanks.