[asterisk-users] asterisk-addons compilation "error: dereferencing pointer to incomplete type"
Jeremy Malcolm
Jeremy at Malcolm.id.au
Fri Jul 13 09:06:13 CDT 2007
I am having trouble getting asterisk-addons 1.4.2 to compile (after a
successful configure). Asterisk itself (and AsteriskGUI) compile fine.
I get:
cdr_addon_mysql.c: In function `handle_cdr_mysql_status':
cdr_addon_mysql.c:91: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:93: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:95: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:97: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:98: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:99: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:100: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c: In function `mysql_log':
cdr_addon_mysql.c:154: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:155: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:155: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:155: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:155: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:220: error: dereferencing pointer to incomplete type
...lots more of these
cdr_addon_mysql.c:222: error: dereferencing pointer to incomplete type
...lots more of these
cdr_addon_mysql.c:225: error: dereferencing pointer to incomplete type
...lots more of these
cdr_addon_mysql.c:227: error: dereferencing pointer to incomplete type
...lots more of these
cdr_addon_mysql.c: In function `my_load_config_string':
cdr_addon_mysql.c:279: warning: assignment makes pointer from integer
without a cast
cdr_addon_mysql.c: In function `my_load_module':
cdr_addon_mysql.c:378: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:382: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:383: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:384: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:385: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:387: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:388: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:389: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:390: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:391: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:392: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:393: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:394: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:395: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:396: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:397: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:398: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:399: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:400: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:401: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:408: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:409: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:409: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:409: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:409: error: dereferencing pointer to incomplete type
make[1]: *** [cdr_addon_mysql.o] Error 1
make: *** [all] Error 2
Has anyone come across this?
TIA
--
Jeremy Malcolm LLB (Hons) B Com
Internet and Open Source lawyer, IT consultant, actor
host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}'
More information about the asterisk-users
mailing list