Closed lilkid3 closed 4 years ago
OSX: 10.15.5 XCode: Version 11.5 (11E608c) Baresip: Latest
- I am using "re", "rem" & "baresip" from Repository not from http://www.creytiv.com/pub
- I ran "make contrib"
Result:
` LD librem.dylib ld: warning: directory not found for option '-L-lre' Undefined symbols for architecture arm64: "_list_append", referenced from: _aubuf_append in aubuf.o _aumix_source_enable in aumix.o _vidmix_source_enable in vidmix.o "_list_count", referenced from: _aumix_source_count in aumix.o "_list_flush", referenced from: _aubuf_destructor in aubuf.o _aubuf_flush in aubuf.o "_list_unlink", referenced from: _auframe_destructor in aubuf.o _source_destructor in aumix.o _aumix_source_enable in aumix.o _source_destructor in vidmix.o _vidmix_source_enable in vidmix.o "_lock_alloc", referenced from: _aubuf_alloc in aubuf.o "_lock_read_get", referenced from: _aubuf_debug in aubuf.o _aubuf_cur_size in aubuf.o "_lock_rel", referenced from: _aubuf_append in aubuf.o _aubuf_read in aubuf.o _aubuf_get in aubuf.o _aubuf_flush in aubuf.o _aubuf_debug in aubuf.o _aubuf_cur_size in aubuf.o "_lock_write_get", referenced from: _aubuf_append in aubuf.o _aubuf_read in aubuf.o _aubuf_get in aubuf.o _aubuf_flush in aubuf.o "_mbuf_alloc", referenced from: _aubuf_write in aubuf.o "_mbuf_read_mem", referenced from: _aubuf_read in aubuf.o _avc_config_decode in config.o "_mbuf_read_u16", referenced from: _avc_config_decode in config.o "_mbuf_read_u8", referenced from: _avc_config_decode in config.o _h264_nal_header_decode in nal.o "_mbuf_write_mem", referenced from: _aubuf_write in aubuf.o _avc_config_encode in config.o "_mbuf_write_u16", referenced from: _autone_sine in tone.o _autone_dtmf in tone.o _avc_config_encode in config.o "_mbuf_write_u8", referenced from: _avc_config_encode in config.o _h264_nal_header_encode in nal.o "_mem_alloc", referenced from: _aumix_thread in aumix.o _aumix_source_alloc in aumix.o "_mem_deref", referenced from: _aubuf_alloc in aubuf.o _aubuf_destructor in aubuf.o _aubuf_append in aubuf.o _auframe_destructor in aubuf.o _aubuf_write in aubuf.o _aubuf_read in aubuf.o _aufile_open in aufile.o ... "_mem_ref", referenced from: _aubuf_append in aubuf.o _aumix_source_alloc in aumix.o _vidmix_source_alloc in vidmix.o "_mem_zalloc", referenced from: _aubuf_alloc in aubuf.o _aubuf_append in aubuf.o _aufile_open in aufile.o _dtmf_dec_alloc in dec.o _aumix_alloc in aumix.o _aumix_thread in aumix.o _aumix_source_alloc in aumix.o ... "_re_fprintf", referenced from: _wav_header_decode in wave.o _auconv_from_s16 in auconv.o _auconv_to_s16 in auconv.o _vidframe_draw_point in draw.o _vidframe_draw_hline in draw.o _get_bit in getbit.o _get_ue_golomb in getbit.o ... "_re_hprintf", referenced from: _aubuf_debug in aubuf.o "_re_printf", referenced from: _vidframe_init_buf in frame.o _vidframe_fill in frame.o _vidframe_copy in frame.o _vidconv in vconv.o "_sys_htoll", referenced from: _wav_header_encode in wave.o "_sys_htols", referenced from: _wav_header_encode in wave.o "_sys_ltohl", referenced from: _wav_header_decode in wave.o "_sys_ltohs", referenced from: _wav_header_decode in wave.o "_tmr_jiffies", referenced from: _aubuf_get in aubuf.o _aumix_thread in aumix.o _content_thread in vidmix.o _vidmix_thread in vidmix.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: [librem.dylib] Error 1 make: [librem] Error 2
`
Note: Similar Error when compiling from http://www.creytiv.com/pub
Not to worry I have solved I the issue using This comment
- I am using "re", "rem" & "baresip" from Repository not from http://www.creytiv.com/pub
- I ran "make contrib"
Result:
` LD librem.dylib ld: warning: directory not found for option '-L-lre' Undefined symbols for architecture arm64: "_list_append", referenced from: _aubuf_append in aubuf.o _aumix_source_enable in aumix.o _vidmix_source_enable in vidmix.o "_list_count", referenced from: _aumix_source_count in aumix.o "_list_flush", referenced from: _aubuf_destructor in aubuf.o _aubuf_flush in aubuf.o "_list_unlink", referenced from: _auframe_destructor in aubuf.o _source_destructor in aumix.o _aumix_source_enable in aumix.o _source_destructor in vidmix.o _vidmix_source_enable in vidmix.o "_lock_alloc", referenced from: _aubuf_alloc in aubuf.o "_lock_read_get", referenced from: _aubuf_debug in aubuf.o _aubuf_cur_size in aubuf.o "_lock_rel", referenced from: _aubuf_append in aubuf.o _aubuf_read in aubuf.o _aubuf_get in aubuf.o _aubuf_flush in aubuf.o _aubuf_debug in aubuf.o _aubuf_cur_size in aubuf.o "_lock_write_get", referenced from: _aubuf_append in aubuf.o _aubuf_read in aubuf.o _aubuf_get in aubuf.o _aubuf_flush in aubuf.o "_mbuf_alloc", referenced from: _aubuf_write in aubuf.o "_mbuf_read_mem", referenced from: _aubuf_read in aubuf.o _avc_config_decode in config.o "_mbuf_read_u16", referenced from: _avc_config_decode in config.o "_mbuf_read_u8", referenced from: _avc_config_decode in config.o _h264_nal_header_decode in nal.o "_mbuf_write_mem", referenced from: _aubuf_write in aubuf.o _avc_config_encode in config.o "_mbuf_write_u16", referenced from: _autone_sine in tone.o _autone_dtmf in tone.o _avc_config_encode in config.o "_mbuf_write_u8", referenced from: _avc_config_encode in config.o _h264_nal_header_encode in nal.o "_mem_alloc", referenced from: _aumix_thread in aumix.o _aumix_source_alloc in aumix.o "_mem_deref", referenced from: _aubuf_alloc in aubuf.o _aubuf_destructor in aubuf.o _aubuf_append in aubuf.o _auframe_destructor in aubuf.o _aubuf_write in aubuf.o _aubuf_read in aubuf.o _aufile_open in aufile.o ... "_mem_ref", referenced from: _aubuf_append in aubuf.o _aumix_source_alloc in aumix.o _vidmix_source_alloc in vidmix.o "_mem_zalloc", referenced from: _aubuf_alloc in aubuf.o _aubuf_append in aubuf.o _aufile_open in aufile.o _dtmf_dec_alloc in dec.o _aumix_alloc in aumix.o _aumix_thread in aumix.o _aumix_source_alloc in aumix.o ... "_re_fprintf", referenced from: _wav_header_decode in wave.o _auconv_from_s16 in auconv.o _auconv_to_s16 in auconv.o _vidframe_draw_point in draw.o _vidframe_draw_hline in draw.o _get_bit in getbit.o _get_ue_golomb in getbit.o ... "_re_hprintf", referenced from: _aubuf_debug in aubuf.o "_re_printf", referenced from: _vidframe_init_buf in frame.o _vidframe_fill in frame.o _vidframe_copy in frame.o _vidconv in vconv.o "_sys_htoll", referenced from: _wav_header_encode in wave.o "_sys_htols", referenced from: _wav_header_encode in wave.o "_sys_ltohl", referenced from: _wav_header_decode in wave.o "_sys_ltohs", referenced from: _wav_header_decode in wave.o "_tmr_jiffies", referenced from: _aubuf_get in aubuf.o _aumix_thread in aumix.o _content_thread in vidmix.o _vidmix_thread in vidmix.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: [librem.dylib] Error 1 make: [librem] Error 2
`
Note: Similar Error when compiling from http://www.creytiv.com/pub
Result:
` LD librem.dylib ld: warning: directory not found for option '-L-lre' Undefined symbols for architecture arm64: "_list_append", referenced from: _aubuf_append in aubuf.o _aumix_source_enable in aumix.o _vidmix_source_enable in vidmix.o "_list_count", referenced from: _aumix_source_count in aumix.o "_list_flush", referenced from: _aubuf_destructor in aubuf.o _aubuf_flush in aubuf.o "_list_unlink", referenced from: _auframe_destructor in aubuf.o _source_destructor in aumix.o _aumix_source_enable in aumix.o _source_destructor in vidmix.o _vidmix_source_enable in vidmix.o "_lock_alloc", referenced from: _aubuf_alloc in aubuf.o "_lock_read_get", referenced from: _aubuf_debug in aubuf.o _aubuf_cur_size in aubuf.o "_lock_rel", referenced from: _aubuf_append in aubuf.o _aubuf_read in aubuf.o _aubuf_get in aubuf.o _aubuf_flush in aubuf.o _aubuf_debug in aubuf.o _aubuf_cur_size in aubuf.o "_lock_write_get", referenced from: _aubuf_append in aubuf.o _aubuf_read in aubuf.o _aubuf_get in aubuf.o _aubuf_flush in aubuf.o "_mbuf_alloc", referenced from: _aubuf_write in aubuf.o "_mbuf_read_mem", referenced from: _aubuf_read in aubuf.o _avc_config_decode in config.o "_mbuf_read_u16", referenced from: _avc_config_decode in config.o "_mbuf_read_u8", referenced from: _avc_config_decode in config.o _h264_nal_header_decode in nal.o "_mbuf_write_mem", referenced from: _aubuf_write in aubuf.o _avc_config_encode in config.o "_mbuf_write_u16", referenced from: _autone_sine in tone.o _autone_dtmf in tone.o _avc_config_encode in config.o "_mbuf_write_u8", referenced from: _avc_config_encode in config.o _h264_nal_header_encode in nal.o "_mem_alloc", referenced from: _aumix_thread in aumix.o _aumix_source_alloc in aumix.o "_mem_deref", referenced from: _aubuf_alloc in aubuf.o _aubuf_destructor in aubuf.o _aubuf_append in aubuf.o _auframe_destructor in aubuf.o _aubuf_write in aubuf.o _aubuf_read in aubuf.o _aufile_open in aufile.o ... "_mem_ref", referenced from: _aubuf_append in aubuf.o _aumix_source_alloc in aumix.o _vidmix_source_alloc in vidmix.o "_mem_zalloc", referenced from: _aubuf_alloc in aubuf.o _aubuf_append in aubuf.o _aufile_open in aufile.o _dtmf_dec_alloc in dec.o _aumix_alloc in aumix.o _aumix_thread in aumix.o _aumix_source_alloc in aumix.o ... "_re_fprintf", referenced from: _wav_header_decode in wave.o _auconv_from_s16 in auconv.o _auconv_to_s16 in auconv.o _vidframe_draw_point in draw.o _vidframe_draw_hline in draw.o _get_bit in getbit.o _get_ue_golomb in getbit.o ... "_re_hprintf", referenced from: _aubuf_debug in aubuf.o "_re_printf", referenced from: _vidframe_init_buf in frame.o _vidframe_fill in frame.o _vidframe_copy in frame.o _vidconv in vconv.o "_sys_htoll", referenced from: _wav_header_encode in wave.o "_sys_htols", referenced from: _wav_header_encode in wave.o "_sys_ltohl", referenced from: _wav_header_decode in wave.o "_sys_ltohs", referenced from: _wav_header_decode in wave.o "_tmr_jiffies", referenced from: _aubuf_get in aubuf.o _aumix_thread in aumix.o _content_thread in vidmix.o _vidmix_thread in vidmix.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: [librem.dylib] Error 1 make: [librem] Error 2
`
Note: Similar Error when compiling from http://www.creytiv.com/pub