CXX log/logmanager.o
log/logmanager.cc: In function ‘void flexisip::log::preinit(bool, bool)’:
log/logmanager.cc:103:94: error: invalid application of ‘sizeof’ to incomplete type ‘BctoolboxLogHandler {aka _BctoolboxLogHandler}’
BctoolboxLogHandler* syshandler = (BctoolboxLogHandler*)malloc(sizeof(BctoolboxLogHandler));
^
log/logmanager.cc:104:15: error: invalid use of incomplete type ‘BctoolboxLogHandler {aka struct _BctoolboxLogHandler}’
syshandler->func = syslogHandler;
^
In file included from log/logmanager.hh:82:0,
from log/logmanager.cc:20:
/usr/local/include/bctoolbox/logging.h:51:16: error: forward declaration of ‘BctoolboxLogHandler {aka struct _BctoolboxLogHandler}’
typedef struct _BctoolboxLogHandler BctoolboxLogHandler;
^
log/logmanager.cc:105:15: error: invalid use of incomplete type ‘BctoolboxLogHandler {aka struct _BctoolboxLogHandler}’