undeclared symbols on make
Opened this issue · 0 comments
hueyvle commented
hi,
running "make" gives lot of errors.
env: deb 9
make all-recursive
make[1]: Entering directory '/root/aushape'
Making all in include
make[2]: Entering directory '/root/aushape/include'
Making all in aushape
make[3]: Entering directory '/root/aushape/include/aushape'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/aushape/include/aushape'
make[3]: Entering directory '/root/aushape/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/aushape/include'
make[2]: Leaving directory '/root/aushape/include'
Making all in lib
make[2]: Entering directory '/root/aushape/lib'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/root/aushape -I/root/aushape/include -DNDEBUG -g -O2 -MT conv_buf.lo -MD -MP -MF .deps/conv_buf.Tpo -c -o conv_buf.lo conv_buf.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/root/aushape -I/root/aushape/include -DNDEBUG -g -O2 -MT conv_buf.lo -MD -MP -MF .deps/conv_buf.Tpo -c conv_buf.c -fPIC -DPIC -o .libs/conv_buf.o
conv_buf.c: In function ‘aushape_conv_buf_add_event_norm’:
conv_buf.c:206:41: error: ‘auparse_normalize_get_event_kind’ undeclared (first use in this function); did you mean ‘auparse_next_event’?
FIELD_META(event_kind, auparse_normalize_get_event_kind),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:194:21: note: in definition of macro ‘FIELD_META’
.fn_meta = _fn}
^~~
conv_buf.c:206:41: note: each undeclared identifier is reported only once for each function it appears in
FIELD_META(event_kind, auparse_normalize_get_event_kind),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:194:21: note: in definition of macro ‘FIELD_META’
.fn_meta = _fn}
^~~
conv_buf.c:208:41: error: ‘auparse_normalize_session’ undeclared (first use in this function)
FIELD_POS(session, auparse_normalize_session),
^~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:198:20: note: in definition of macro ‘FIELD_POS’
.fn_pos = _fn}
^~~
conv_buf.c:210:41: error: ‘auparse_normalize_subject_kind’ undeclared (first use in this function)
FIELD_META(subject_kind, auparse_normalize_subject_kind),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:194:21: note: in definition of macro ‘FIELD_META’
.fn_meta = _fn}
^~~
conv_buf.c:211:41: error: ‘auparse_normalize_subject_primary’ undeclared (first use in this function)
FIELD_POS(subject_primary, auparse_normalize_subject_primary),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:198:20: note: in definition of macro ‘FIELD_POS’
.fn_pos = _fn}
^~~
conv_buf.c:212:41: error: ‘auparse_normalize_subject_secondary’ undeclared (first use in this function)
FIELD_POS(subject_secondary, auparse_normalize_subject_secondary),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:198:20: note: in definition of macro ‘FIELD_POS’
.fn_pos = _fn}
^~~
conv_buf.c:214:37: error: ‘auparse_normalize_subject_first_attribute’ undeclared (first use in this function)
auparse_normalize_subject_first_attribute,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:203:31: note: in definition of macro ‘FIELD_POS_LIST’
.fn_pos_list_first = _fn_first, \
^~~~~~~~~
conv_buf.c:215:37: error: ‘auparse_normalize_subject_next_attribute’ undeclared (first use in this function)
auparse_normalize_subject_next_attribute),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:204:30: note: in definition of macro ‘FIELD_POS_LIST’
.fn_pos_list_next = _fn_next}
^~~~~~~~
conv_buf.c:217:41: error: ‘auparse_normalize_get_action’ undeclared (first use in this function); did you mean ‘auparse_get_time’?
FIELD_META(action, auparse_normalize_get_action),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:194:21: note: in definition of macro ‘FIELD_META’
.fn_meta = _fn}
^~~
conv_buf.c:219:41: error: ‘auparse_normalize_object_kind’ undeclared (first use in this function)
FIELD_META(object_kind, auparse_normalize_object_kind),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:194:21: note: in definition of macro ‘FIELD_META’
.fn_meta = _fn}
^~~
conv_buf.c:220:41: error: ‘auparse_normalize_object_primary’ undeclared (first use in this function); did you mean ‘auparse_node_compare’?
FIELD_POS(object_primary, auparse_normalize_object_primary),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:198:20: note: in definition of macro ‘FIELD_POS’
.fn_pos = _fn}
^~~
conv_buf.c:221:41: error: ‘auparse_normalize_object_secondary’ undeclared (first use in this function)
FIELD_POS(object_secondary, auparse_normalize_object_secondary),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:198:20: note: in definition of macro ‘FIELD_POS’
.fn_pos = _fn}
^~~
conv_buf.c:222:41: error: ‘auparse_normalize_object_primary2’ undeclared (first use in this function)
FIELD_POS(object_primary2, auparse_normalize_object_primary2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:198:20: note: in definition of macro ‘FIELD_POS’
.fn_pos = _fn}
^~~
conv_buf.c:224:37: error: ‘auparse_normalize_object_first_attribute’ undeclared (first use in this function)
auparse_normalize_object_first_attribute,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:203:31: note: in definition of macro ‘FIELD_POS_LIST’
.fn_pos_list_first = _fn_first, \
^~~~~~~~~
conv_buf.c:225:37: error: ‘auparse_normalize_object_next_attribute’ undeclared (first use in this function)
auparse_normalize_object_next_attribute),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:204:30: note: in definition of macro ‘FIELD_POS_LIST’
.fn_pos_list_next = _fn_next}
^~~~~~~~
conv_buf.c:227:41: error: ‘auparse_normalize_get_results’ undeclared (first use in this function)
FIELD_POS(result, auparse_normalize_get_results),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conv_buf.c:198:20: note: in definition of macro ‘FIELD_POS’
.fn_pos = _fn}
^~~
conv_buf.c:229:41: error: ‘auparse_normalize_how’ undeclared (first use in this function); did you mean ‘auparse_next_field’?
FIELD_META(how, auparse_normalize_how),
^~~~~~~~~~~~~~~~~~~~~
conv_buf.c:194:21: note: in definition of macro ‘FIELD_META’
.fn_meta = _fn}
^~~
conv_buf.c:231:41: error: ‘auparse_normalize_key’ undeclared (first use in this function); did you mean ‘auparse_next_field’?
FIELD_POS(key, auparse_normalize_key),
^~~~~~~~~~~~~~~~~~~~~
conv_buf.c:198:20: note: in definition of macro ‘FIELD_POS’
.fn_pos = _fn}
^~~
In file included from conv_buf.c:29:
conv_buf.c:252:24: warning: implicit declaration of function ‘auparse_normalize’; did you mean ‘auparse_get_time’? [-Wimplicit-function-declaration]
auparse_normalize(au, NORM_OPT_ALL) == 0);
^~~~~~~~~~~~~~~~~
/root/aushape/include/aushape/guard.h:40:15: note: in definition of macro ‘AUSHAPE_GUARD_BOOL’
if (!(_bool_expr)) { \
^~~~~~~~~~
conv_buf.c:252:46: error: ‘NORM_OPT_ALL’ undeclared (first use in this function)
auparse_normalize(au, NORM_OPT_ALL) == 0);
^~~~~~~~~~~~
/root/aushape/include/aushape/guard.h:40:15: note: in definition of macro ‘AUSHAPE_GUARD_BOOL’
if (!(_bool_expr)) { \
^~~~~~~~~~
Makefile:497: recipe for target 'conv_buf.lo' failed
make[2]: *** [conv_buf.lo] Error 1
make[2]: Leaving directory '/root/aushape/lib'
Makefile:476: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/aushape'
Makefile:387: recipe for target 'all' failed
make: *** [all] Error 2