-
Notifications
You must be signed in to change notification settings - Fork 479
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
Error during linking with android app #24
Comments
Apparently I'm an idiot. I blame the lack of caffeine The application you build HAS to use the same toolchain you used to compile boost. Would be lovely if we could pick the toolchain with a parameter for the boost compilation |
Thats a good idea, how would you like to pick the tool chain? with just a On Thu, Mar 28, 2013 at 1:43 PM, Emerix notifications@github.com wrote:
Moritz Wundke |
I'd suggest leaving it as is for default and if you want another maybe adding -toolchain46 (or the others) as a parameter for calling build-android.sh |
Yep that seams to be the best option. On Sat, Mar 30, 2013 at 4:32 PM, Emerix notifications@github.com wrote:
Moritz Wundke |
Hey there!
I'm getting the following weird errors when linking my project against the boost libraries. Any idea where that might be coming from?
I don't suppose renaming the files by taking the -gcc-mt from the filename broke anything.
I compiled the 1.53 Boost with the official NDK 8d according to your instructions on my Ubuntu VM
1>Link:
1>
.LTHUNK0' referenced in section
.text._ZN5boost16exception_detail10bad_alloc_D1Ev[_ZN5boost16exception_detail10bad_alloc_D1Ev]' of D:/master/svn/ogre/ogre/AndroidDependencies/lib\libboost_thread.a(thread.o): defined in discarded section.text._ZN5boost16exception_detail10bad_alloc_D2Ev[_ZN5boost16exception_detail10bad_alloc_D5Ev]' of D:/master/svn/ogre/ogre/AndroidDependencies/lib\libboost_thread.a(thread.o) 1>
.LTHUNK2' referenced in section.text._ZN5boost16exception_detail14bad_exception_D1Ev[_ZN5boost16exception_detail14bad_exception_D1Ev]' of D:/master/svn/ogre/ogre/AndroidDependencies/lib\libboost_thread.a(thread.o): defined in discarded section
.text._ZN5boost16exception_detail14bad_exception_D2Ev[_ZN5boost16exception_detail14bad_exception_D5Ev]' of D:/master/svn/ogre/ogre/AndroidDependencies/lib\libboost_thread.a(thread.o)1>
.LTHUNK30' referenced in section
.text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED1Ev]' of D:/master/svn/ogre/ogre/AndroidDependencies/lib\libboost_thread.a(thread.o): defined in discarded section.text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED5Ev]' of D:/master/svn/ogre/ogre/AndroidDependencies/lib\libboost_thread.a(thread.o) 1>
.LTHUNK36' referenced in section.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev]' of D:/master/svn/ogre/ogre/AndroidDependencies/lib\libboost_thread.a(thread.o): defined in discarded section
.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED5Ev]' of D:/master/svn/ogre/ogre/AndroidDependencies/lib\libboost_thread.a(thread.o)1>collect2.exe : error : ld returned 1 exit status
The text was updated successfully, but these errors were encountered: