2013-08-11, 17:55
Hi,
I am receiving an error during the linking phase when building for iOS.
I have followed the instructions in Readme.ios to the letter(twice) and am still getting the same error when building the XBMC-iOS target in xcode.
The only issue that i had during the "Install Cross libs and runtime environment" section was a problem with the dnssd.c file as detailed here.
http://questiontrack.com/compile-xbmc-fo...18223.html
Following the instructions here allow the make to complete and all other section completed without incident.
Xcode will compile the source code without errors(15 warnings) but as soon as it gets to the linking stage it fails with the above error.
I am running Xcode 4.6.3, iOS 6.1 and Mountain Lion 10.8.4. Compiler is the Default as set in the project "Apple LLVM Compiler 4.2"
Thanks in advance
I am receiving an error during the linking phase when building for iOS.
I have followed the instructions in Readme.ios to the letter(twice) and am still getting the same error when building the XBMC-iOS target in xcode.
Code:
d: warning: ARM function not 4-byte aligned: __b_evaluation from /Users/newky2k/xbmc/lib/ffmpeg/libavcodec/libavcodec.a(simple_idct_arm.o)
ld: warning: ARM function not 4-byte aligned: __a_evaluation from /Users/newky2k/xbmc/lib/ffmpeg/libavcodec/libavcodec.a(simple_idct_arm.o)
ld: warning: ARM function not 4-byte aligned: __end_b_evaluation2 from /Users/newky2k/xbmc/lib/ffmpeg/libavcodec/libavcodec.a(simple_idct_arm.o)
ld: warning: ARM function not 4-byte aligned: __a_evaluation2 from /Users/newky2k/xbmc/lib/ffmpeg/libavcodec/libavcodec.a(simple_idct_arm.o)
ld: warning: ARM function not 4-byte aligned: __end_simple_idct_arm from /Users/newky2k/xbmc/lib/ffmpeg/libavcodec/libavcodec.a(simple_idct_arm.o)
Undefined symbols for architecture armv7:
"JSONRPC::CProfilesOperations::GetProfiles(CStdStr<char> const&, JSONRPC::ITransportLayer*, JSONRPC::IClient*, CVariant const&, CVariant&)", referenced from:
___cxx_global_var_init9 in JSONServiceDescription.o
"JSONRPC::CProfilesOperations::LoadProfile(CStdStr<char> const&, JSONRPC::ITransportLayer*, JSONRPC::IClient*, CVariant const&, CVariant&)", referenced from:
___cxx_global_var_init9 in JSONServiceDescription.o
"JSONRPC::CProfilesOperations::GetCurrentProfile(CStdStr<char> const&, JSONRPC::ITransportLayer*, JSONRPC::IClient*, CVariant const&, CVariant&)", referenced from:
___cxx_global_var_init9 in JSONServiceDescription.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The only issue that i had during the "Install Cross libs and runtime environment" section was a problem with the dnssd.c file as detailed here.
http://questiontrack.com/compile-xbmc-fo...18223.html
Following the instructions here allow the make to complete and all other section completed without incident.
Xcode will compile the source code without errors(15 warnings) but as soon as it gets to the linking stage it fails with the above error.
I am running Xcode 4.6.3, iOS 6.1 and Mountain Lion 10.8.4. Compiler is the Default as set in the project "Apple LLVM Compiler 4.2"
Thanks in advance