Attempting to compile from source on Kubuntu 23.10 using GCC 13.2.0 resulted in the following error:
ykpers-json.c: In function 'set_json_value':
ykpers-json.c:53:27: error: 'TRUE' undeclared (first use in this function)
53 | if(ret == TRUE && json_object_get_type(joption) == json_type_boolean) {
| ^~~~
ykpers-json.c:53:27: note: each undeclared identifier is reported only once for each function it appears in
ykpers-json.c: In function '_ykp_json_import_cfg':
ykpers-json.c:230:85: error: 'FALSE' undeclared (first use in this function)
230 | if(yk_json_object_object_get(jobj, "yubiProdConfig", yprod_json) == FALSE) {
| ^~~~~
ykpers-json.c:243:86: error: 'TRUE' undeclared (first use in this function)
243 | if(yk_json_object_object_get(yprod_json, "targetConfig", jtarget) == TRUE) {
| ^~~~
make[1]: *** [Makefile:789: ykpers-json.lo] Error 1
The build was configured using the following flags on a clean environment:
Attempting to compile from source on Kubuntu 23.10 using GCC 13.2.0 resulted in the following error:
The build was configured using the following flags on a clean environment:
Relevant installed dependency versions are as follows:
pkgconf
: 2.0.3libyubikey0
: 1.13libusb-1.0
: 1.0.26libjson-c5
: 0.17libudev1
: 253.5valgrind
: 3.21.0Please advise.