[Freeswitch-users] Build problem
Dome Charoenyost
dome at tel.co.th
Thu Feb 16 20:31:56 MSK 2012
apt-get install gawk
and then
./bootstrap ; ./configure; make
Dome C.
2012/1/20 Gustavo Espeche <gustavo.espeche at upper-soft.com>:
> hello all, i'm trying to build the las freeswitch version, in a
> ubutntu server 64 bit, but when i make it, i have the follow error
> Making all in nua
> LTCOMPILE nua.lo
> LTCOMPILE nua_common.lo
> LTCOMPILE nua_stack.lo
> LTCOMPILE nua_server.lo
> LTCOMPILE nua_client.lo
> LTCOMPILE nua_extension.lo
> LTCOMPILE nua_dialog.lo
> LTCOMPILE outbound.lo
> LTCOMPILE nua_params.lo
> LTCOMPILE nua_register.lo
> LTCOMPILE nua_registrar.lo
> LTCOMPILE nua_session.lo
> LTCOMPILE nua_options.lo
> LTCOMPILE nua_message.lo
> LTCOMPILE nua_publish.lo
> LTCOMPILE nua_subnotref.lo
> In file included from nua_subnotref.c:50:0:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:2:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:6:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:7:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:11:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:12:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:16:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:17:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:21:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:22:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:26:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:27:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:31:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:32:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:36:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:37:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:41:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:42:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:46:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:47:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:51:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:52:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:56:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:57:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:61:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:62:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:66:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:67:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:71:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:72:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:76:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:77:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:81:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:82:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:86:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:87:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:91:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:92:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:96:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:97:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:101:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:102:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:106:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:107:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:111:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:112:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:116:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:117:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:121:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:122:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:126:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:127:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:131:44: error: "/*"
> within comment [-Werror=comment]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:132:1: error: expected
> identifier or '(' before '}' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:252:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:252:47: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:318:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:318:53: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:323:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:323:53: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:362:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:362:54: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:367:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:367:54: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:393:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:397:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: In function
> 'sip_refer_sub_make':
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:399:11: error:
> 'sip_refer_sub_t' undeclared (first use in this function)
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:399:11: note: each
> undeclared identifier is reported only once for each function it
> appears in
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:399:28: error:
> expected expression before ')' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: At top level:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:425:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:429:1: error: unknown
> type name 'sip_refer_sub_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: In function
> 'sip_refer_sub_format':
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:438:11: error:
> 'sip_refer_sub_t' undeclared (first use in this function)
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:438:28: error:
> expected expression before ')' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:431:17: error:
> variable 'h' set but not used [-Werror=unused-but-set-variable]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: At top level:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:506:36: error:
> expected ')' before 'const'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:509:37: error:
> expected ')' before 'const'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:598:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:598:49: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:664:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:664:55: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:669:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:669:55: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:708:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:708:56: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:713:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:713:56: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:739:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:743:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: In function
> 'sip_alert_info_make':
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:745:11: error:
> 'sip_alert_info_t' undeclared (first use in this function)
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:745:29: error:
> expected expression before ')' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: At top level:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:771:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:775:1: error: unknown
> type name 'sip_alert_info_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: In function
> 'sip_alert_info_format':
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:784:11: error:
> 'sip_alert_info_t' undeclared (first use in this function)
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:784:29: error:
> expected expression before ')' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:777:17: error:
> variable 'h' set but not used [-Werror=unused-but-set-variable]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: At top level:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:852:38: error:
> expected ')' before 'const'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:855:39: error:
> expected ')' before 'const'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:944:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:944:45: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1010:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1010:51: error:
> unknown type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1015:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1015:51: error:
> unknown type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1054:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1054:52: error:
> unknown type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1059:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1059:52: error:
> unknown type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1085:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1089:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: In function
> 'sip_reply_to_make':
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1091:11: error:
> 'sip_reply_to_t' undeclared (first use in this function)
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1091:27: error:
> expected expression before ')' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: At top level:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1117:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1121:1: error: unknown
> type name 'sip_reply_to_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: In function
> 'sip_reply_to_format':
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1130:11: error:
> 'sip_reply_to_t' undeclared (first use in this function)
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1130:27: error:
> expected expression before ')' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1123:17: error:
> variable 'h' set but not used [-Werror=unused-but-set-variable]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: At top level:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1198:34: error:
> expected ')' before 'const'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1201:35: error:
> expected ')' before 'const'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1636:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1636:67: error:
> unknown type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1702:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1702:73: error:
> unknown type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1707:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1707:73: error:
> unknown type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1746:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1746:74: error:
> unknown type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1751:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1751:74: error:
> unknown type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1777:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1781:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: In function
> 'sip_p_asserted_identity_make':
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1783:11: error:
> 'sip_p_asserted_identity_t' undeclared (first use in this function)
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1783:38: error:
> expected expression before ')' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: At top level:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1809:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1813:1: error: unknown
> type name 'sip_p_asserted_identity_t'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: In function
> 'sip_p_asserted_identity_format':
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1822:11: error:
> 'sip_p_asserted_identity_t' undeclared (first use in this function)
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1822:38: error:
> expected expression before ')' token
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1815:17: error:
> variable 'h' set but not used [-Werror=unused-but-set-variable]
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h: At top level:
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1890:56: error:
> expected ')' before 'const'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1893:57: error:
> expected ')' before 'const'
> ../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:2945:2: error: #endif
> without #if
> nua_subnotref.c: In function 'nua_refer_client_response':
> nua_subnotref.c:915:7: error: 'sip_refer_sub_t' undeclared (first use
> in this function)
> nua_subnotref.c:915:23: error: expected ';' before 'const'
> nua_subnotref.c:917:11: error: 'rs' undeclared (first use in this function)
> cc1: all warnings being treated as errors
>
> make[9]: *** [nua_subnotref.lo] Error 1
> make[8]: *** [all] Error 2
> make[8]: *** No rule to make target `nua/libnua.la', needed by
> `libsofia-sip-ua.la'. Stop.
> make[7]: *** [all-recursive] Error 1
> Making all in packages
> make[6]: *** [all-recursive] Error 1
> make[5]: *** [all] Error 2
> make[4]: ***
> [/home/easyipcall/freeswitch/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la] Error
> 2
> make[3]: *** [mod_sofia-all] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Aprecite a lot any advice.
> Regards.
>
> Gustavo.
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list