compilation error 'collect2: ld returned 1 exit status',(new

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Message
Author
User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: compilation error 'collect2: ld returned 1 exit status',(new

#31 Post by OndrejR »

in home directory = ~ is hidden directory .freeorion

User avatar
8472
Space Floater
Posts: 28
Joined: Thu Jul 16, 2009 5:46 pm
Location: Slovakia, Bratislava

Re: compilation error 'collect2: ld returned 1 exit status',(new

#32 Post by 8472 »

OndrejR wrote:in home directory = ~ is hidden directory .freeorion
ah there, i misunderstood that ~ previously.
here is it:
20:54:36: Creating resource group General
20:54:36: Creating resource group Internal
20:54:36: Creating resource group Autodetect
20:54:36: SceneManagerFactory for type 'DefaultSceneManager' registered.
20:54:36: Registering ResourceManager for type Material
20:54:36: Registering ResourceManager for type Mesh
20:54:36: Registering ResourceManager for type Skeleton
20:54:36: MovableObjectFactory for type 'ParticleSystem' registered.
20:54:36: OverlayElementFactory for type Panel registered.
20:54:36: OverlayElementFactory for type BorderPanel registered.
20:54:36: OverlayElementFactory for type TextArea registered.
20:54:36: Registering ResourceManager for type Font
20:54:36: ArchiveFactory for archive type FileSystem registered.
20:54:36: ArchiveFactory for archive type Zip registered.
20:54:36: FreeImage version: 3.11.0
20:54:36: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
20:54:36: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
20:54:36: DDS codec registering
20:54:36: Registering ResourceManager for type HighLevelGpuProgram
20:54:36: Registering ResourceManager for type Compositor
20:54:36: MovableObjectFactory for type 'Entity' registered.
20:54:36: MovableObjectFactory for type 'Light' registered.
20:54:36: MovableObjectFactory for type 'BillboardSet' registered.
20:54:36: MovableObjectFactory for type 'ManualObject' registered.
20:54:36: MovableObjectFactory for type 'BillboardChain' registered.
20:54:36: MovableObjectFactory for type 'RibbonTrail' registered.
20:54:36: Loading library ./RenderSystem_GL
20:54:36: Installing plugin: GL RenderSystem
20:54:36: OpenGL Rendering Subsystem created.
20:54:36: Plugin successfully installed
20:54:36: Loading library ./Plugin_ParticleFX
20:54:36: Installing plugin: ParticleFX
20:54:36: Particle Emitter Type 'Point' registered
20:54:36: Particle Emitter Type 'Box' registered
20:54:36: Particle Emitter Type 'Ellipsoid' registered
20:54:36: Particle Emitter Type 'Cylinder' registered
20:54:36: Particle Emitter Type 'Ring' registered
20:54:36: Particle Emitter Type 'HollowEllipsoid' registered
20:54:36: Particle Affector Type 'LinearForce' registered
20:54:36: Particle Affector Type 'ColourFader' registered
20:54:36: Particle Affector Type 'ColourFader2' registered
20:54:36: Particle Affector Type 'ColourImage' registered
20:54:36: Particle Affector Type 'ColourInterpolator' registered
20:54:36: Particle Affector Type 'Scaler' registered
20:54:36: Particle Affector Type 'Rotator' registered
20:54:36: Particle Affector Type 'DirectionRandomiser' registered
20:54:36: Particle Affector Type 'DeflectorPlane' registered
20:54:36: Plugin successfully installed
20:54:36: Loading library ./Plugin_OctreeSceneManager
20:54:36: Installing plugin: Octree & Terrain Scene Manager
20:54:36: Plugin successfully installed
20:54:36: Loading library ./Plugin_CgProgramManager
20:54:36: Installing plugin: Cg Program Manager
20:54:36: Plugin successfully installed
20:54:36: *-*-* OGRE Initialising
20:54:36: *-*-* Version 1.6.2 (Shoggoth)
20:54:36: CPU Identifier & Features
20:54:36: -------------------------
20:54:36: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz
20:54:36: * SSE: yes
20:54:36: * SSE2: yes
20:54:36: * SSE3: yes
20:54:36: * MMX: yes
20:54:36: * MMXEXT: yes
20:54:36: * 3DNOW: no
20:54:36: * 3DNOWEXT: no
20:54:36: * CMOV: yes
20:54:36: * TSC: yes
20:54:36: * FPU: yes
20:54:36: * PRO: yes
20:54:36: * HT: no
20:54:36: -------------------------
20:54:36: ******************************
*** Starting GLX Subsystem ***
******************************
20:54:36: GLRenderSystem::_createRenderWindow "FreeOrion v0.3.13 [Rev 3118]", 1024x768 windowed miscParams: FSAA=0 displayFrequency=50 MHz gamma=No vsync=No
20:54:36: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource GLX_icon.png in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
20:54:36: GLXWindow::create used FBConfigID = 153
20:54:36: GL_VERSION = 2.1.2 NVIDIA 180.44
20:54:36: GL_VENDOR = NVIDIA Corporation
20:54:36: GL_RENDERER = GeForce 7600 GS/PCI/SSE2
20:54:36: GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_framebuffer_object GL_ARB_imaging GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
20:54:36: Supported GLX extensions: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_texture_from_pixmap GLX_ARB_create_context GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_ARB_get_proc_address
20:54:36: ***************************
20:54:36: *** GL Renderer Started ***
20:54:36: ***************************
Logic clearly dictates that the needs of the many outweigh the needs of the few.

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: compilation error 'collect2: ld returned 1 exit status',(new

#33 Post by OndrejR »

Nothing unusual in ogre.log. I suggest another thread in support section of this forum. Maybe debugging will be required.

User avatar
8472
Space Floater
Posts: 28
Joined: Thu Jul 16, 2009 5:46 pm
Location: Slovakia, Bratislava

Re: compilation error 'collect2: ld returned 1 exit status',(new

#34 Post by 8472 »

OndrejR wrote:Nothing unusual in ogre.log. I suggest another thread in support section of this forum. Maybe debugging will be required.
and how can i find which version of boost is being used?
Logic clearly dictates that the needs of the many outweigh the needs of the few.

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: compilation error 'collect2: ld returned 1 exit status',(new

#35 Post by OndrejR »

ldd ./freeorion

User avatar
8472
Space Floater
Posts: 28
Joined: Thu Jul 16, 2009 5:46 pm
Location: Slovakia, Bratislava

Re: compilation error 'collect2: ld returned 1 exit status',(new

#36 Post by 8472 »

OndrejR wrote:ldd ./freeorion
well, it looks like that i have there boost 1.37
linux-gate.so.1 => (0xb8006000)
libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xb7d8d000)
libGiGiOgre.so => /usr/local/lib/libGiGiOgre.so (0xb7d7f000)
libGiGi.so => /usr/local/lib/libGiGi.so (0xb7a41000)
libboost_signals-mt.so.1.37.0 => /usr/lib/libboost_signals-mt.so.1.37.0 (0xb7a2d000)
libboost_system-mt.so.1.37.0 => /usr/lib/libboost_system-mt.so.1.37.0 (0xb7a28000)
libboost_filesystem-mt.so.1.37.0 => /usr/lib/libboost_filesystem-mt.so.1.37.0 (0xb7a14000)
libboost_thread-mt.so.1.37.0 => /usr/lib/libboost_thread-mt.so.1.37.0 (0xb7a05000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb794a000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb78d8000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7861000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7841000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb781b000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb77c5000)
libOgreMain.so.16 => /usr/lib/libOgreMain.so.16 (0xb72c2000)
libboost_serialization-mt.so.1.37.0 => /usr/lib/libboost_serialization-mt.so.1.37.0 (0xb724c000)
libboost_iostreams-mt.so.1.37.0 => /usr/lib/libboost_iostreams-mt.so.1.37.0 (0xb7240000)
libboost_python-mt-py26.so.1.37.0 => /usr/lib/libboost_python-mt-py26.so.1.37.0 (0xb71f5000)
libBulletCollision.so.2.74 => /usr/local/lib/libBulletCollision.so.2.74 (0xb713f000)
libLinearMath.so.2.74 => /usr/local/lib/libLinearMath.so.2.74 (0xb7132000)
libalut.so.0 => /usr/lib/libalut.so.0 (0xb712a000)
libopenal.so.1 => /usr/lib/libopenal.so.1 (0xb6de7000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb6dde000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6db4000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb6dae000)
libgvc.so.4 => /usr/lib/libgvc.so.4 (0xb6d41000)
libgraph.so.4 => /usr/lib/libgraph.so.4 (0xb6d35000)
libcdt.so.4 => /usr/lib/libcdt.so.4 (0xb6d2f000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6c40000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6c1a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6c0b000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6bf1000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb6a8e000)
libz.so.1 => /lib/libz.so.1 (0xb6a78000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb6a74000)
libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb6a70000)
libOgreMain-1.6.2.so => /usr/local/lib/libOgreMain-1.6.2.so (0xb6611000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb6608000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb56f0000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb56ee000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb56de000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb55ee000)
libzzip-0.so.13 => /usr/lib/libzzip-0.so.13 (0xb55e7000)
libXaw.so.7 => /usr/lib/libXaw.so.7 (0xb5589000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb5536000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb552d000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb5514000)
libCg.so => /usr/lib/libCg.so (0xb4e47000)
libfreeimage.so.3 => /usr/lib/libfreeimage.so.3 (0xb4bc4000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb4bb3000)
libpathplan.so.4 => /usr/lib/libpathplan.so.4 (0xb4baa000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb4b82000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb4b79000)
/lib/ld-linux.so.2 (0xb8007000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb4b75000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb4b5b000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb4b45000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb4b34000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb4b2f000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4b2a000)
Logic clearly dictates that the needs of the many outweigh the needs of the few.

Post Reply