Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

error MT5210: Native linking failed, undefined symbol: ___divdc3.

$
0
0

Hello,

When i try building my project for ARMv7 only everything goes fine. But when i build for ARMv7 and ARM64 i get this error. I had built and published successfully in App Store with ARM64 support before. But with xamarin update this fails now. Here is log and my xcode version is 6.2. I read xcode 7 is needed but i have to upgrade OS to be able to do that. So any help is appreciated. I am using BTProgressHUD.dll and ZLib.dll both i converted to unified api and built for all platforms.

Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch execution started with arguments: --cache /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache --dev /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/bin/iPhone/Distribution/Timesheet.app --executable Timesheet --linksdkonly --sdkroot /Applications/Xcode.app/Contents/Developer --sdk 8.2 --targetver 6.0 --new-refcount --abi=armv7,arm64 --symbollist /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-symbols.list --dsym=no -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll -r /Users/thomas/Projects/Timesheet_ML_32-64bit/BTProgressHUD.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll -r /Users/thomas/Projects/Timesheet_ML_32-64bit/ZBar.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll -r /Users/thomas/Projects/Timesheet_ML_32-64bit/Tasky.Core/bin/iPhone/Distribution/TimesheetCoreiOS.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll -r /Users/thomas/Projects/Timesheet_ML_32-64bit/BTProgressHUD.dll -r /Users/thomas/Projects/Timesheet_ML_32-64bit/ZBar.dll -r /Users/thomas/Projects/Timesheet_ML_32-64bit/Tasky.Core/bin/iPhone/Distribution/TimesheetCoreiOS.dll --target-framework Xamarin.iOS,v1.0 /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/bin/iPhone/Distribution//Timesheet.exe
MTOUCH: warning MT0078: The recommended Xcode version for Xamarin.iOS 9.6.1 is Xcode 7.0 or later. The current Xcode version (found in /Applications/Xcode.app/Contents/Developer) is 6.2.
Xamarin.iOS 9.6.1 using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -liconv -Wl,-pie -arch arm64 -miphoneos-version-min=6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/Timesheet.exe.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/Xamarin.iOS.dll.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/mscorlib.dll.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/System.dll.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/System.Xml.dll.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/System.Core.dll.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/TimesheetCoreiOS.dll.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/ZBar.dll.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/BTProgressHUD.dll.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/registrar.arm64.o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/main.arm64.o -force_load /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/libzbar.a -o /Users/thomas/Projects/Timesheet_ML_32-64bit/Timesheet/obj/iPhone/Distribution/mtouch-cache/64/Output/Timesheet -framework QuartzCore -framework AssetsLibrary -framework Foundation -framework UIKit -framework CoreImage -framework CoreLocation -framework CoreGraphics -framework CFNetwork -framework AVFoundation -framework CoreMedia -framework CoreVideo -lz -liconv -u _ZBarReaderControllerResults -u _xamarin_IntPtr_objc_msgSend_IntPtr -u _xamarin_IntPtr_objc_msgSendSuper_IntPtr -u _xamarin_release_managed_ref -u _xamarin_create_managed_ref -u _xamarin_get_block_descriptor -u _zbar_symbol_next -u _zbar_symbol_set_first_symbol -u _zbar_symbol_set_first_unfiltered -u _zbar_version -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -u _xamarin_start_wwan -u _monotouch_GetFolderPath -u _xamarin_timezone_get_data -u _xamarin_log /Library/Frameworks/Xamarin.iOS.framework/Versions/9.6.1.9/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libmonosgen-2.0.a /Library/Frameworks/Xamarin.iOS.framework/Versions/9.6.1.9/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libxamarin.a /Library/Frameworks/Xamarin.iOS.framework/Versions/9.6.1.9/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libapp.a
Undefined symbols for architecture arm64:
"___divdc3", referenced from:
_heuristic_adjust in libmonosgen-2.0.a(libmonoruntimesgen_la-threadpool-ms.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

MTOUCH: error MT5210: Native linking failed, undefined symbol: ___divdc3. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
MTOUCH: error MT5202: Native linking failed. Please review the build log.
Task "MTouch" execution -- FAILED
Done building target "_CompileToNative" in project "/Users/thomas/Projects


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>