NeoFax Posted August 9, 2009 Report Share Posted August 9, 2009 Here is the error I am getting:==== Building AtlasUI ====test_root.cppDLLInterface.cppLinking test/usr/bin/ld: cannot find -lboost_system-mtcollect2: ld returned 1 exit statusmake[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1make: *** [pyrogenesis] Error 2make: *** Waiting for unfinished jobs....SectionLayout.cpp/usr/bin/ld: cannot find -lboost_system-mtcollect2: ld returned 1 exit statusmake[1]: *** [../../../binaries/system/test_dbg] Error 1make: *** [test] Error 2ScenarioEditor.cppScriptedTool.cppObjectSettings.cppLinking AtlasUI/usr/bin/ld: cannot find -lboost_system-mtcollect2: ld returned 1 exit statusmake[1]: *** [../../../binaries/system/libAtlasUI_dbg.so] Error 1make: *** [AtlasUI] Error 2I am trying to build on Ubuntu Jaunty 9.04 following the build instructions. Quote Link to comment Share on other sites More sharing options...
janwas Posted August 9, 2009 Report Share Posted August 9, 2009 Do you have Boost 1.35 installed? The error message refers to a missing library that belongs to that package (libboost-dev); if it's installed, then we may be looking for it in the wrong directory. Quote Link to comment Share on other sites More sharing options...
NeoFax Posted August 9, 2009 Author Report Share Posted August 9, 2009 I have Boost 1.38 installed in /usr/lib. Quote Link to comment Share on other sites More sharing options...
janwas Posted August 9, 2009 Report Share Posted August 9, 2009 OK, 1.38 might also work. Does a file named boost_system-mt.* exist at all on your system? Boost can be linked statically or dynamically.Unfortunately I can't help in more detail (am developing on Windows). Quote Link to comment Share on other sites More sharing options...
idle Posted August 9, 2009 Report Share Posted August 9, 2009 Please install libboost (if you're debian user).To ensure you got the needed stuff run:updatedb(s)locate libboost_system-mt.soEither locate or slocate. Quote Link to comment Share on other sites More sharing options...
NeoFax Posted August 9, 2009 Author Report Share Posted August 9, 2009 Sorry about earlier, I have boost 1.34, 1.35 and 1.37 installed. Here is the output of locate:/usr/lib/libboost_system-mt.so.1.37.0Could it be a problem that 1.34 is what is pulled in using sudo apt-get libboost-dev, but locate only shows 1.37? Quote Link to comment Share on other sites More sharing options...
idle Posted August 10, 2009 Report Share Posted August 10, 2009 Hm, if there is nothing else try:ln -s /usr/lib/libboost_system-mt.so.1.37.0 /usr/lib/libboost_system-mt.so Quote Link to comment Share on other sites More sharing options...
NeoFax Posted August 10, 2009 Author Report Share Posted August 10, 2009 Thanks for the help, that worked perfect! However, I get some errors during play. Quote Link to comment Share on other sites More sharing options...
Setlec Posted October 6, 2009 Report Share Posted October 6, 2009 can someone pinpoint the missing lib? setlec@localhost:~/workspace/ADGameEngine/build/workspaces/gcc$ make==== Building mocks_real ====make[1]: `../../../binaries/system/libmocks_real_dbg.a' is up to date.==== Building network ====make[1]: `../../../binaries/system/libnetwork_dbg.a' is up to date.==== Building engine ====make[1]: `../../../binaries/system/libengine_dbg.a' is up to date.==== Building graphics ====make[1]: `../../../binaries/system/libgraphics_dbg.a' is up to date.==== Building i18n ====make[1]: `../../../binaries/system/libi18n_dbg.a' is up to date.==== Building atlas ====make[1]: `../../../binaries/system/libatlas_dbg.a' is up to date.==== Building gui ====make[1]: `../../../binaries/system/libgui_dbg.a' is up to date.==== Building lowlevel ====ia32_memcpy.asmia32_asm.asmx86_x64.cpptopology.cppldbg.cpp../../../source/lib/sysdep/os/linux/ldbg.cpp:36:17: error: bfd.h: No such file or directory../../../source/lib/sysdep/os/linux/ldbg.cpp:61: error: ISO C++ forbids declaration of ‘asymbol’ with no type../../../source/lib/sysdep/os/linux/ldbg.cpp:61: error: expected ‘;’ before ‘*’ token../../../source/lib/sysdep/os/linux/ldbg.cpp:62: error: ISO C++ forbids declaration of ‘bfd’ with no type../../../source/lib/sysdep/os/linux/ldbg.cpp:62: error: expected ‘;’ before ‘*’ token../../../source/lib/sysdep/os/linux/ldbg.cpp:71: error: ‘bfd_vma’ does not name a type../../../source/lib/sysdep/os/linux/ldbg.cpp: In function ‘int slurp_symtab(symbol_file_context*)’:../../../source/lib/sysdep/os/linux/ldbg.cpp:135: error: ‘bfd’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:135: error: ‘abfd’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:135: error: ‘struct symbol_file_context’ has no member named ‘abfd’../../../source/lib/sysdep/os/linux/ldbg.cpp:136: error: ‘asymbol’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:136: error: ‘syms’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:136: error: ‘struct symbol_file_context’ has no member named ‘syms’../../../source/lib/sysdep/os/linux/ldbg.cpp:140: error: ‘bfd_get_file_flags’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:140: error: ‘HAS_SYMS’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:146: error: ‘bfd_get_symtab_upper_bound’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:149: error: ‘bfd_perror’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:152: error: expected primary-expression before ‘)’ token../../../source/lib/sysdep/os/linux/ldbg.cpp:152: error: expected `;' before ‘malloc’../../../source/lib/sysdep/os/linux/ldbg.cpp:155: error: ‘bfd_canonicalize_symtab’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:158: error: ‘FALSE’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:158: error: ‘bfd_read_minisymbols’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:160: error: ‘TRUE’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:160: error: ‘bfd_read_minisymbols’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:164: error: ‘bfd_perror’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp: In function ‘int read_symbols(const char*, symbol_file_context*)’:../../../source/lib/sysdep/os/linux/ldbg.cpp:175: error: ‘bfd_init’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:177: error: ‘struct symbol_file_context’ has no member named ‘abfd’../../../source/lib/sysdep/os/linux/ldbg.cpp:177: error: ‘bfd_openr’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:178: error: ‘struct symbol_file_context’ has no member named ‘abfd’../../../source/lib/sysdep/os/linux/ldbg.cpp:180: error: ‘bfd_perror’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:184: error: ‘struct symbol_file_context’ has no member named ‘abfd’../../../source/lib/sysdep/os/linux/ldbg.cpp:184: error: ‘bfd_object’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:184: error: ‘bfd_check_format_matches’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:186: error: ‘bfd_get_error’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:186: error: ‘bfd_error_file_ambiguously_recognized’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:195: error: ‘bfd_perror’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:205: error: ‘bfd_perror’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:206: error: ‘struct symbol_file_context’ has no member named ‘abfd’../../../source/lib/sysdep/os/linux/ldbg.cpp:206: error: ‘bfd_close’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp: At global scope:../../../source/lib/sysdep/os/linux/ldbg.cpp:242: error: variable or field ‘find_address_in_section’ declared void../../../source/lib/sysdep/os/linux/ldbg.cpp:242: error: ‘bfd’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:242: error: ‘abfd’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:242: error: ‘asection’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:242: error: ‘section’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:242: error: expected primary-expression before ‘void’../../../source/lib/sysdep/os/linux/ldbg.cpp: In function ‘LibError debug_ResolveSymbol(void*, char*, char*, int*)’:../../../source/lib/sysdep/os/linux/ldbg.cpp:332: error: ‘bfd’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:332: error: ‘abfd’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:332: error: ‘struct symbol_file_context’ has no member named ‘abfd’../../../source/lib/sysdep/os/linux/ldbg.cpp:347: error: ‘struct symbol_lookup_context’ has no member named ‘address’../../../source/lib/sysdep/os/linux/ldbg.cpp:347: error: expected type-specifier before ‘bfd_vma’../../../source/lib/sysdep/os/linux/ldbg.cpp:347: error: expected `>' before ‘bfd_vma’../../../source/lib/sysdep/os/linux/ldbg.cpp:347: error: expected `(' before ‘bfd_vma’../../../source/lib/sysdep/os/linux/ldbg.cpp:347: error: ‘bfd_vma’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:347: error: expected `)' before ‘;’ token../../../source/lib/sysdep/os/linux/ldbg.cpp:350: error: ‘find_address_in_section’ was not declared in this scope../../../source/lib/sysdep/os/linux/ldbg.cpp:350: error: ‘bfd_map_over_sections’ was not declared in this scopemake[1]: *** [obj/lowlevel_Debug/ldbg.o] Error 1make: *** [lowlevel] Error 2setlec@localhost:~/workspace/ADGameEngine/build/workspaces/gcc$ I got all Libs in the wiki installed even it was hard to find them for my linux box, i got it all. Now those errors are lib related but to which one?Thanks Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 6, 2009 Report Share Posted October 6, 2009 You need BFD, which probably comes from a package called binutils-dev (depending on what Linux distro you use). Quote Link to comment Share on other sites More sharing options...
Setlec Posted October 6, 2009 Report Share Posted October 6, 2009 it's strange i've binutils installed, already... i'll check out on mandriva forums about BFD, but if binutils ships it then i don't know what is wrong... Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 6, 2009 Report Share Posted October 6, 2009 Make sure you have the development headers, not just the normal package - it looks like it might be called libbinutils2-devel on Mandriva. Quote Link to comment Share on other sites More sharing options...
Setlec Posted October 7, 2009 Report Share Posted October 7, 2009 (edited) ok, i've got installed but i get this new build error (it's huge!). can you delete my previous post? thank you!build_log.txt Edited October 7, 2009 by Setlec Quote Link to comment Share on other sites More sharing options...
janwas Posted October 7, 2009 Report Share Posted October 7, 2009 Previous post deleted You're still missing wxWidgets. Please grab all the dependencies listed in http://trac.wildfiregames.com/wiki/BuildInstructions Quote Link to comment Share on other sites More sharing options...
Setlec Posted October 7, 2009 Report Share Posted October 7, 2009 (edited) Thanks janwas for deleting my previous post!i've got the libwxgtk2.8-devel installed, should i install those two too?- libwxgtku2.8-devel- libwxgtkglu2.8-devel Edited October 7, 2009 by Setlec Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 7, 2009 Report Share Posted October 7, 2009 Yes. (They are the Unicode versions of the library, which we require.)(If you work out all the packages that are needed, it'd be great if you could update the wiki to list them (like how it currently lists Ubuntu packages) to help other Mandriva users ) Quote Link to comment Share on other sites More sharing options...
Setlec Posted October 7, 2009 Report Share Posted October 7, 2009 ok i've updated the wiki so far, and i've tried to compile again, new build error log...build_log2.txt Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 7, 2009 Report Share Posted October 7, 2009 Looks like it succeeded that time . The only output is warnings in third-party code, which can be safely ignored. In theory, you should be able to run pyrogenesis_dbg from binaries/system/ now. Quote Link to comment Share on other sites More sharing options...
Setlec Posted October 7, 2009 Report Share Posted October 7, 2009 (edited) i think that i've some sort of problem with openGL i'm currently the nvidia driver version 185.18.36, which gives OpenGL 3.x support. The graphics card is a GeForce 9600 GT 1024MB DDR2.here is the console log on the moment of the crash: setlec@localhost:~/workspace/ADGameEngine/build/workspaces/gcc$ cd ../../../binaries/system && ./pyrogenesis_dbgTIMER| InitVfs: 134.178 msTIMER| InitScripting: 3.65233 msTIMER| CONFIG_Init: 32.9333 msTIMER| write_sys_info: 885.579 usogl_tex.cpp(699): Performance warning: your graphics card does not support compressed textures. The game will try to continue anyway, but may be slower than expected. Please try updating your graphics drivers; if that doesn't help, please try upgrading your hardware.udbg_bfd_init: loading symbols from /home/setlec/workspace/ADGameEngine/binaries/system/pyrogenesis_dbg.Performance warning: your graphics card does not support compressed textures. The game will try to continue anyway, but may be slower than expected. Please try updating your graphics drivers; if that doesn't help, please try upgrading your hardware.Location: ogl_tex.cpp:699 (detect_gl_upload_caps)Call stack:(0x0859cab2) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)(0x0854f448) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)(0x0854f943) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)(0x0857f0ac) ogl_tex.cpp:700 detect_gl_upload_caps(0x0857fad3) ogl_tex.cpp:824 ogl_tex_upload(long long, unsigned int, int, int)(0x08581913) unifont.cpp:167 UniFont_reload(0x085779ac) h_mgr.cpp:506 call_init_and_reload(0x08578fca) h_mgr.cpp:545 alloc_new_handle(0x0857914f) h_mgr.cpp:580 h_alloc(H_VTbl*, boost::filesystem::basic_path<std::string, VfsPathTraits> const&, unsigned int, ...)(0x08580b8f) unifont.cpp:210 unifont_load(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, unsigned int)(0x08377d66) Font.cpp:46 CFont(0x082a43fd) GameSetup.cpp:593 InitPs(0x082a4f98) GameSetup.cpp:991 Init(CmdLineArgs const&, int)(0x081ce039) main.cpp:395 RunGameOrAtlas(0x081ce104) main.cpp:412 main(0xb76356a5) /lib/i686/libc.so.6:0 __libc_start_mainerrno = 0 (?)OS error = ?(C)ontinue, (B)reak, Launch (D)ebugger, or (E)xit?eAbortedsetlec@localhost:~/workspace/ADGameEngine/binaries/system$ after that it doesn't show this on the terminal and the 0 A.D. run with a black window and freezes. [EDIT] ok i've resoloved the problem thanks to the wiki known issues i've installed this libtxc-dxtn (but it doens't come in the official repos of mandriva).Thank you for your support! Edited October 7, 2009 by Setlec Quote Link to comment Share on other sites More sharing options...
Animeguy Posted January 18, 2010 Report Share Posted January 18, 2010 Hi, I am using Slackware-Current and I have the same build error with boost. Is version 1.41 of boost too new of a version to use with 0 A.D.? Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted January 19, 2010 Report Share Posted January 19, 2010 Which build error? ("cannot find -lboost_system-mt"?)It can work with 1.41 (that's what I use, on Gentoo) but Slackware might do something a bit peculiar with the library naming. Quote Link to comment Share on other sites More sharing options...
Animeguy Posted February 9, 2010 Report Share Posted February 9, 2010 Yes, this is the error message that I am getting:==== Building pyrogenesis ====main.cppLinking pyrogenesis/usr/lib/gcc/i486-slackware-linux/4.4.3/../../../../i486-slackware-linux/bin/ld: cannot find -lboost_signals-mtcollect2: ld returned 1 exit statusmake[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1make: *** [pyrogenesis] Error 2How can I fix this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.