desura / Desurium

Free online games platform (juegos gratis), with an open source client. LGPL repo for Desura client. Potentially out of date. See https://github.com/desura/desura-app for newest (LGPL) client.
https://www.desura.com/es
GNU General Public License v3.0
270 stars 42 forks source link

mcf_upload_cli fails to compile on arch with boost 1.53.0 #533

Closed matthiaskrgr closed 11 years ago

matthiaskrgr commented 11 years ago

[ 99%] Built target crashdlg [ 99%] Built target desura_bittest Linking CXX executable mcf_upload_cli ../../shared/usercore/libusercore.so: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::errorcode)' collect2: error: ld returned 1 exit status make[2]: _\ [src/tools/mcf_upload_cli/mcf_upload_cli] Error 1 make[1]: * [src/tools/mcf_upload_cli/CMakeFiles/mcf_upload_cli.dir/all] Error 2 make: * [all] Error 2

karolherbst commented 11 years ago

Could you find out which object file has a reference to boost filesystem?

Normally the linkage to boost filesystem should be pulled in by util or util_fs.

matthiaskrgr commented 11 years ago

On 04/02/2013 07:09 AM, Karol Herbst wrote:

Could you find out which object file has a reference to boost filesystem?

Not yet due to lack of knowledge? object files are the .o ones, right? I tried to run ldd on a .o file but that didn't work.

Normally the linkage to boost filesystem should be pulled in by util or util_fs.

— Reply to this email directly or view it on GitHub https://github.com/lodle/Desurium/issues/533#issuecomment-15754955.

karolherbst commented 11 years ago

nm is the right command for this

matthiaskrgr commented 11 years ago

20:44~/vcs/github/desurium_fork_bkp/build/src/tools/mcf_upload_cli/CMakeFiles/mcf_upload_cli.dir/code[master]% nm main.cpp.o U ctype_b_loc U cxa_atexit U cxa_begin_catch U cxa_end_catch U cxa_get_exception_ptr U cxa_pure_virtual U cxa_rethrow U dso_handle 0000000000000000 V DW.ref.gxx_personality_v0 0000000000000000 V DW.ref._ZTI11gcException U __dynamic_cast U FactoryBuilderUC 0000000000000000 B g_bUploadDone U _GLOBAL_OFFSETTABLE 0000000000000310 t _GLOBALsub_I_main.cpp 0000000000000020 B g_pUserHandle 0000000000000010 B g_strMcfOutPath 0000000000000008 B g_strUploadHash 0000000000000018 B g_WaitCon U gxx_personality_v0 0000000000000000 r .LC0 0000000000000003 r .LC1 0000000000000020 r .LC10 000000000000001c r .LC11 0000000000000039 r .LC12 0000000000000070 r .LC13 0000000000000098 r .LC14 00000000000000c0 r .LC15 00000000000000e8 r .LC16 0000000000000108 r .LC17 0000000000000040 r .LC18 0000000000000051 r .LC19 0000000000000000 r .LC2 000000000000006a r .LC20 000000000000006c r .LC21 000000000000006e r .LC22 0000000000000070 r .LC23 0000000000000072 r .LC24 0000000000000074 r .LC25 0000000000000077 r .LC26 000000000000007a r .LC27 000000000000007d r .LC28 0000000000000080 r .LC29 000000000000000a r .LC3 0000000000000083 r .LC30 0000000000000085 r .LC31 000000000000009e r .LC32 00000000000000b0 r .LC33 000000000000000c r .LC34 00000000000000c3 r .LC35 00000000000000da r .LC36 00000000000000ef r .LC37 00000000000000f4 r .LC38 00000000000000fa r .LC39 000000000000000b r .LC4 0000000000000100 r .LC40 0000000000000138 r .LC41 0000000000000106 r .LC42 0000000000000120 r .LC43 000000000000013d r .LC44 0000000000000142 r .LC45 000000000000015f r .LC46 000000000000017c r .LC47 0000000000000160 r .LC48 0000000000000198 r .LC49 000000000000000f r .LC5 00000000000001b6 r .LC50 0000000000000180 r .LC51 00000000000001d4 r .LC52 00000000000001a0 r .LC53 0000000000000000 r .LC54 0000000000000008 r .LC56 00000000000001e0 r .LC57 0000000000000210 r .LC58 0000000000000000 r .LC59 0000000000000013 r .LC6 00000000000001f1 r .LC61 0000000000000016 r .LC7 0000000000000019 r .LC8 0000000000000000 r .LC9 0000000000000000 T main U memcmp U memmove U printf w pthread_cancel U pthread_mutex_trylock U pthread_mutex_unlock U pthread_self U putchar U puts U stdout U strcmp U strlen U strtol U _Unwind_Resume U vfprintf U wprintf 0000000000000000 T _Z10OnNeedCvarRN8UserCore4Misc6CVar_sE 00000000000006b0 T _Z11ProcessArgsiPPc 0000000000000ee0 T _Z11StartUpload8DesuraId 0000000000000440 T _Z12ValidateArgsRSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEE 0000000000001980 T _Z13OnUploadErrorR11gcException 00000000000017c0 T _Z16OnMCFCreateErrorR11gcException 00000000000003e0 T _Z16OnUploadCompleteRj 00000000000000d0 T _Z16OnUploadProgressRN8UserCore4Misc10UploadInfoE 0000000000001600 T _Z18OnStartUploadErrorR11gcException 0000000000000410 T _Z19OnMCFCreateCompleteR12gcBaseStringIcE 0000000000000010 T _Z19OnMCFCreateProgressRN7MCFCore4Misc12ProgressInfoE 00000000000000a0 T _Z21OnStartUploadCompleteR12gcBaseStringIcE 0000000000000000 W Z3MsgIcEvPKT 0000000000001200 T Z5LoginRSsS 0000000000000340 T _Z6LogMsgiSbIwSt11char_traitsIwESaIwEEP5Color 0000000000000320 T _Z6LogMsgiSsP5Color 0000000000000000 W _Z7WarningIcEv12gcBaseStringIT_E 0000000000000360 T _Z8ShowHelpv 0000000000000fc0 T _Z9CreateMcf8DesuraIdRSs 0000000000000270 T _Z9PrintfMsgPKcz 00000000000010e0 T _Z9UploadMcfv U _ZdlPv 0000000000000000 W _ZlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_RK11gcException 0000000000000000 W ZN11gcExceptionC1ERKS 0000000000000000 W ZN11gcExceptionC2ERKS 0000000000000000 n ZN11gcExceptionC5ERKS 0000000000000000 W _ZN11gcExceptionD0Ev 0000000000000000 W _ZN11gcExceptionD1Ev 0000000000000000 W _ZN11gcExceptionD2Ev 0000000000000000 n _ZN11gcExceptionD5Ev 0000000000000000 W _ZN12gcBaseStringIcEC1Ic11gcExceptionEEPKTRKT0 0000000000000000 W _ZN12gcBaseStringIcEC2Ic11gcExceptionEEPKTRKT0 0000000000000000 n _ZN12gcBaseStringIcEC5Ic11gcExceptionEEPKTRKT0 0000000000000000 W _ZN12gcBaseStringIcED1Ev 0000000000000000 W _ZN12gcBaseStringIcED2Ev 0000000000000000 n _ZN12gcBaseStringIcED5Ev 0000000000000000 W _ZN16QuickThreadMutex6unlockEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_E5cloneEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0E6equalsEPS5 0000000000000000 W _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_E7destroyEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0EclES1 0000000000000000 W _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_EclEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_ED0Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_ED1Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_ED2Ev 0000000000000000 n _ZN17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_ED5Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_E5cloneEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1E6equalsEPS6 0000000000000000 W _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_E7destroyEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1EclES2 0000000000000000 W _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_EclEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_ED0Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_ED1Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_ED2Ev 0000000000000000 n _ZN17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_ED5Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjE5cloneEv 0000000000000000 W ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjE6equalsEPS4 0000000000000000 W _ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjE7destroyEv 0000000000000000 W ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjEclES0 0000000000000000 W _ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjEclEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjED0Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjED1Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjED2Ev 0000000000000000 n _ZN17FunctDelegateBaseIPFvRjE9DelegateIIjEjED5Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_E5cloneEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2E6equalsEPS7 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_E7destroyEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2EclES3 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_EclEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_ED0Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_ED1Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_ED2Ev 0000000000000000 n _ZN17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_ED5Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_E5cloneEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2E6equalsEPS7 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_E7destroyEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2EclES3 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_EclEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_ED0Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_ED1Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_ED2Ev 0000000000000000 n _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_ED5Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_E5cloneEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2E6equalsEPS7 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_E7destroyEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2EclES3 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_EclEv 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_ED0Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_ED1Ev 0000000000000000 W _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_ED2Ev 0000000000000000 n _ZN17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_ED5Ev U _ZN4UTIL2OS14getAppDataPathESbIwSt11char_traitsIwESaIwEE U _ZN4UTIL4MISC11niceSizeStrEmb U _ZN4UTIL4MISC13genTimeStringEhhj U _ZN4UTIL6STRING5toStrERKSbIwSt11char_traitsIwESaIwEE U _ZN6Thread13WaitCondition4waitEv U _ZN6Thread13WaitCondition6notifyEv U _ZN6Thread13WaitConditionC1Ev U _ZN6Thread13WaitConditionD1Ev 0000000000000000 W _ZN8Template10FormatArgCIc11gcExceptionE6formatENS_11FormatTypesEmm 0000000000000000 W _ZN8Template10FormatArgCIc11gcExceptionE7destroyEv 0000000000000000 W _ZN8Template10FormatArgCIciE6formatENS_11FormatTypesEmm 0000000000000000 W _ZN8Template10FormatArgCIciE7destroyEv 0000000000000000 W _ZN8Template10FormatArgCIcjE6formatENS_11FormatTypesEmm 0000000000000000 W _ZN8Template10FormatArgCIcjE7destroyEv 0000000000000000 W _ZN8Template10FormatArgCIcNS_7NullArgEE6formatENS_11FormatTypesEmm 0000000000000000 W _ZN8Template10FormatArgCIcNS_7NullArgEE7destroyEv 0000000000000000 W _ZN8Template10FormatArgCIcPKcE6formatENS_11FormatTypesEmm 0000000000000000 W _ZN8Template10FormatArgCIcPKcE7destroyEv 0000000000000000 W _ZN8Template12FormatStringIcEESbIT_St11char_traitsIS1_ESaIS1_EEPKS1_RSt6vectorIPNS_10FormatArgIIS1_EESaISB_EE 0000000000000000 W _ZN8Template17GetTypeFromStringERSs 0000000000000000 W _ZN8Template18converToStringTypeIcEESbIT_St11char_traitsIS1_ESaIS1_EEPKc 0000000000000000 W _ZN8Template6FormatIc11gcExceptionNS_7NullArgES2_S2_S2_S2_EESbIT_St11char_traitsIS3_ESaIS3_EEPKS3_RKT0_RKT1_RKT2_RKT3_RKT4RKT5 0000000000000000 W _ZN8Template6FormatIcPKcjiNS_7NullArgES3_S3_EESbIT_St11char_traitsIS4_ESaIS4_EEPKS4_RKT0_RKT1_RKT2_RKT3_RKT4RKT5 0000000000000000 W _ZN8Template9FormatArgIc11gcExceptionEESbIT_St11char_traitsIS2_ESaIS2_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN8Template9FormatArgIccEESbIT_St11char_traitsIS1_ESaIS1_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN8Template9FormatArgIcdEESbIT_St11char_traitsIS1_ESaIS1_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN8Template9FormatArgIcfEESbIT_St11char_traitsIS1_ESaIS1_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN8Template9FormatArgIciEESbIT_St11char_traitsIS1_ESaIS1_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN8Template9FormatArgIcjEESbIT_St11char_traitsIS1_ESaIS1_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN8Template9FormatArgIcPKcEESbIT_St11char_traitsIS3_ESaIS3_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN8Template9FormatArgIcxEESbIT_St11char_traitsIS1_ESaIS1_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN8Template9FormatArgIcyEESbIT_St11char_traitsIS1_ESaIS1_EERKT0_NS_11FormatTypesEmm 0000000000000000 W _ZN9DelegateII11gcExceptionED0Ev 0000000000000000 W _ZN9DelegateII11gcExceptionED1Ev 0000000000000000 W _ZN9DelegateII11gcExceptionED2Ev 0000000000000000 n _ZN9DelegateII11gcExceptionED5Ev 0000000000000000 W _ZN9DelegateII12gcBaseStringIcEED0Ev 0000000000000000 W _ZN9DelegateII12gcBaseStringIcEED1Ev 0000000000000000 W _ZN9DelegateII12gcBaseStringIcEED2Ev 0000000000000000 n _ZN9DelegateII12gcBaseStringIcEED5Ev 0000000000000000 W _ZN9DelegateIIjED0Ev 0000000000000000 W _ZN9DelegateIIjED1Ev 0000000000000000 W _ZN9DelegateIIjED2Ev 0000000000000000 n _ZN9DelegateIIjED5Ev 0000000000000000 W _ZN9DelegateIIN7MCFCore4Misc12ProgressInfoEED0Ev 0000000000000000 W _ZN9DelegateIIN7MCFCore4Misc12ProgressInfoEED1Ev 0000000000000000 W _ZN9DelegateIIN7MCFCore4Misc12ProgressInfoEED2Ev 0000000000000000 n _ZN9DelegateIIN7MCFCore4Misc12ProgressInfoEED5Ev 0000000000000000 W _ZN9DelegateIIN8UserCore4Misc10UploadInfoEED0Ev 0000000000000000 W _ZN9DelegateIIN8UserCore4Misc10UploadInfoEED1Ev 0000000000000000 W _ZN9DelegateIIN8UserCore4Misc10UploadInfoEED2Ev 0000000000000000 n _ZN9DelegateIIN8UserCore4Misc10UploadInfoEED5Ev 0000000000000000 W _ZN9DelegateIIN8UserCore4Misc6CVar_sEED0Ev 0000000000000000 W _ZN9DelegateIIN8UserCore4Misc6CVar_sEED1Ev 0000000000000000 W _ZN9DelegateIIN8UserCore4Misc6CVar_sEED2Ev 0000000000000000 n _ZN9DelegateIIN8UserCore4Misc6CVar_sEED5Ev 0000000000000000 W _ZN9EventBaseI11gcException9DelegateIIS0_EE14migratePendingEv 0000000000000000 W _ZN9EventBaseI11gcException9DelegateIIS0EEpLEPS2 0000000000000000 W _ZN9EventBaseI12gcBaseStringIcE9DelegateIIS1_EE14migratePendingEv 0000000000000000 W _ZN9EventBaseI12gcBaseStringIcE9DelegateIIS1EEpLEPS3 0000000000000000 W _ZN9EventBaseIj9DelegateIIjEE14migratePendingEv 0000000000000000 W ZN9EventBaseIj9DelegateIIjEEpLEPS1 0000000000000000 W _ZN9EventBaseIN7MCFCore4Misc12ProgressInfoE9DelegateIIS2_EE14migratePendingEv 0000000000000000 W _ZN9EventBaseIN7MCFCore4Misc12ProgressInfoE9DelegateIIS2EEpLEPS4 0000000000000000 W _ZN9EventBaseIN8UserCore4Misc10UploadInfoE9DelegateIIS2_EE14migratePendingEv 0000000000000000 W _ZN9EventBaseIN8UserCore4Misc10UploadInfoE9DelegateIIS2EEpLEPS4 0000000000000000 W _ZN9EventBaseIN8UserCore4Misc6CVar_sE9DelegateIIS2_EE14migratePendingEv 0000000000000000 W _ZN9EventBaseIN8UserCore4Misc6CVar_sE9DelegateIIS2EEpLEPS4 0000000000000010 t _ZN9__gnu_cxxL27exchange_and_add_dispatchEPii.constprop.443 0000000000000000 W _ZNK11gcException4whatEv U _ZNKSs7compareERKSs U _ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv U _ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_MdestroyERKS1 U _ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE U _ZNSbIwSt11chartraitsIwESaIwEEC1EPKwRKS1 U _ZNSbIwSt11char_traitsIwESaIwEED1Ev U _ZNSo9_MinsertIdEERSoT U _ZNSo9_MinsertImEERSoT U _ZNSo9_MinsertIxEERSoT U _ZNSo9_MinsertIyEERSoT U _ZNSolsEi U _ZNSs12_M_leak_hardEv U _ZNSs4_Rep10_M_destroyERKSaIcE U _ZNSs4_Rep20_S_empty_rep_storageE 0000000000000000 t _ZNSs4_Rep26_M_set_length_and_sharableEm.part.9 U _ZNSs4swapERSs U _ZNSs6appendERKSs U _ZNSs6assignEPKcm U _ZNSs6assignERKSs U _ZNSs7reserveEm U _ZNSs9_M_mutateEmmm U _ZNSs9push_backEc U _ZNSsC1EPKcRKSaIcE U _ZNSsC1ERKSs U _ZNSsD1Ev U _ZNSsD2Ev U _ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode U _ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev 0000000000000000 W _ZNSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEEixEOSs 0000000000000000 W _ZNSt4pairIKSsSsED1Ev 0000000000000000 W _ZNSt4pairIKSsSsED2Ev 0000000000000000 n _ZNSt4pairIKSsSsED5Ev 0000000000000000 W _ZNSt4pairISsSsED1Ev 0000000000000000 W _ZNSt4pairISsSsED2Ev 0000000000000000 n _ZNSt4pairISsSsED5Ev U _ZNSt6localeD1Ev 0000000000000000 W _ZNSt6vectorIP9DelegateII11gcExceptionESaIS3_EE19_M_emplace_back_auxIIRKS3EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateII11gcExceptionESaIS3_EE19_M_emplace_back_auxIJRKS3EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateII12gcBaseStringIcEESaIS4_EE19_M_emplace_back_auxIIRKS4EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateII12gcBaseStringIcEESaIS4_EE19_M_emplace_back_auxIJRKS4EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateIIjESaIS2_EE19_M_emplace_back_auxIIRKS2EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateIIjESaIS2_EE19_M_emplace_back_auxIJRKS2EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateIIN7MCFCore4Misc12ProgressInfoEESaIS5_EE19_M_emplace_back_auxIIRKS5EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateIIN7MCFCore4Misc12ProgressInfoEESaIS5_EE19_M_emplace_back_auxIJRKS5EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateIIN8UserCore4Misc10UploadInfoEESaIS5_EE19_M_emplace_back_auxIIRKS5EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateIIN8UserCore4Misc10UploadInfoEESaIS5_EE19_M_emplace_back_auxIJRKS5EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateIIN8UserCore4Misc6CVar_sEESaIS5_EE19_M_emplace_back_auxIIRKS5EEEvDpOT 0000000000000000 W _ZNSt6vectorIP9DelegateIIN8UserCore4Misc6CVar_sEESaIS5_EE19_M_emplace_back_auxIJRKS5EEEvDpOT 0000000000000000 W _ZNSt6vectorIPN8Template10FormatArgIIcEESaIS3_EE12emplace_backIIS3EEEvDpOT 0000000000000000 W _ZNSt6vectorIPN8Template10FormatArgIIcEESaIS3_EE12emplace_backIJS3EEEvDpOT 0000000000000000 W _ZNSt6vectorIPN8Template10FormatArgIIcEESaIS3_EE19_M_emplace_back_auxIIS3EEEvDpOT 0000000000000000 W _ZNSt6vectorIPN8Template10FormatArgIIcEESaIS3_EE19_M_emplace_back_auxIJS3EEEvDpOT 0000000000000000 W _ZNSt6vectorIPN8Template10FormatArgIIcEESaIS3_EED1Ev 0000000000000000 W _ZNSt6vectorIPN8Template10FormatArgIIcEESaIS3_EED2Ev 0000000000000000 n _ZNSt6vectorIPN8Template10FormatArgIIcEESaIS3_EED5Ev 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateII11gcExceptionEESaIS5_EE19_M_emplace_back_auxIIS5EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateII11gcExceptionEESaIS5_EE19_M_emplace_back_auxIJS5EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateII12gcBaseStringIcEEESaIS6_EE19_M_emplace_back_auxIIS6EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateII12gcBaseStringIcEEESaIS6_EE19_M_emplace_back_auxIJS6EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateIIjEESaIS4_EE19_M_emplace_back_auxIIS4EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateIIjEESaIS4_EE19_M_emplace_back_auxIJS4EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateIIN7MCFCore4Misc12ProgressInfoEEESaIS7_EE19_M_emplace_back_auxIIS7EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateIIN7MCFCore4Misc12ProgressInfoEEESaIS7_EE19_M_emplace_back_auxIJS7EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateIIN8UserCore4Misc10UploadInfoEEESaIS7_EE19_M_emplace_back_auxIIS7EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateIIN8UserCore4Misc10UploadInfoEEESaIS7_EE19_M_emplace_back_auxIJS7EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateIIN8UserCore4Misc6CVar_sEEESaIS7_EE19_M_emplace_back_auxIIS7EEEvDpOT 0000000000000000 W _ZNSt6vectorISt4pairIbP9DelegateIIN8UserCore4Misc6CVar_sEEESaIS7_EE19_M_emplace_back_auxIJS7EEEvDpOT U _ZNSt8ios_base4InitC1Ev U _ZNSt8ios_base4InitD1Ev U _ZNSt8ios_baseD2Ev 0000000000000000 W _ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE10_M_insert_IS0_ISsSsEEESt17_Rb_tree_iteratorIS2_EPKSt18_Rb_tree_node_baseSFOT 0000000000000000 W _ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE10_M_insert_IS2_EESt17_Rb_tree_iteratorIS2_EPKSt18_Rb_tree_node_baseSEOT 0000000000000000 W _ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE16_M_insert_uniqueIS0_ISsSsEEES0_ISt17_Rb_tree_iteratorIS2EbEOT 0000000000000000 W _ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE16_M_insert_uniqueIS2_EES0_ISt17_Rb_tree_iteratorIS2EbEOT 0000000000000000 W _ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE17_M_insert_unique_IS0_ISsSsEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2EOT 0000000000000000 W _ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE17_M_insert_unique_IS2_EESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2EOT 0000000000000000 W _ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E U _ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate U _ZNSt9exceptionD2Ev U _Znwm U _ZSt16ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l U _ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base U _ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base U _ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base U _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base U _ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0RS 0000000000000028 b _ZStL8ioinit 0000000000000000 V _ZTI11gcException 0000000000000000 V _ZTI17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_E 0000000000000000 V _ZTI17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_E 0000000000000000 V _ZTI17FunctDelegateBaseIPFvRjE9DelegateIIjEjE 0000000000000000 V _ZTI17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTI17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTI17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTI9DelegateII11gcExceptionE 0000000000000000 V _ZTI9DelegateII12gcBaseStringIcEE 0000000000000000 V _ZTI9DelegateIIjE 0000000000000000 V _ZTI9DelegateIIN7MCFCore4Misc12ProgressInfoEE 0000000000000000 V _ZTI9DelegateIIN8UserCore4Misc10UploadInfoEE 0000000000000000 V _ZTI9DelegateIIN8UserCore4Misc6CVar_sEE U _ZTIc U _ZTId U _ZTIf U _ZTIi U _ZTIj 0000000000000000 V _ZTIN8Template10FormatArgCIc11gcExceptionEE 0000000000000000 V _ZTIN8Template10FormatArgCIciEE 0000000000000000 V _ZTIN8Template10FormatArgCIcjEE 0000000000000000 V _ZTIN8Template10FormatArgCIcNS_7NullArgEEE 0000000000000000 V _ZTIN8Template10FormatArgCIcPKcEE 0000000000000000 V _ZTIN8Template10FormatArgIIcEE 0000000000000000 V _ZTIN8Template7NullArgE U _ZTIPc U _ZTIPKc U _ZTIPw U _ZTISt9exception U _ZTIx U _ZTIy 0000000000000000 V _ZTS11gcException 0000000000000000 V _ZTS17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_E 0000000000000000 V _ZTS17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_E 0000000000000000 V _ZTS17FunctDelegateBaseIPFvRjE9DelegateIIjEjE 0000000000000000 V _ZTS17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTS17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTS17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTS9DelegateII11gcExceptionE 0000000000000000 V _ZTS9DelegateII12gcBaseStringIcEE 0000000000000000 V _ZTS9DelegateIIjE 0000000000000000 V _ZTS9DelegateIIN7MCFCore4Misc12ProgressInfoEE 0000000000000000 V _ZTS9DelegateIIN8UserCore4Misc10UploadInfoEE 0000000000000000 V _ZTS9DelegateIIN8UserCore4Misc6CVar_sEE 0000000000000000 V _ZTSN8Template10FormatArgCIc11gcExceptionEE 0000000000000000 V _ZTSN8Template10FormatArgCIciEE 0000000000000000 V _ZTSN8Template10FormatArgCIcjEE 0000000000000000 V _ZTSN8Template10FormatArgCIcNS_7NullArgEEE 0000000000000000 V _ZTSN8Template10FormatArgCIcPKcEE 0000000000000000 V _ZTSN8Template10FormatArgIIcEE 0000000000000000 V _ZTSN8Template7NullArgE U _ZTTSt18basic_stringstreamIcSt11char_traitsIcESaIcEE 0000000000000000 V _ZTV11gcException 0000000000000000 V _ZTV17FunctDelegateBaseIPFvR11gcExceptionE9DelegateIIS0_ES0_E 0000000000000000 V _ZTV17FunctDelegateBaseIPFvR12gcBaseStringIcEE9DelegateIIS1_ES1_E 0000000000000000 V _ZTV17FunctDelegateBaseIPFvRjE9DelegateIIjEjE 0000000000000000 V _ZTV17FunctDelegateBaseIPFvRN7MCFCore4Misc12ProgressInfoEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTV17FunctDelegateBaseIPFvRN8UserCore4Misc10UploadInfoEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTV17FunctDelegateBaseIPFvRN8UserCore4Misc6CVar_sEE9DelegateIIS2_ES2_E 0000000000000000 V _ZTV9DelegateII11gcExceptionE 0000000000000000 V _ZTV9DelegateII12gcBaseStringIcEE 0000000000000000 V _ZTV9DelegateIIjE 0000000000000000 V _ZTV9DelegateIIN7MCFCore4Misc12ProgressInfoEE 0000000000000000 V _ZTV9DelegateIIN8UserCore4Misc10UploadInfoEE 0000000000000000 V _ZTV9DelegateIIN8UserCore4Misc6CVar_sEE U _ZTVN10cxxabiv117class_type_infoE U _ZTVN10cxxabiv120si_class_type_infoE 0000000000000000 V _ZTVN8Template10FormatArgCIc11gcExceptionEE 0000000000000000 V _ZTVN8Template10FormatArgCIciEE 0000000000000000 V _ZTVN8Template10FormatArgCIcjEE 0000000000000000 V _ZTVN8Template10FormatArgCIcNS_7NullArgEEE 0000000000000000 V _ZTVN8Template10FormatArgCIcPKcEE 0000000000000000 V _ZTVN8Template10FormatArgIIcEE U _ZTVSt15basic_streambufIcSt11char_traitsIcEE U _ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE U _ZTVSt18basic_stringstreamIcSt11char_traitsIcESaIcEE U _ZTVSt9basic_iosIcSt11char_traitsIcEE 0000000000000004 d _ZZ16OnUploadProgressRN8UserCore4Misc10UploadInfoEE12s_uiLastProg 0000000000000000 d _ZZ19OnMCFCreateProgressRN7MCFCore4Misc12ProgressInfoEE12s_uiLastProg

karolherbst commented 11 years ago

@matthiaskrgr one of the libusercore object files must have a dependency to boost filesystem, but we should know which one. Maybe it is triggered through a static lib.

matthiaskrgr commented 11 years ago

On 04/04/2013 12:31 AM, Karol Herbst wrote:

@matthiaskrgr https://github.com/matthiaskrgr one of the libusercore object files must have a dependency to boost filesystem, but we should know which one. Maybe it is triggered through a static lib.

— Reply to this email directly or view it on GitHub https://github.com/lodle/Desurium/issues/533#issuecomment-15869661.

uhm, so?

karolherbst commented 11 years ago

The reference isn't in main.o

karolherbst commented 11 years ago

@matthiaskrgr: does https://github.com/karolherbst/Desurium/commit/0f28d939d0bb091048ae7df92c5d5bedce1ffb93 fix this?

matthiaskrgr commented 11 years ago

On 04/05/2013 12:16 AM, Karol Herbst wrote:

@matthiaskrgr https://github.com/matthiaskrgr: does karolherbst@0f28d93 https://github.com/karolherbst/Desurium/commit/0f28d939d0bb091048ae7df92c5d5bedce1ffb93 fix this?

— Reply to this email directly or view it on GitHub https://github.com/lodle/Desurium/issues/533#issuecomment-15927586.

nope

Linking CXX executable mcf_extract ../../shared/mcfcore/libmcfcore.so: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::errorcode)' collect2: error: ld returned 1 exit status make[2]: _\ [src/tools/mcf_extract/mcf_extract] Error 1 make[1]: * [src/tools/mcf_extract/CMakeFiles/mcf_extract.dir/all] Error 2 make[1]: * Waiting for unfinished jobs....

karolherbst commented 11 years ago

please test this branch: https://github.com/karolherbst/Desurium/tree/bug533

matthiaskrgr commented 11 years ago

On 04/05/2013 11:11 AM, Karol Herbst wrote:

please test this branch: https://github.com/karolherbst/Desurium/tree/bug533

— Reply to this email directly or view it on GitHub https://github.com/lodle/Desurium/issues/533#issuecomment-15945660.

[ 99%] Built target crashdlg [ 99%] Built target desura_bittest Linking CXX executable mcf_upload_cli ../../shared/usercore/libusercore.so: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::errorcode)' collect2: error: ld returned 1 exit status make[2]: _\ [src/tools/mcf_upload_cli/mcf_upload_cli] Error 1 make[1]: * [src/tools/mcf_upload_cli/CMakeFiles/mcf_upload_cli.dir/all] Error 2 make: * [all] Error 2

matthiaskrgr commented 11 years ago

As for now:

master (87b37f94d2aadc0592b750ee3a03785a43767adb) :

Linking CXX executable mcf_upload_cli ../../shared/usercore/libusercore.so: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::errorcode)' collect2: error: ld returned 1 exit status make[2]: _\ [src/tools/mcf_upload_cli/mcf_upload_cli] Error 1 make[1]: * [src/tools/mcf_upload_cli/CMakeFiles/mcf_upload_cli.dir/all] Error 2 make: * [all] Error 2

karolherbst/bug533 (ced6265af6f7a22a00a9ff748b51e1f33150d853)

[ 99%] Built target desura_bittest Scanning dependencies of target mcf_upload_cli [ 99%] Building CXX object src/tools/mcf_upload_cli/CMakeFiles/mcf_upload_cli.dir/code/main.cpp.o Linking CXX executable mcf_upload_cli ../../shared/usercore/libusercore.so: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::errorcode)' collect2: error: ld returned 1 exit status make[2]: _\ [src/tools/mcf_upload_cli/mcf_upload_cli] Error 1 make[1]: * [src/tools/mcf_upload_cli/CMakeFiles/mcf_upload_cli.dir/all] Error 2 make: * [all] Error 2

karolherbst commented 11 years ago

So I digged a bit deeper into this and found out, that only util_web can be the cause of this error.

Because Boost::Filesystem is in the link list of util_fs every single dependency linked before will be linked against Boost::filesystem. If this method would used in a shared library linked after util_fs this error would be displayed there. And because mcfcore (which had this error, too) is also linking against util_fs and util_web (in this direction) it would fit.

And because utilWeb.cpp is include Commn.h which is include UtilFs.h (https://github.com/lodle/Desurium/blob/master/src/common/Common.h#L567) there is a possibility create a dependency via util_fs to boost::filesystem.

The proper solution would be to remove this include from Common.h

matthiaskrgr commented 11 years ago

On 04/17/2013 03:13 PM, Karol Herbst wrote:

So I digged a bit deeper into this and found out, that only util_web can be the cause of this error.

Because Boost::Filesystem is in the link list of util_fs every single dependency linked before will be linked against Boost::filesystem. If this method would used in a shared library linked after util_fs this error would be displayed there. And because mcfcore (which had this error, too) is also linking against util_fs and util_web (in this direction) it would fit.

And because utilWeb.cpp is include Commn.h which is include UtilFs.h (https://github.com/lodle/Desurium/blob/master/src/common/Common.h#L567) there is a possibility create a dependency via util_fs to boost::filesystem.

The proper solution would be to remove this include from Common.h

— Reply to this email directly or view it on GitHub https://github.com/lodle/Desurium/issues/533#issuecomment-16504536.

I thought Jookia had already fixed this in his pull request?

karolherbst commented 11 years ago

the problem with his fix is, that he is using boost::fs::copy in "void copyFile(Path src, Path dest);". But boost::fs::copy will also copy directories, which violates the intention of this function.

karolherbst commented 11 years ago

I digged a bit deeper into that and found out, that this is related to the c++0x scoped enum handling in boost. We can fix it for the usercore library, but we would break it for our tests then...

karolherbst commented 11 years ago

I found a thread on the boost mailing list about that: http://lists.boost.org/Archives/boost/2012/07/194940.php

karolherbst commented 11 years ago

and this issue: https://svn.boost.org/trac/boost/ticket/6779