It has been some times since I had to set this up, but if I remember correctly, there was an .so file I needed to symlink somewhere?
Build attempt is for Windows, cross building from Linux.
// Edit: I should mention that the winlibs protobuf source and bin file exist in the proper location. Pretty sure without that it would have failed much sooner? Guess I could be wrong.
Code: Select all
..\..\..\winlibs\win32\boost_libs\libboost_thread-mgw47-mt-1_53.a(thread.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEEE]' has different size
..\..\..\winlibs\win32\boost_libs\libboost_thread-mgw47-mt-1_53.a(thread.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEEE]' has different size
..\..\..\winlibs\win32\boost_libs\libboost_thread-mgw47-mt-1_53.a(thread.o): duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt9bad_allocEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt9bad_allocEEEE]' has different size
..\..\..\winlibs\win32\boost_libs\libboost_thread-mgw47-mt-1_53.a(thread.o): duplicate section `.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEEE[__ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEEE]' has different size
..\..\..\winlibs\win32\boost_libs\libboost_thread-mgw47-mt-1_53.a(thread.o): duplicate section `.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEEE[__ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEEE]' has different size
..\..\..\winlibs\win32\boost_libs\libboost_thread-mgw47-mt-1_53.a(thread.o): duplicate section `.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorISt9bad_allocEEEE[__ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorISt9bad_allocEEEE]' has different size
..\..\..\winlibs\win32\boost_libs\libboost_thread-mgw47-mt-1_53.a(thread.o): duplicate section `.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEEE[__ZTSN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEEE]' has different size
..\..\..\winlibs\win32\boost_libs\libboost_thread-mgw47-mt-1_53.a(thread.o): duplicate section `.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_10lock_errorEEE[__ZTSN5boost16exception_detail19error_info_injectorINS_10lock_errorEEE]' has different size
..\..\build\tmp\Armagetron_Dedicated___Win32_Release\src\engine\eEventNotification.o:eEventNotification.cpp:(.text+0x209): undefined reference to `google::protobuf::internal::kEmptyString'
..\..\build\tmp\Armagetron_Dedicated___Win32_Release\src\engine\eEventNotification.o:eEventNotification.cpp:(.text+0x230): undefined reference to `google::protobuf::internal::kEmptyString'
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: ..\..\build\tmp\Armagetron_Dedicated___Win32_Release\src\engine\eEventNotification.o: bad reloc address 0x1 in section `.text$_ZNK16nProtoBufMessageIN6Engine17EventNotificationEE20DoAccessWorkProtoBufEv[__ZNK16nProtoBufMessageIN6Engine17EventNotificationEE20DoAccessWorkProtoBufEv]'
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (10 minute(s), 15 second(s))
3 error(s), 32 warning(s) (10 minute(s), 15 second(s))
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:heap:HeapSetInformation 0x110000 0 0x81fc0c 4
fixme:heap:HeapSetInformation 0x16e1000 0 0x81fc0c 4
fixme:heap:HeapSetInformation 0x2c4000 0 0x81fc0c 4
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored