[Freeswitch-users] Problem with compilation

Kamil Kapturkiewicz - VCC Systems kamil.kapturkiewicz at vccsystems.pl
Thu Jan 24 12:40:45 MSK 2013


hi,
i tried to install freeswitch on my slackware-14.0 (32bit), but there 
was problem with compilation:
how  can i fix it? i tried to install sofia-sip standalone, but there 
was no file named libmsg.la in destination directory.

msg_parser.c: In function 'msg_hclass_offset':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c: In function 'msg_header_add_dup':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c: In function 'msg_header_add_dup_as':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c: In function 'msg_header_add_make':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c: In function 'msg_header_add_format':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c: In function 'msg_header_insert':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c: In function 'msg_header_remove':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c: In function 'msg_header_remove_all':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c: In function 'msg_header_replace':
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
msg_parser.c:2490:40: error: array subscript is above array bounds 
[-Werror=array-bounds]
cc1: all warnings being treated as errors
make[9]: *** [msg_parser.lo] Error 1
make[8]: *** [all] Error 2
Making all in sip
          LTCOMPILE sip_parser.lo
          LTCOMPILE sip_header.lo
          LTCOMPILE sip_util.lo
          LTCOMPILE sip_pref_util.lo
          LTCOMPILE sip_basic.lo
          LTCOMPILE sip_extra.lo
          LTCOMPILE sip_feature.lo
          LTCOMPILE sip_mime.lo
          LTCOMPILE sip_security.lo
          LTCOMPILE sip_event.lo
          LTCOMPILE sip_prack.lo
          LTCOMPILE sip_refer.lo
          LTCOMPILE sip_session.lo
          LTCOMPILE sip_caller_prefs.lo
          LTCOMPILE sip_reason.lo
          LTCOMPILE sip_status.lo
          LTCOMPILE sip_time.lo
          LTCOMPILE sip_tag_class.lo
          LTCOMPILE sip_inlined.lo
          LTCOMPILE sip_tag.lo
          LTCOMPILE sip_parser_table.lo
          LTCOMPILE sip_tag_ref.lo
          LINK libsip.la
Making all in http
          LTCOMPILE http_parser.lo
          LTCOMPILE http_header.lo
          LTCOMPILE http_basic.lo
          LTCOMPILE http_extra.lo
          LTCOMPILE http_inlined.lo
          LTCOMPILE http_status.lo
          LTCOMPILE http_tag_class.lo
          LTCOMPILE http_tag.lo
          LTCOMPILE http_parser_table.lo
          LTCOMPILE http_tag_ref.lo
          LINK libhttp.la
Making all in soa
          LTCOMPILE soa.lo
          LTCOMPILE soa_static.lo
          LTCOMPILE soa_tag.lo
          LTCOMPILE soa_tag_ref.lo
          LINK libsoa.la
Making all in tport
          LTCOMPILE tport.lo
          LTCOMPILE tport_logging.lo
          LTCOMPILE tport_stub_sigcomp.lo
          LTCOMPILE tport_type_udp.lo
          LTCOMPILE tport_type_tcp.lo
          LTCOMPILE tport_type_sctp.lo
          LTCOMPILE tport_tag.lo
          LTCOMPILE tport_tag_ref.lo
          LTCOMPILE tport_type_connect.lo
          LTCOMPILE tport_type_tls.lo
          LTCOMPILE tport_tls.lo
          LINK libtport.la
Making all in nta
          LTCOMPILE nta.lo
          LTCOMPILE nta_check.lo
          LTCOMPILE nta_tag.lo
          LTCOMPILE nta_tag_ref.lo
          LTCOMPILE sl_utils_print.lo
          LTCOMPILE sl_utils_log.lo
          LTCOMPILE sl_read_payload.lo
          LINK libnta.la
Making all in nth
          LTCOMPILE nth_client.lo
          LTCOMPILE nth_server.lo
          LTCOMPILE nth_tag.lo
          LTCOMPILE nth_tag_ref.lo
          LINK libnth.la
Making all in nea
          LTCOMPILE nea.lo
          LTCOMPILE nea_event.lo
          LTCOMPILE nea_server.lo
          LTCOMPILE nea_debug.lo
          LTCOMPILE nea_tag.lo
          LTCOMPILE nea_tag_ref.lo
          LINK libnea.la
Making all in iptsec
          LTCOMPILE auth_client.lo
          LTCOMPILE auth_common.lo
          LTCOMPILE auth_digest.lo
          LTCOMPILE auth_module.lo
          LTCOMPILE auth_tag.lo
          LTCOMPILE auth_tag_ref.lo
          LTCOMPILE auth_plugin.lo
          LTCOMPILE auth_plugin_delayed.lo
          LTCOMPILE auth_module_sip.lo
          LTCOMPILE iptsec_debug.lo
          LTCOMPILE auth_module_http.lo
          LINK libiptsec.la
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
          LTCOMPILE nua_notifier.lo
          LTCOMPILE nua_event_server.lo
          LTCOMPILE nua_tag.lo
          LTCOMPILE nua_tag_ref.lo
          LINK libnua.la
make[8]: *** No rule to make target `msg/libmsg.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]: *** 
[/usr/src/freeswitch-1.2.5.3/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

brgds,

-- 
Kamil Kapturkiewicz




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list