Jump to content

boost error


NeoFax
 Share

Recommended Posts

Here is the error I am getting:

==== Building AtlasUI ====

test_root.cpp

DLLInterface.cpp

Linking test

/usr/bin/ld: cannot find -lboost_system-mt

collect2: ld returned 1 exit status

make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1

make: *** [pyrogenesis] Error 2

make: *** Waiting for unfinished jobs....

SectionLayout.cpp

/usr/bin/ld: cannot find -lboost_system-mt

collect2: ld returned 1 exit status

make[1]: *** [../../../binaries/system/test_dbg] Error 1

make: *** [test] Error 2

ScenarioEditor.cpp

ScriptedTool.cpp

ObjectSettings.cpp

Linking AtlasUI

/usr/bin/ld: cannot find -lboost_system-mt

collect2: ld returned 1 exit status

make[1]: *** [../../../binaries/system/libAtlasUI_dbg.so] Error 1

make: *** [AtlasUI] Error 2

I am trying to build on Ubuntu Jaunty 9.04 following the build instructions.

Link to comment
Share on other sites

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.0

Could it be a problem that 1.34 is what is pulled in using sudo apt-get libboost-dev, but locate only shows 1.37?

Link to comment
Share on other sites

  • 1 month later...

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.asm
ia32_asm.asm
x86_x64.cpp
topology.cpp
ldbg.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 scope
make[1]: *** [obj/lowlevel_Debug/ldbg.o] Error 1
make: *** [lowlevel] Error 2
setlec@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

Link to comment
Share on other sites

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_dbg
TIMER| InitVfs: 134.178 ms
TIMER| InitScripting: 3.65233 ms
TIMER| CONFIG_Init: 32.9333 ms
TIMER| write_sys_info: 885.579 us
ogl_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_main

errno = 0 (?)
OS error = ?


(C)ontinue, (B)reak, Launch (D)ebugger, or (E)xit?
e
Aborted
setlec@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 by Setlec
Link to comment
Share on other sites

  • 3 months later...
  • 3 weeks later...

Yes, this is the error message that I am getting:

==== Building pyrogenesis ====

main.cpp

Linking pyrogenesis

/usr/lib/gcc/i486-slackware-linux/4.4.3/../../../../i486-slackware-linux/bin/ld: cannot find -lboost_signals-mt

collect2: ld returned 1 exit status

make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1

make: *** [pyrogenesis] Error 2

How can I fix this?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...