The problem is that ipmitool is using strdup w/ -std=c99, where it is
not defined:
log.c: In function 'log_init':
log.c:112:19: warning: implicit declaration of function 'strdup'
[-Wimplicit-function-declaration]
logpriv->name = strdup(name);
^
log.c:112:17: warning: assignment makes pointer from integer without a cast
[-Wint-conversion]
logpriv->name = strdup(name);
^
log.c:114:17: warning: assignment makes pointer from integer without a cast
[-Wint-conversion]
logpriv->name = strdup(LOG_NAME_DEFAULT);
^
Adding -D_GNU_SOURCE to the CFLAGS avoids this problem for me - though
the right answer might actually be to drop -std=c99, or to use
-std=gnu99.