openh264
openh264 copied to clipboard
build library for android in mac os error
/Users/mayajun/Downloads/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_so.o: No such file or directory /Users/mayajun/Downloads/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_so.o: No such file or directory /Users/mayajun/Downloads/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lstdc++ /Users/mayajun/Downloads/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lm /Users/mayajun/Downloads/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc /Users/mayajun/Downloads/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl codec/encoder/core/src/au_set.o:au_set.cpp:function WelsEnc::WelsInitSps(WelsEnc::TagWelsSPS*, SSpatialLayerConfig*, WelsEnc::TagDLayerParam*, unsigned int, int, unsigned int, bool, bool, int, bool): error: undefined reference to 'memset' codec/encoder/core/src/au_set.o:au_set.cpp:function WelsEnc::WelsInitSubsetSps(WelsEnc::TagSubsetSps*, SSpatialLayerConfig*, WelsEnc::TagDLayerParam*, unsigned int, int, unsigned int, bool, bool, int): error: undefined reference to 'memset' codec/encoder/core/src/deblocking.o:deblocking.cpp:function WelsEnc::DeblockingBSMarginalMBAvcbase(WelsEnc::TagMB*, WelsEnc::TagMB*, int): error: undefined reference to '__stack_chk_fail' codec/encoder/core/src/deblocking.o:deblocking.cpp:function WelsEnc::DeblockingBSMarginalMBAvcbase(WelsEnc::TagMB*, WelsEnc::TagMB*, int): error: undefined reference to '__stack_chk_guard' codec/encoder/core/src/deblocking.o:deblocking.cpp:function WelsEnc::FilteringEdgeLumaH(WelsEnc::tagDeblockingFunc*, WelsEnc::TagDeblockingFilter*, unsigned char*, int, unsigned char*): error: undefined reference to '__stack_chk_fail' codec/encoder/core/src/deblocking.o:deblocking.cpp:function WelsEnc::FilteringEdgeLumaH(WelsEnc::tagDeblockingFunc*, WelsEnc::TagDeblockingFilter*, unsigned char*, int, unsigned char*): error: undefined reference to '__stack_chk_guard' codec/encoder/core/src/deblocking.o:deblocking.cpp:function WelsEnc::FilteringEdgeLumaV(WelsEnc::tagDeblockingFunc*, WelsEnc::TagDeblockingFilter*, unsigned char*, int, unsigned char*): error: undefined reference to '__stack_chk_fail' codec/encoder/core/src/deblocking.o:deblocking.cpp:function WelsEnc::FilteringEdgeLumaV(WelsEnc::tagDeblockingFunc*, WelsEnc::TagDeblockingFilter*, unsigned char*, int, unsigned char*): error: undefined reference to '__stack_chk_guard' codec/encoder/core/src/deblocking.o:deblocking.cpp:function WelsEnc::FilteringEdgeChromaH(WelsEnc::tagDeblockingFunc*, WelsEnc::TagDeblockingFilter*, unsigned char*, unsigned char*, int, unsigned char*): error: undefined reference to '__stack_chk_fail' codec/encoder/core/src/deblocking.o:deblocking.cpp:function WelsEnc::FilteringEdgeChromaH(WelsEnc::tagDeblockingFunc*, WelsEnc::TagDeblockingFilter*, unsigned char*, unsigned char*, int, unsigned char*): error: undefined reference to '__stack_chk_guard' codec/encoder/core/src/encoder.o:encoder.cpp:function WelsEnc::WelsSetMemZero_c(void*, int): error: undefined reference to 'memset' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::SliceArgumentValidationFixedSliceMode(TagLogContext*, SSliceArgument*, RC_MODES, int, int): error: undefined reference to 'memset' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::ParamValidation(TagLogContext*, WelsEnc::TagWelsSvcCodingParam*): error: undefined reference to 'log10' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::ParamValidation(TagLogContext*, WelsEnc::TagWelsSvcCodingParam*): error: undefined reference to 'floor' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::AllocStrideTables(WelsEnc::TagWelsEncCtx**, int): error: undefined reference to 'memcpy' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::AllocStrideTables(WelsEnc::TagWelsEncCtx**, int): error: undefined reference to 'memcpy' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::AllocStrideTables(WelsEnc::TagWelsEncCtx**, int): error: undefined reference to 'memcpy' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::AllocStrideTables(WelsEnc::TagWelsEncCtx**, int): error: undefined reference to 'memcpy' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::FreeMemorySvc(WelsEnc::TagWelsEncCtx**): error: undefined reference to 'free' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::WelsInitEncoderExt(WelsEnc::TagWelsEncCtx**, WelsEnc::TagWelsSvcCodingParam*, TagLogContext*, WelsEnc::TagExistingParasetList*): error: undefined reference to 'log10' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::WelsInitEncoderExt(WelsEnc::TagWelsEncCtx**, WelsEnc::TagWelsSvcCodingParam*, TagLogContext*, WelsEnc::TagExistingParasetList*): error: undefined reference to 'floor' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::WelsInitEncoderExt(WelsEnc::TagWelsEncCtx**, WelsEnc::TagWelsSvcCodingParam*, TagLogContext*, WelsEnc::TagExistingParasetList*): error: undefined reference to 'log10' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::WelsInitEncoderExt(WelsEnc::TagWelsEncCtx**, WelsEnc::TagWelsSvcCodingParam*, TagLogContext*, WelsEnc::TagExistingParasetList*): error: undefined reference to 'floor' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::WelsInitEncoderExt(WelsEnc::TagWelsEncCtx**, WelsEnc::TagWelsSvcCodingParam*, TagLogContext*, WelsEnc::TagExistingParasetList*): error: undefined reference to 'malloc' codec/encoder/core/src/encoder_ext.o:encoder_ext.cpp:function WelsEnc::WelsInitEncoderExt(WelsEnc::TagWelsEncCtx**, WelsEnc::TagWelsSvcCodingParam*, TagLogContext*, WelsEnc::TagExistingParasetList*): error: undefined reference to 'operator new(unsigned int)' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:function WelsEnc::CWelsParametersetIdConstant::~CWelsParametersetIdConstant(): error: undefined reference to 'operator delete(void*)' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:function WelsEnc::IWelsParametersetStrategy::CreateParametersetStrategy(EParameterSetStrategy, bool, int): error: undefined reference to 'operator new(unsigned int)' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:function WelsEnc::IWelsParametersetStrategy::CreateParametersetStrategy(EParameterSetStrategy, bool, int): error: undefined reference to 'operator new(unsigned int)' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:function WelsEnc::IWelsParametersetStrategy::CreateParametersetStrategy(EParameterSetStrategy, bool, int): error: undefined reference to 'operator new(unsigned int)' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:function WelsEnc::CWelsParametersetIdNonConstant::~CWelsParametersetIdNonConstant(): error: undefined reference to 'operator delete(void*)' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:function WelsEnc::CWelsParametersetSpsListing::~CWelsParametersetSpsListing(): error: undefined reference to 'operator delete(void*)' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:function WelsEnc::CWelsParametersetSpsListingPpsIncreasing::~CWelsParametersetSpsListingPpsIncreasing(): error: undefined reference to 'operator delete(void*)' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:vtable for WelsEnc::IWelsParametersetStrategy: error: undefined reference to '__cxa_pure_virtual' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:vtable for WelsEnc::IWelsParametersetStrategy: error: undefined reference to '__cxa_pure_virtual' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:vtable for WelsEnc::IWelsParametersetStrategy: error: undefined reference to '__cxa_pure_virtual' codec/encoder/core/src/paraset_strategy.o:paraset_strategy.cpp:vtable for WelsEnc::IWelsParametersetStrategy: error: undefined reference to '__cxa_pure_virtual' codec/encoder/core/src/ratectl.o:ratectl.cpp:function WelsEnc::RcCalculateIdrQp(WelsEnc::TagWelsEncCtx*): error: undefined reference to 'log' codec/encoder/core/src/ratectl.o:ratectl.cpp:function WelsEnc::RcCalculatePictureQp(WelsEnc::TagWelsEncCtx*): error: undefined reference to 'log' codec/encoder/core/src/ratectl.o:ratectl.cpp:function WelsEnc::WelRcPictureInitScc(WelsEnc::TagWelsEncCtx*, long long): error: undefined reference to 'log' codec/encoder/core/src/ratectl.o:ratectl.cpp:function WelsEnc::WelRcPictureInitScc(WelsEnc::TagWelsEncCtx*, long long): error: undefined reference to 'log' codec/encoder/core/src/ref_list_mgr_svc.o:ref_list_mgr_svc.cpp:function WelsEnc::WelsUpdateRefList(WelsEnc::TagWelsEncCtx*): error: undefined reference to 'memmove' codec/encoder/core/src/ref_list_mgr_svc.o:ref_list_mgr_svc.cpp:function WelsEnc::WelsUpdateRefList(WelsEnc::TagWelsEncCtx*): error: undefined reference to 'memmove' codec/encoder/core/src/ref_list_mgr_svc.o:ref_list_mgr_svc.cpp:function WelsEnc::WelsUpdateRefList(WelsEnc::TagWelsEncCtx*): error: undefined reference to 'memmove' codec/encoder/core/src/ref_list_mgr_svc.o:ref_list_mgr_svc.cpp:function WelsEnc::WelsUpdateRefList(WelsEnc::TagWelsEncCtx*): error: undefined reference to 'memmove' codec/encoder/core/src/slice_multi_threading.o:slice_multi_threading.cpp:function WelsEnc::NeedDynamicAdjust(WelsEnc::TagSlice**, int): error: undefined reference to 'sqrtf' codec/encoder/core/src/slice_multi_threading.o:slice_multi_threading.cpp:function WelsEnc::RequestMtResource(WelsEnc::TagWelsEncCtx**, WelsEnc::TagWelsSvcCodingParam*, int, int, bool): error: undefined reference to 'getpid' codec/encoder/core/src/wels_task_encoder.o:wels_task_encoder.cpp:function WelsEnc::CWelsLoadBalancingSlicingEncodingTask::FinishTask(): error: undefined reference to 'gettimeofday' codec/encoder/core/src/wels_task_encoder.o:wels_task_encoder.cpp:function WelsEnc::CWelsLoadBalancingSlicingEncodingTask::InitTask(): error: undefined reference to 'gettimeofday' codec/encoder/core/src/wels_task_management.o:wels_task_management.cpp:function WelsEnc::CWelsTaskManageBase::CreateTasks(WelsEnc::TagWelsEncCtx*, int): error: undefined reference to 'malloc' codec/encoder/core/src/wels_task_management.o:wels_task_management.cpp:function WelsEnc::CWelsTaskManageBase::CreateTasks(WelsEnc::TagWelsEncCtx*, int): error: undefined reference to 'malloc' codec/encoder/core/src/wels_task_management.o:wels_task_management.cpp:function WelsEnc::CWelsTaskManageBase::CreateTasks(WelsEnc::TagWelsEncCtx*, int): error: undefined reference to 'free' codec/encoder/core/src/wels_task_management.o:wels_task_management.cpp:function WelsEnc::CWelsTaskManageBase::CreateTasks(WelsEnc::TagWelsEncCtx*, int): error: undefined reference to 'malloc' codec/encoder/core/src/wels_task_management.o:wels_task_management.cpp:function WelsEnc::CWelsTaskManageBase::CreateTasks(WelsEnc::TagWelsEncCtx*, int): error: undefined reference to 'free' codec/encoder/core/src/wels_task_management.o:wels_task_management.cpp:function WelsEnc::CWelsTaskManageBase::Uninit(): error: undefined reference to 'free' codec/encoder/plus/src/welsEncoderExt.o:welsEncoderExt.cpp:function WelsEnc::CWelsH264SVCEncoder::SetOption(ENCODER_OPTION, void*): error: undefined reference to 'log10' codec/encoder/plus/src/welsEncoderExt.o:welsEncoderExt.cpp:function WelsEnc::CWelsH264SVCEncoder::SetOption(ENCODER_OPTION, void*): error: undefined reference to 'floor' codec/encoder/plus/src/welsEncoderExt.o:welsEncoderExt.cpp:function WelsEnc::CWelsH264SVCEncoder::EncodeFrameInternal(Source_Picture_s const*, SFrameBSInfo*): error: undefined reference to 'gettimeofday' codec/encoder/plus/src/welsEncoderExt.o:welsEncoderExt.cpp:function WelsEnc::CWelsH264SVCEncoder::EncodeFrameInternal(Source_Picture_s const*, SFrameBSInfo*): error: undefined reference to 'gettimeofday' codec/decoder/core/src/au_parser.o:au_parser.cpp:function WelsDec::CheckAccessUnitBoundaryExt(WelsCommon::TagNalUnitHeaderExt*, WelsCommon::TagNalUnitHeaderExt*, WelsDec::TagSliceHeaders*, WelsDec::TagSliceHeaders*): error: undefined reference to 'memcmp' codec/decoder/core/src/au_parser.o:au_parser.cpp:function WelsDec::CheckAccessUnitBoundaryExt(WelsCommon::TagNalUnitHeaderExt*, WelsCommon::TagNalUnitHeaderExt*, WelsDec::TagSliceHeaders*, WelsDec::TagSliceHeaders*): error: undefined reference to 'memcmp' codec/decoder/core/src/au_parser.o:au_parser.cpp:function WelsDec::ParseSps(WelsDec::TagWelsDecoderContext*, WelsCommon::TagBitStringAux*, int*, int*, unsigned char*, int): error: undefined reference to 'memcmp' codec/decoder/core/src/au_parser.o:au_parser.cpp:function WelsDec::ParseSps(WelsDec::TagWelsDecoderContext*, WelsCommon::TagBitStringAux*, int*, int*, unsigned char*, int): error: undefined reference to 'memcmp' codec/decoder/core/src/decoder_core.o:decoder_core.cpp:function WelsDec::ParseSliceHeaderSyntaxs(WelsDec::TagWelsDecoderContext*, WelsCommon::TagBitStringAux*, bool): error: undefined reference to 'ceil' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventCreate: error: undefined reference to 'pthread_mutex_init' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventCreate: error: undefined reference to 'pthread_cond_init' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventReset: error: undefined reference to 'pthread_mutex_lock' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventReset: error: undefined reference to 'pthread_mutex_unlock' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventPost: error: undefined reference to 'pthread_mutex_lock' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventPost: error: undefined reference to 'pthread_cond_broadcast' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventPost: error: undefined reference to 'pthread_mutex_unlock' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventWait: error: undefined reference to 'pthread_mutex_lock' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventWait: error: undefined reference to 'pthread_cond_timedwait' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventWait: error: undefined reference to 'pthread_mutex_unlock' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventWait: error: undefined reference to 'pthread_mutex_unlock' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventWait: error: undefined reference to 'pthread_cond_wait' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventDestroy: error: undefined reference to 'pthread_mutex_destroy' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function EventDestroy: error: undefined reference to 'pthread_cond_destroy' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function SemCreate: error: undefined reference to 'pthread_mutex_init' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function SemWait: error: undefined reference to 'sem_timedwait' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function SemWait: error: undefined reference to '__errno' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function SemWait: error: undefined reference to 'sem_wait' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function SemWait: error: undefined reference to '__errno' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function SemRelease: error: undefined reference to 'sem_post' codec/decoder/core/src/wels_decoder_thread.o:wels_decoder_thread.cpp:function SemDestroy: error: undefined reference to 'pthread_mutex_destroy' codec/decoder/plus/src/welsDecoderExt.o:welsDecoderExt.cpp:function WelsDec::CWelsDecoder::SetOption(DECODER_OPTION, void*): error: undefined reference to 'operator delete' codec/decoder/plus/src/welsDecoderExt.o:welsDecoderExt.cpp:function WelsDec::CWelsDecoder::SetOption(DECODER_OPTION, void*): error: undefined reference to 'operator new[](unsigned int)' codec/decoder/plus/src/welsDecoderExt.o:welsDecoderExt.cpp:function WelsDec::CWelsDecoder::CWelsDecoder(): error: undefined reference to 'operator new[](unsigned int)' codec/decoder/plus/src/welsDecoderExt.o:welsDecoderExt.cpp:function WelsDec::CWelsDecoder::~CWelsDecoder(): error: undefined reference to 'operator delete' codec/common/src/cpu-features.o:cpu-features.c:function extract_cpuinfo_field: error: undefined reference to 'strlen' codec/common/src/cpu-features.o:cpu-features.c:function extract_cpuinfo_field: error: undefined reference to 'memmem' codec/common/src/cpu-features.o:cpu-features.c:function extract_cpuinfo_field: error: undefined reference to 'memchr' codec/common/src/cpu-features.o:cpu-features.c:function extract_cpuinfo_field: error: undefined reference to 'memchr' codec/common/src/cpu-features.o:cpu-features.c:function get_file_size.constprop.2: error: undefined reference to 'open' codec/common/src/cpu-features.o:cpu-features.c:function get_file_size.constprop.2: error: undefined reference to 'read' codec/common/src/cpu-features.o:cpu-features.c:function get_file_size.constprop.2: error: undefined reference to '__errno' codec/common/src/cpu-features.o:cpu-features.c:function get_file_size.constprop.2: error: undefined reference to 'close' codec/common/src/cpu-features.o:cpu-features.c:function cpulist_parse: error: undefined reference to 'memchr' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'open' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'read' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'close' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'open' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'read' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'close' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'open' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'read' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'close' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'strtol' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlerror' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlopen' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlsym' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlclose' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlerror' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlopen' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlsym' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlclose' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'strlen' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'strcmp' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to '__errno' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlclose' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'strtol' codec/common/src/cpu-features.o:cpu-features.c:function android_cpuInit: error: undefined reference to 'dlclose' codec/common/src/cpu-features.o:cpu-features.c:function wels_getCpuFamily: error: undefined reference to 'pthread_once' codec/common/src/cpu-features.o:cpu-features.c:function wels_getCpuFeatures: error: undefined reference to 'pthread_once' codec/common/src/cpu-features.o:cpu-features.c:function wels_getCpuCount: error: undefined reference to 'pthread_once' codec/common/src/cpu-features.o:cpu-features.c:function wels_setCpu: error: undefined reference to 'pthread_once' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsSnprintf: error: undefined reference to 'vsnprintf' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsStrncpy: error: undefined reference to 'strncpy' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsVsnprintf: error: undefined reference to 'vsnprintf' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsFopen: error: undefined reference to 'fopen' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsFclose: error: undefined reference to 'fclose' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsStrftime: error: undefined reference to 'localtime' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsStrftime: error: undefined reference to 'strftime' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsStrcat: error: undefined reference to 'strlen' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsFwrite: error: undefined reference to 'fwrite' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsFseek: error: undefined reference to 'fseek' codec/common/src/crt_util_safe_x.o:crt_util_safe_x.cpp:function WelsFflush: error: undefined reference to 'fflush' codec/common/src/welsCodecTrace.o:welsCodecTrace.cpp:function welsStderrTrace(void*, int, char const*): error: undefined reference to 'fprintf' codec/common/src/welsCodecTrace.o:welsCodecTrace.cpp:function welsStderrTrace(void*, int, char const*): error: undefined reference to '__sF' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsMutexInit: error: undefined reference to 'pthread_mutex_init' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsMutexLock: error: undefined reference to 'pthread_mutex_lock' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsMutexDestroy: error: undefined reference to 'pthread_mutex_destroy' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsThreadCreate: error: undefined reference to 'pthread_attr_init' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsThreadCreate: error: undefined reference to 'pthread_create' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsThreadCreate: error: undefined reference to 'pthread_attr_destroy' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsThreadSetName: error: undefined reference to 'pthread_self' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsThreadSetName: error: undefined reference to 'pthread_setname_np' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsThreadJoin: error: undefined reference to 'pthread_join' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsThreadSelf: error: undefined reference to 'pthread_self' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsEventOpen: error: undefined reference to 'sem_init' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsEventClose: error: undefined reference to 'sem_destroy' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsSleep: error: undefined reference to 'usleep' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsEventSignal: error: undefined reference to 'sem_post' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsEventWait: error: undefined reference to 'sem_wait' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsEventWaitWithTimeOut: error: undefined reference to 'sem_wait' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsEventWaitWithTimeOut: error: undefined reference to 'sem_timedwait' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsMultipleEventsWaitSingleBlocking: error: undefined reference to 'sem_wait' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsMultipleEventsWaitSingleBlocking: error: undefined reference to 'usleep' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsMultipleEventsWaitSingleBlocking: error: undefined reference to 'sem_trywait' codec/common/src/WelsThreadLib.o:WelsThreadLib.cpp:function WelsMultipleEventsWaitSingleBlocking: error: undefined reference to 'usleep' codec/common/src/WelsThreadPool.o:WelsThreadPool.cpp:function WelsCommon::CWelsThreadPool::SetThreadNum(int): error: undefined reference to '__cxa_guard_acquire' codec/common/src/WelsThreadPool.o:WelsThreadPool.cpp:function WelsCommon::CWelsThreadPool::SetThreadNum(int): error: undefined reference to '__cxa_guard_release' codec/common/src/WelsThreadPool.o:WelsThreadPool.cpp:function WelsCommon::CWelsThreadPool::IsReferenced(): error: undefined reference to '__cxa_guard_acquire' codec/common/src/WelsThreadPool.o:WelsThreadPool.cpp:function WelsCommon::CWelsThreadPool::IsReferenced(): error: undefined reference to '__cxa_guard_release' codec/common/src/WelsThreadPool.o:WelsThreadPool.cpp:function WelsCommon::CWelsThreadPool::AddReference(): error: undefined reference to '__cxa_guard_acquire' codec/common/src/WelsThreadPool.o:WelsThreadPool.cpp:function WelsCommon::CWelsThreadPool::AddReference(): error: undefined reference to '__cxa_guard_release' codec/common/src/WelsThreadPool.o:WelsThreadPool.cpp:function WelsCommon::CWelsThreadPool::RemoveInstance(): error: undefined reference to '__cxa_guard_acquire' codec/common/src/WelsThreadPool.o:WelsThreadPool.cpp:function WelsCommon::CWelsThreadPool::RemoveInstance(): error: undefined reference to '__cxa_guard_release' /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/lib1funcs.S:1337: error: undefined reference to 'raise' /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:378: error: undefined reference to 'abort' /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:384: error: undefined reference to 'abort' /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:289: error: undefined reference to 'abort' /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:505: error: undefined reference to 'abort' collect2: error: ld returned 1 exit status make: *** [libopenh264.so] Error 1
can you provide you build command line? thanks.
if there is no update, this issue will be closed.