Exception: IL2CPP Linkage failed

Hello, i am getting this error when im trying to build an android .apk

Exception: IL2CPP Linkage failed
UnityEditor.Android.AndroidIl2CppClangCompiler.CompileDynamicLibrary (System.String libraryFile, IEnumerable`1 sourceFiles, IEnumerable`1 includePaths, IEnumerable`1 libraries, IEnumerable`1 libraryPaths)
UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:223)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:132)
UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.PrepareIl2cppFiles (UnityEditor.Android.PostProcessor.PostProcessorContext context, UnityEditor.Android.AndroidIl2CppPlatformProvider provider)
UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:176)
UnityEditor.HostView:OnGUI()

There are a couple more errors that come with it, and they are :

Failed running E:/android-ndk-r10e/toolchains/llvm-3.6/prebuilt/windows-x86_64/bin/clang++ -o "Temp/StagingArea\assets\bin\Data\Native\x86\libil2cpp.so.debug" -Wl,-soname,libil2cpp.so.debug --sysroot "E:/android-ndk-r10e/platforms/android-9/arch-x86" -gcc-toolchain "E:/android-ndk-r10e/toolchains/x86-4.9/prebuilt/windows-x86_64" -target i686-none-linux-android -shared -fuse-ld=gold -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp-firstpass_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_10.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_11.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_5.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_6.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_7.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_8.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Assembly-CSharp_9.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_DOTween46_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_DOTween_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_DOTween_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_FyberLitJson_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_FyberPlugin_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_10.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_11.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_12.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_13.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_14.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_15.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_16.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_5.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_6.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_7.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_8.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Generics_9.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Ionic.Zlib.CF_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Mono.Posix_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Mono.Security_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Mono.Security_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_5.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_6.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_7.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_8.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_mscorlib_9.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Opencoding.CommandHandlers_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Opencoding.Console_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Opencoding.LogHistory_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Opencoding.Shared_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_P31RestKit_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_Shared_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System.Configuration_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System.Core_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System.Security_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System.Xml_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System.Xml_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System.Xml_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System.Xml_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_System_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_UnityEngine.UI_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_UnityEngine.UI_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_UnityEngine_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_UnityEngine_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_UnityEngine_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_UnityEngine_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Bulk_VacuumShaders.CurvedWorld_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\GenericMethods0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\GenericMethods1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\GenericMethods2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppAttributes.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCodeRegistration.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValuesTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_0Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_10Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_11Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_12Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_13Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_14Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_15Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_16Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_17Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_18Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_19Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_1Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_20Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_21Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_22Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_23Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_24Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_25Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_26Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_27Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_28Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_29Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_2Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_30Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_31Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_32Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_33Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_34Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_35Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_36Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_37Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_38Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_39Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_3Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_40Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_41Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_42Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_43Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_4Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_5Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_6Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_7Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_8Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppCompilerCalculateTypeValues_9Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppDelegateWrappersManagedToNativeTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericClassTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericInstDefinitions.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericMethodDefinitions.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericMethodPointerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGenericMethodTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppGuids.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppInvokerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppMarshalingFunctionsTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppMetadataRegistration.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppMetadataUsage.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppMethodPointerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppReversePInvokeWrapperTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\x86\Il2CppTypeDefinitions.o"    -L "E:\Software\Unity3d\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\il2cpp\Release/StaticLibs/x86" -lil2cpp -lbdwgc -L "E:/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86" -lgnustl_static

Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_0.cpp:32690: error: undefined reference to '_ReportAchievement'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_0.cpp:32690: error: undefined reference to '_ReportAchievement'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.<CompileDynamicLibrary>c__AnonStorey2:<>m__6(TargetArchCompilerSettings)

Failed running E:/android-ndk-r10e/toolchains/llvm-3.6/prebuilt/windows-x86_64/bin/clang++ -o "Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so.debug" -Wl,-soname,libil2cpp.so.debug --sysroot "E:/android-ndk-r10e/platforms/android-9/arch-arm" -gcc-toolchain "E:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64" -target armv7-none-linux-androideabi -shared -fuse-ld=gold -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp-firstpass_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_10.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_11.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_5.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_6.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_7.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_8.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Assembly-CSharp_9.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_DOTween46_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_DOTween_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_DOTween_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_FyberLitJson_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_FyberPlugin_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_10.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_11.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_12.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_13.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_14.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_15.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_16.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_5.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_6.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_7.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_8.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Generics_9.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Ionic.Zlib.CF_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Mono.Posix_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Mono.Security_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Mono.Security_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_4.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_5.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_6.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_7.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_8.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_mscorlib_9.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Opencoding.CommandHandlers_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Opencoding.Console_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Opencoding.LogHistory_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Opencoding.Shared_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_P31RestKit_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_Shared_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System.Configuration_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System.Core_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System.Security_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System.Xml_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System.Xml_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System.Xml_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System.Xml_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_System_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_UnityEngine.UI_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_UnityEngine.UI_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_UnityEngine_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_UnityEngine_1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_UnityEngine_2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_UnityEngine_3.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Bulk_VacuumShaders.CurvedWorld_0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\GenericMethods0.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\GenericMethods1.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\GenericMethods2.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppAttributes.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCodeRegistration.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValuesTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_0Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_10Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_11Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_12Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_13Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_14Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_15Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_16Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_17Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_18Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_19Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_1Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_20Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_21Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_22Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_23Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_24Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_25Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_26Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_27Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_28Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_29Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_2Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_30Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_31Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_32Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_33Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_34Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_35Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_36Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_37Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_38Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_39Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_3Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_40Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_41Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_42Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_43Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_4Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_5Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_6Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_7Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_8Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppCompilerCalculateTypeValues_9Table.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppDelegateWrappersManagedToNativeTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericClassTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericInstDefinitions.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericMethodDefinitions.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericMethodPointerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGenericMethodTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppGuids.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppInvokerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppMarshalingFunctionsTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppMetadataRegistration.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppMetadataUsage.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppMethodPointerTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppReversePInvokeWrapperTable.o" "Temp/StagingArea\Il2Cpp\il2cppOutput\armeabi-v7a\Il2CppTypeDefinitions.o"    -L "E:\Software\Unity3d\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\il2cpp\Release/StaticLibs/armeabi-v7a" -lil2cpp -lbdwgc -L "E:/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a" -lgnustl_static

Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_0.cpp:32690: error: undefined reference to '_ReportAchievement'
Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_0.cpp:32690: error: undefined reference to '_ReportAchievement'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.<CompileDynamicLibrary>c__AnonStorey2:<>m__6(TargetArchCompilerSettings)
<ParallelFor>c__AnonStorey7C`1:<>m__11A(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)

Failed running E:/android-ndk-r10e/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-objcopy "Temp/StagingArea\assets\bin\Data\Native\x86\libil2cpp.so.debug" "Temp/StagingArea\assets\bin\Data\Native\x86\libil2cpp.so" --strip-all

E:/android-ndk-r10e/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-objcopy: 'Temp/StagingArea\assets\bin\Data\Native\x86\libil2cpp.so.debug': No such file
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.<CompileDynamicLibrary>c__AnonStorey2:<>m__7(TargetArchCompilerSettings)
<ParallelFor>c__AnonStorey7C`1:<>m__11A(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)


Failed running E:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-objcopy "Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so.debug" "Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so" --strip-all

E:/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-objcopy: 'Temp/StagingArea\assets\bin\Data\Native\armeabi-v7a\libil2cpp.so.debug': No such file
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.Android.<CompileDynamicLibrary>c__AnonStorey2:<>m__7(TargetArchCompilerSettings)
<ParallelFor>c__AnonStorey7C`1:<>m__11A(Object) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:89)

The key part of this error message is:

Temp/StagingArea\Il2Cpp\il2cppOutput/Bulk_Assembly-CSharp-firstpass_0.cpp:32690: error: undefined reference to '_ReportAchievement'

This error indicates that the script code in the project has an extern static method named _ReportAchievement. This method should correspond to a native method of the same name in a native DLL which is compiled for Android.

IL2CPP requires that this native method exist at link time (which is different from Mono, where it is required only at runtime if or when it is used).

So you should be able to correct this issue by either:

  1. Make a native method named _ReportAchievement available for the Android build, or
  2. Use a #if declaration in the C# code around the extern static declaration to remove it from the Android build.