Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build issue with new openwebrtc update #17

Closed
mccob opened this issue Oct 20, 2014 · 5 comments
Closed

build issue with new openwebrtc update #17

mccob opened this issue Oct 20, 2014 · 5 comments

Comments

@mccob
Copy link

mccob commented Oct 20, 2014

ld: warning: ARM function not 4-byte aligned: _ffi_call_SYSV from ../../openwebrtc/openwebrtc-deps-armv7-ios/lib/libffi.a(sysv.o)
ld: warning: ARM function not 4-byte aligned: .ffi_call_SYSV_end from ../../openwebrtc/openwebrtc-deps-armv7-ios/lib/libffi.a(sysv.o)
ld: warning: ARM function not 4-byte aligned: _ffi_closure_SYSV from ../../openwebrtc/openwebrtc-deps-armv7-ios/lib/libffi.a(sysv.o)
ld: warning: ARM function not 4-byte aligned: .Lclosure_epilogue from ../../openwebrtc/openwebrtc-deps-armv7-ios/lib/libffi.a(sysv.o)
ld: warning: ARM function not 4-byte aligned: .Lretint from ../../openwebrtc/openwebrtc-deps-armv7-ios/lib/libffi.a(sysv.o)
ld: warning: ARM function not 4-byte aligned: .Lretlonglong from ../../openwebrtc/openwebrtc-deps-armv7-ios/lib/libffi.a(sysv.o)
ld: warning: ARM function not 4-byte aligned: .ffi_closure_SYSV_end from ../../openwebrtc/openwebrtc-deps-armv7-ios/lib/libffi.a(sysv.o)
ld: warning: ARM function not 4-byte aligned: _ffi_arm_trampoline from ../../openwebrtc/openwebrtc-deps-armv7-ios/lib/libffi.a(sysv.o)
Undefined symbols for architecture armv7:
"_kVTCompressionPropertyKey_MaxKeyFrameInterval", referenced from:
_gst_vtenc_session_configure_max_keyframe_interval in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_kVTCompressionPropertyKey_ExpectedFrameRate", referenced from:
_gst_vtenc_session_configure_expected_framerate in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_kVTCompressionPropertyKey_AverageBitRate", referenced from:
_gst_vtenc_session_configure_bitrate in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_kVTProfileLevel_H264_Baseline_AutoLevel", referenced from:
_gst_vtenc_create_session in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_kVTCompressionPropertyKey_AllowTemporalCompression", referenced from:
_gst_vtenc_create_session in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTSessionCopyProperty", referenced from:
_gst_vtenc_session_dump_property in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTCompressionSessionCreate", referenced from:
_plugin_init in libgstapplemedia.a(libgstapplemedia_la-plugin.o)
_gst_vtenc_create_session in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTCompressionSessionEncodeFrame", referenced from:
_gst_vtenc_encode_frame in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTSessionCopySupportedPropertyDictionary", referenced from:
_gst_vtenc_session_dump_properties in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTDecompressionSessionCreate", referenced from:
_gst_vtdec_create_session in libgstapplemedia.a(libgstapplemedia_la-vtdec.o)
"_VTCompressionSessionPrepareToEncodeFrames", referenced from:
_gst_vtenc_create_session in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
_gst_vtenc_create_session in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTCompressionSessionInvalidate", referenced from:
_gst_vtenc_destroy_session in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration", referenced from:
_gst_vtenc_session_configure_max_keyframe_interval_duration in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTSessionSetProperty", referenced from:
_gst_vtenc_create_session in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
_gst_vtenc_session_configure_property_int in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
_gst_vtenc_session_configure_property_double in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTDecompressionSessionInvalidate", referenced from:
_gst_vtdec_invalidate_session in libgstapplemedia.a(libgstapplemedia_la-vtdec.o)
"_kVTCompressionPropertyKey_ProfileLevel", referenced from:
_gst_vtenc_create_session in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTCompressionSessionCompleteFrames", referenced from:
_gst_vtenc_finish in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_kVTEncodeFrameOptionKey_ForceKeyFrame", referenced from:
_gst_vtenc_encode_frame in libgstapplemedia.a(libgstapplemedia_la-vtenc.o)
"_VTDecompressionSessionWaitForAsynchronousFrames", referenced from:
_gst_vtdec_push_frames_if_needed in libgstapplemedia.a(libgstapplemedia_la-vtdec.o)
"_VTDecompressionSessionDecodeFrame", referenced from:
_gst_vtdec_handle_frame in libgstapplemedia.a(libgstapplemedia_la-vtdec.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@superdump
Copy link
Contributor

EricssonResearch/openwebrtc@35757e8

I pushed the commit that both updated the scripts to use the GStreamer 1.4 branch which added the use of VideoToolbox on iOS and also the change to build.sh which added the linking against the VideoToolbox framework in the same commit so that people wouldn't have problems. Are you using master of openwebrtc?

@mccob
Copy link
Author

mccob commented Oct 20, 2014

yes followed update webrtc here : https://github.com/EricssonResearch/openwebrtc/wiki/Building-OpenWebRTC

@mccob
Copy link
Author

mccob commented Oct 21, 2014

downloaded again and build again, still same thing

@superdump
Copy link
Contributor

Do you have at least the iOS version 8 SDK? VideoToolbox only arrived in iOS 8. But you probably want to updated to iOS 8.1 that was released yesterday.

@stefanalund
Copy link
Contributor

Problem fixed in 4c9ae9a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants