This site has been archived and made available for preservation purposes. No edits can be made.
-
Source...
I spent my night trying to compile the source, and today i almost got it but there is some weird error and i dont understand its nature to try to find a solution for it, so i come ask you guys for help (this is really my last resource )
Code :
.objs\Release\API.o:API.cpp|| undefined reference to `_ceil'|.objs\Release\API.o:API.cpp|| undefined reference to `__Znwj'|
.objs\Release\API.o:API.cpp|| undefined reference to `_memset'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZSt17__throw_bad_allocv'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Znwj'|
.objs\Release\API.o:API.cpp|| undefined reference to `_memset'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZSt17__throw_bad_allocv'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1Ev'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1ERKSs'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1Ev'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1ERKSs'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1Ev'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1ERKSs'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZdlPv'|
.objs\Release\API.o:API.cpp|| undefined reference to `___gxx_personality_sj0'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Register'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Unregister'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Resume'|
.objs\Release\API.o:API.cpp|| undefined reference to `___gxx_personality_sj0'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Register'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Unregister'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Resume'|
.objs\Release\API.o:API.cpp|| undefined reference to `___gxx_personality_sj0'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Register'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Unregister'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Resume'|
.objs\Release\API.o:API.cpp|| undefined reference to `___gxx_personality_sj0'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Register'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Unregister'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Resume'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1EPKcRKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSs4_Rep10_M_destroyERKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1EPKcRKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSs4_Rep10_M_destroyERKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1EPKcRKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSs4_Rep10_M_destroyERKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `___gxx_personality_sj0'|
.objs\Release\API.o:API.cpp|| undefined reference to `__Unwind_SjLj_Register'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1EPKcRKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `_strtok'|
.objs\Release\API.o:API.cpp|| undefined reference to `__imp__isupper'|
.objs\Release\API.o:API.cpp|| undefined reference to `___cxa_allocate_exception'|
.objs\Release\API.o:API.cpp|| undefined reference to `___cxa_throw'|
.objs\Release\API.o:API.cpp|| undefined reference to `_strtok'|
.objs\Release\API.o:API.cpp|| undefined reference to `___cxa_allocate_exception'|
.objs\Release\API.o:API.cpp|| undefined reference to `___cxa_throw'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSsC1EPKcRKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `__ZNSs4_Rep10_M_disposeERKSaIcE'|
.objs\Release\API.o:API.cpp|| undefined reference to `_memcpy'|
im compiling with '-m32 -std=gnu++11', Boost and Time64 are ok, everything should work fine o.o'
-
You also have -m32 in the linker options?
-
Thanks for the reply, added -m32 to linker, but there are still some errors
Code :
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z8gmtime64PKx'|.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z8gmtime64PKx'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z8gmtime64PKx'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z8gmtime64PKx'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z10gmtime64_rPKxP2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z8mktime64P2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z10gmtime64_rPKxP2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z8mktime64P2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z10gmtime64_rPKxP2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z8mktime64P2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z10gmtime64_rPKxP2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z8mktime64P2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z10gmtime64_rPKxP2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z10gmtime64_rPKxP2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z10gmtime64_rPKxP2tm'|
.objs\Release\Script.o:Script.cpp|| undefined reference to `__Z10gmtime64_rPKxP2tm'|
||=== Build finished: 16 errors, 0 warnings ===|
-
You need the proper commit of the time64 repository which is referenced as a submodule.
-
-
-
Still the same error... Could it be anything else?
-
No. The linker looks for C++ symbols. If you have the correct header (as in the referenced in the submodule commit, do full recompile), this shouldn't happen.
-
everything working now =D (also had some problems with iniparser but already fixed everything) time to develop =D thanks for the assistance recycler
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules