Running the BUILD script, using the default values,
results in a compiler failure with logging.c:
gcc -c -DHAVE_CONFIG_H -I. -I. -g -O
-D_GNU_SOURCE -Wall logging.c
logging.c: In function `Dprintf':
logging.c:147: warning: implicit declaration of function
`time'
logging.c:148: warning: implicit declaration of function
`localtime'
logging.c:148: warning: assignment makes pointer from
integer without a cast
logging.c:150: dereferencing pointer to incomplete type
logging.c:150: dereferencing pointer to incomplete type
logging.c:150: dereferencing pointer to incomplete type
logging.c:151: dereferencing pointer to incomplete type
logging.c:151: dereferencing pointer to incomplete type
logging.c: In function `log_call':
logging.c:182: warning: assignment makes pointer from
integer without a cast
logging.c:185: dereferencing pointer to incomplete type
logging.c:185: dereferencing pointer to incomplete type
logging.c:185: dereferencing pointer to incomplete type
logging.c:186: dereferencing pointer to incomplete type
logging.c:186: dereferencing pointer to incomplete type
logging.c:186: dereferencing pointer to incomplete type
make: *** [logging.o] Error 1
The fix is trivial - simply include <time.h>
in logging.c. That's a quick fix. The proper fix is
to use system.h, and to change the configure script
to bring in the right version of time.h