Open
Description
The DBusBasicValue
type was introduced to the API somewhere prior to D-Bus v1.6.0.
When trying to build this module on older versions, the following compiler error is encountered:
libzbxsystemd.c: In function 'SYSTEMD_UNIT_DISCOVERY':
libzbxsystemd.c:147:3: error: unknown type name 'DBusBasicValue'
libzbxsystemd.c:205:40: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:209:53: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:213:60: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:217:58: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:221:60: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:225:57: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:229:59: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:232:65: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:233:66: error: request for member 'str' in something not a structure or union
libzbxsystemd.c:234:62: error: request for member 'str' in something not a structure or union
libzbxsystemd.c: In function 'SYSTEMD_SERVICE_DISCOVERY':
libzbxsystemd.c:396:3: error: unknown type name 'DBusBasicValue'
libzbxsystemd.c:445:17: error: request for member 'str' in something not a structure or union
This is apparent when built on CentOS 6 or Ubuntu Precise.
Metadata
Metadata
Assignees
Labels
No labels