Author Topic: [fixed] Megaglest build error  (Read 4371 times)

jokefin93

  • Guest
[fixed] Megaglest build error
« on: 28 May 2010, 14:59:13 »
Hi! I have a problem which I can't solve. I'm compiling Megaglest source 3.3.4.3 but...  

Code: [Select]
[kemppa@kukkulaHP glest]$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for target host... assume posix
checking for X... libraries , headers
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for socklen_t... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.5... yes
checking for xerces... found
checking for OpenAL... found
checking for LibJPEG... found
checking for LibPNG... found
checking for pow in -lm... yes
checking for lua.hpp in /usr/local/include/lua5.1... no
checking for lua.hpp in /usr/local/include... no
checking for lua.hpp in /usr/include/lua5.1... no
checking for lua.hpp in /usr/include... yes
checking for luaL_newstate in -llua... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... -lGL
checking for OpenGL Utility library... -lGLU
checking for Vorbis... yes
checking for Ogg... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.6.0 (--unicode=yes)... yes (version 2.8.11)
configure: creating ./config.status
config.status: creating Jamconfig
config.status: executing Jamfile commands
configure:

Notice: This project uses jam (and not make) as build tool.

[kemppa@kukkulaHP glest]$

 :bomb:

I have installed all needed packages including -dev. What should I do? I have binary builded with openSUSE but it complains on Fedora: "./glest.bin: error while loading shared libraries: liblua.so.5.1: cannot open shared object file: No such file or directory" and Lua is installed  :o

My computer:
*Fedora 13 - 64-bit and Gnome
*Nvidia's newest drivers


JAM next post
« Last Edit: 7 June 2010, 09:57:08 by jokefin93 »

jokefin93

  • Guest
Re: Megaglest build error
« Reply #1 on: 28 May 2010, 15:00:23 »
Code: [Select]
[kemppa@kukkulaHP glest]$ jam
...found 577 target(s)...
...updating 163 target(s)...
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/gl_wrap.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/thread.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o
shared_lib/sources/platform/sdl/platform_util.cpp: In function ”bool Shared::Platform::isdir(const char*)”:
shared_lib/sources/platform/sdl/platform_util.cpp:255: virhe: no matching function for call to ”stat::stat(const char*&, stat*)”
/usr/include/bits/stat.h:47: huom: candidates are: stat::stat()
/usr/include/bits/stat.h:47: huom:                 stat::stat(const stat&)
shared_lib/sources/platform/sdl/platform_util.cpp:255: virhe: ”S_ISDIR” on esittelemättä tällä näkyvyysalueella
shared_lib/sources/platform/sdl/platform_util.cpp: In function ”void Shared::Platform::createDirectoryPaths(std::string)”:
shared_lib/sources/platform/sdl/platform_util.cpp:512: virhe: ”mkdir” on esittelemättä tällä näkyvyysalueella
shared_lib/sources/platform/sdl/platform_util.cpp:518: virhe: ”mkdir” on esittelemättä tällä näkyvyysalueella

    g++ -c -o ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o  -DPACKAGE_NAME="megaglest" -DPACKAGE_TARNAME="megaglest" -DPACKAGE_VERSION="3.3.4.3" -DPACKAGE_STRING="megaglest 3.3.4.3" -DPACKAGE_BUGREPORT="matze@braunis.de" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS=/**/ -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL=/**/ -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread     -I/usr/include   -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua   -O3 -DNDEBUG shared_lib/sources/platform/sdl/platform_util.cpp

...failed C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o ...
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window_gl.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/factory_repository.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/posix
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/checksum.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/profiler.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/random.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/properties.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/leak_dumper.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/conversion.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/util.o
shared_lib/sources/util/util.cpp: In static member function ”static void Shared::Util::SystemFlags::OutputDebug(Shared::Util::SystemFlags::DebugType, const char*, ...)”:
shared_lib/sources/util/util.cpp:119: virhe: ”S_IREAD” on esittelemättä tällä näkyvyysalueella
shared_lib/sources/util/util.cpp:119: virhe: ”S_IWRITE” on esittelemättä tällä näkyvyysalueella

    g++ -c -o ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/util.o  -DPACKAGE_NAME="megaglest" -DPACKAGE_TARNAME="megaglest" -DPACKAGE_VERSION="3.3.4.3" -DPACKAGE_STRING="megaglest 3.3.4.3" -DPACKAGE_BUGREPORT="matze@braunis.de" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS=/**/ -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL=/**/ -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread     -I/usr/include   -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua   -O3 -DNDEBUG shared_lib/sources/util/util.cpp

...failed C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/util.o ...
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/texture_manager.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/pixmap.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/font.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/model.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/interpolation.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/font_manager.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/BMPReader.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/FileReader.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/shader.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/ImageReaders.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/texture.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/TGAReader.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/buffer.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/particle.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/quaternion.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/camera.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/shader_manager.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/JPGReader.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/PNGReader.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/model_manager.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/context.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/graphics_interface.o
« Last Edit: 7 June 2010, 09:56:45 by jokefin93 »

jokefin93

  • Guest
Re: Megaglest build error
« Reply #2 on: 28 May 2010, 15:01:21 »
Code: [Select]
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/opengl.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/context_gl.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/model_renderer_gl.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/font_gl.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/shader_gl.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/texture_gl.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/text_renderer_gl.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/particle_renderer_gl.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_file_loader.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_interface.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_player.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/openal
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/openal/sound_player_openal.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/lua
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/lua/lua_script.o
...skipped libglestlib.a for lack of libglestlib.a(platform_util.o)...
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai_rule.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai_interface.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/path_finder.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/logger.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/auto_test.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/components.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/game_util.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/chat_manager.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/game.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/console.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/game_camera.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/stats.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/commander.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/script_manager.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/config.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/lang.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/metrics.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/core_data.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/renderer.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/unit_particle_type.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/particle_type.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/gui.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/display.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/selection.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/battle_end.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/intro.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/program.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/main.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_root.o
...on 100th target...
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_new_game.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/main_menu.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_graphic_info.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_options.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_about.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_scenario.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_background.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_custom_game.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_join_game.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_types.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/server_interface.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_manager.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_message.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_interface.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/client_interface.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/connection_slot.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound/sound_renderer.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound/sound_container.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/upgrade.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/object.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/faction.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/resource.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/command.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/unit.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/element_type.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/faction_type.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/tech_tree.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/damage_multiplier.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/object_type.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/resource_type.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/upgrade_type.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/skill_type.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/unit_type.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/command_type.o
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/minimap.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/time_flow.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/world.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/map.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/tileset.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/surface_atlas.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/unit_updater.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/scenario.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/water_effects.o
...skipped glest.bin for lack of libglestlib.a...
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/renderer.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/map.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/program.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/main.o
...skipped glest_editor for lack of libglestlib.a...
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer
C++ ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/renderer.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/main.o
...skipped glest_g3dviewer for lack of libglestlib.a...
MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/configurator
C++ ./build/x86_64-unknown-linux-gnu/optimize/configurator/configuration.o
C++ ./build/x86_64-unknown-linux-gnu/optimize/configurator/main.o
...skipped glest_configurator for lack of libglestlib.a...
...failed updating 2 target(s)...
...skipped 5 target(s)...
...updated 156 target(s)...

[kemppa@kukkulaHP glest]$

That's all.
« Last Edit: 7 June 2010, 09:56:18 by jokefin93 »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Megaglest build error
« Reply #3 on: 28 May 2010, 22:13:09 »
Can you give us english error messages? I cannot understand the messages.

Before you start to compile, please type the following  in the terminal you use to compile:

export LANG=

this will kill the Language and then you'll get English errors.

and then you call jam.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Megaglest build error
« Reply #4 on: 29 May 2010, 05:47:19 »
What exact linux distro and kernel version are you using? I have seen this compile error in many other linux projects as the file i/o routines require an additional (or 1 less) parameter in different kernels.

jokefin93

  • Guest
Re: Megaglest build error
« Reply #5 on: 3 June 2010, 11:31:14 »
Code: [Select]
[kemppa@kukkulaHP megaglest-source-3.3.4.3]$ export LANG=
[kemppa@kukkulaHP megaglest-source-3.3.4.3]$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for target host... assume posix
checking for X... libraries , headers
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for socklen_t... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.5... yes
checking for xerces... found
checking for OpenAL... found
checking for LibJPEG... found
checking for LibPNG... found
checking for pow in -lm... yes
checking for lua.hpp in /usr/local/include/lua5.1... no
checking for lua.hpp in /usr/local/include... no
checking for lua.hpp in /usr/include/lua5.1... no
checking for lua.hpp in /usr/include... yes
checking for luaL_newstate in -llua... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... -lGL
checking for OpenGL Utility library... -lGLU
checking for Vorbis... yes
checking for Ogg... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.6.0 (--unicode=yes)... yes (version 2.8.11)
configure: creating ./config.status
config.status: creating Jamconfig
config.status: executing Jamfile commands
configure:

Notice: This project uses jam (and not make) as build tool.

[kemppa@kukkulaHP megaglest-source-3.3.4.3]$

« Last Edit: 7 June 2010, 09:55:56 by jokefin93 »

jokefin93

  • Guest
Re: Megaglest build error
« Reply #6 on: 3 June 2010, 11:37:21 »
Code: [Select]
[kemppa@kukkulaHP megaglest-source-3.3.4.3]$ jam

...found 577 target(s)...

...updating 163 target(s)...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/gl_wrap.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/thread.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o

shared_lib/sources/platform/sdl/platform_util.cpp: In function 'bool Shared::Platform::isdir(const char*)':

shared_lib/sources/platform/sdl/platform_util.cpp:255: error: no matching function for call to 'stat::stat(const char*&, stat*)'

/usr/include/bits/stat.h:47: note: candidates are: stat::stat()

/usr/include/bits/stat.h:47: note:                 stat::stat(const stat&)

shared_lib/sources/platform/sdl/platform_util.cpp:255: error: 'S_ISDIR' was not declared in this scope

shared_lib/sources/platform/sdl/platform_util.cpp: In function 'void Shared::Platform::createDirectoryPaths(std::string)':

shared_lib/sources/platform/sdl/platform_util.cpp:512: error: 'mkdir' was not declared in this scope

shared_lib/sources/platform/sdl/platform_util.cpp:518: error: 'mkdir' was not declared in this scope

    g++ -c -o ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o  -DPACKAGE_NAME="megaglest" -DPACKAGE_TARNAME="megaglest" -DPACKAGE_VERSION="3.3.4.3" -DPACKAGE_STRING="megaglest 3.3.4.3" -DPACKAGE_BUGREPORT="matze@braunis.de" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS=/**/ -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL=/**/ -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread     -I/usr/include   -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua   -O3 -DNDEBUG shared_lib/sources/platform/sdl/platform_util.cpp

...failed C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o ...

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/factory_repository.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/posix

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/checksum.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/profiler.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/random.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/properties.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/leak_dumper.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/conversion.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/util.o

shared_lib/sources/util/util.cpp: In static member function 'static void Shared::Util::SystemFlags::OutputDebug(Shared::Util::SystemFlags::DebugType, const char*, ...)':

shared_lib/sources/util/util.cpp:119: error: 'S_IREAD' was not declared in this scope

shared_lib/sources/util/util.cpp:119: error: 'S_IWRITE' was not declared in this scope

    g++ -c -o ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/util.o  -DPACKAGE_NAME="megaglest" -DPACKAGE_TARNAME="megaglest" -DPACKAGE_VERSION="3.3.4.3" -DPACKAGE_STRING="megaglest 3.3.4.3" -DPACKAGE_BUGREPORT="matze@braunis.de" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS=/**/ -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL=/**/ -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread     -I/usr/include   -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua   -O3 -DNDEBUG shared_lib/sources/util/util.cpp

...failed C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/util.o ...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/texture_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/pixmap.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/font.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/model.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/interpolation.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/font_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/BMPReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/FileReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/shader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/ImageReaders.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/texture.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/TGAReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/buffer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/particle.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/quaternion.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/camera.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/shader_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/JPGReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/PNGReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/model_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/context.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/graphics_interface.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/opengl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/context_gl.o

« Last Edit: 7 June 2010, 09:55:38 by jokefin93 »

jokefin93

  • Guest
Re: Megaglest build error
« Reply #7 on: 3 June 2010, 11:37:54 »
Code: [Select]
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/model_renderer_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/font_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/shader_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/texture_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/text_renderer_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/particle_renderer_gl.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_file_loader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_player.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/openal

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/openal/sound_player_openal.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/lua

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/lua/lua_script.o

...skipped libglestlib.a for lack of libglestlib.a(platform_util.o)...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai_rule.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/path_finder.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/logger.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/auto_test.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/components.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/game_util.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/chat_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/console.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/game_camera.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/stats.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/commander.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/script_manager.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/config.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/lang.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/metrics.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/core_data.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/unit_particle_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/particle_type.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/gui.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/display.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/selection.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/battle_end.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/intro.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/program.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/main.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_root.o

...on 100th target...

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_new_game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/main_menu.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_graphic_info.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_options.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_about.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_scenario.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_background.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_custom_game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_join_game.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_types.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/server_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_message.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/client_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/connection_slot.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound/sound_renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound/sound_container.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/upgrade.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/object.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/faction.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/resource.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/command.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/unit.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/element_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/faction_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/tech_tree.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/damage_multiplier.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/object_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/resource_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/upgrade_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/skill_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/unit_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/command_type.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/minimap.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/time_flow.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/world.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/map.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/tileset.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/surface_atlas.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/unit_updater.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/scenario.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/water_effects.o

...skipped glest.bin for lack of libglestlib.a...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/map.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/program.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/main.o

...skipped glest_editor for lack of libglestlib.a...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer

C++ ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/main.o

...skipped glest_g3dviewer for lack of libglestlib.a...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/configurator

C++ ./build/x86_64-unknown-linux-gnu/optimize/configurator/configuration.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/configurator/main.o

...skipped glest_configurator for lack of libglestlib.a...

...failed updating 2 target(s)...

...skipped 5 target(s)...

...updated 156 target(s)...

[kemppa@kukkulaHP megaglest-source-3.3.4.3]$
« Last Edit: 7 June 2010, 09:55:18 by jokefin93 »

jokefin93

  • Guest
Re: Megaglest build error
« Reply #8 on: 3 June 2010, 11:42:14 »
And
Quote
[kemppa@kukkulaHP megaglest-source-3.3.4.3]$ uname -a
Linux kukkulaHP 2.6.33.4-95.fc13.x86_64 #1 SMP Thu May 13 05:16:23 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

Any ideas?

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Megaglest build error
« Reply #9 on: 3 June 2010, 15:33:18 »
S_IREAD and S_IWRITE are declared in stat.h for my ubuntu system. Are you missing those declaration for your Linux distro?

The values in my header are:

#define   __S_IREAD   0400   /* Read by owner.  */
#define   __S_IWRITE   0200   /* Write by owner.  */

EDIT:

Actually I notice some Linux distro's / versions DON'T support the last parameter to _open(), so I added #defines in the code. Try updating your code from SVN and it should now compile.
« Last Edit: 3 June 2010, 15:53:59 by softcoder »

jokefin93

  • Guest
Re: Megaglest build error
« Reply #10 on: 4 June 2010, 06:58:25 »
Well, something is improvement. ./configure told me install libcurl-devel and I installed.

Code: [Select]
[kemppa@kukkulaHP linux]$ jam

...found 905 target(s)...

...updating 243 target(s)...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_fmodf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/k_rem_pio2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_llroundf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_llrintf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_lrintf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_rintf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_fabsf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_j0f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_acoshf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_copysignf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_exp2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_logbf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/k_cosf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_log1pf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_tanf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_nearbyintf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_logf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/w_expf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_ldexpf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_j1f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_sqrtf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_jnf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_isnanf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_scalblnf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_modff.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_expf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_erff.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_sinf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_remainderf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_fpclassifyf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/k_tanf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_remquof.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_coshf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_expm1f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_rem_pio2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_asinhf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_sincosf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_floorf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_lroundf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_ilogbf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_hypotf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_log2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_nextafterf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_frexpf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_atanhf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_roundf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_tanhf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_asinf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_ceilf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_atanf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_isinff.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/k_sinf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_lgammaf_r.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_finitef.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_sinhf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_scalbnf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_powf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_log10f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_signbitf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_acosf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_cosf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_gammaf_r.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_atan2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_cbrtf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_truncf.o

Archive ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/libstrefloplib.a

ar: creating ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/libstrefloplib.a

Ranlib ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/libstrefloplib.a

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/platform_common.o

shared_lib/sources/platform/common/platform_common.cpp: In function 'bool Shared::PlatformCommon::isdir(const char*)':

shared_lib/sources/platform/common/platform_common.cpp:269: error: no matching function for call to 'stat::stat(const char*&, stat*)'

/usr/include/bits/stat.h:47: note: candidates are: stat::stat()

/usr/include/bits/stat.h:47: note:                 stat::stat(const stat&)

shared_lib/sources/platform/common/platform_common.cpp:269: error: 'S_ISDIR' was not declared in this scope

shared_lib/sources/platform/common/platform_common.cpp: In function 'void Shared::PlatformCommon::createDirectoryPaths(std::string)':

shared_lib/sources/platform/common/platform_common.cpp:586: error: 'mkdir' was not declared in this scope

shared_lib/sources/platform/common/platform_common.cpp:597: error: 'mkdir' was not declared in this scope

    g++ -c -o ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/platform_common.o  -fno-strict-aliasing -frounding-math -fsignaling-nans -mfpmath=sse -msse -msse2 -DPACKAGE_NAME="megaglest" -DPACKAGE_TARNAME="megaglest" -DPACKAGE_VERSION="3.3.5" -DPACKAGE_STRING="megaglest 3.3.5" -DPACKAGE_BUGREPORT="matze@braunis.de" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_STREFLOP=/**/ -DSTREFLOP_SSE=/**/ -DLIBM_COMPILING_FLT32=/**/ -DUSE_POSIX_SOCKETS=/**/ -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL=/**/ -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread     -I/usr/include    -Ishared_lib/sources/../include/platform/common -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua -Ishared_lib/sources/../include/streflop -Ishared_lib/sources/../include/streflop/libm_flt32_source   -O3 -DNDEBUG -fno-strict-aliasing -frounding-math -fsignaling-nans -mfpmath=sse -msse -msse2 shared_lib/sources/platform/common/platform_common.cpp

...failed C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/platform_common.o ...

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/base_thread.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/cache_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/simple_threads.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/gl_wrap.o

« Last Edit: 7 June 2010, 09:54:50 by jokefin93 »

jokefin93

  • Guest
Re: Megaglest build error
« Reply #11 on: 4 June 2010, 06:58:48 »
Code: [Select]
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/thread.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/factory_repository.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/posix

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/randomgen.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/checksum.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/profiler.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/properties.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/leak_dumper.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/conversion.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/util.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/texture_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/pixmap.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/font.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/model.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/interpolation.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/font_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/BMPReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/FileReader.o

...on 100th target...

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/shader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/ImageReaders.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/texture.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/TGAReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/buffer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/particle.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/quaternion.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/camera.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/shader_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/JPGReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/PNGReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/model_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/context.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/graphics_interface.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/opengl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/context_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/model_renderer_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/font_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/shader_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/texture_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/text_renderer_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/particle_renderer_gl.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_file_loader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_player.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/openal

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/openal/sound_player_openal.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/lua

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/lua/lua_script.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/Random.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/SMath.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/streflopC.o

...skipped libglestlib.a for lack of libglestlib.a(platform_common.o)...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai_rule.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/path_finder.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/logger.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/auto_test.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/components.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/game_util.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/chat_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/console.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/game_camera.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/stats.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/commander.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/script_manager.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/config.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/lang.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/metrics.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/core_data.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/unit_particle_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/particle_type.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/gui.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/display.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/selection.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/battle_end.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/intro.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/program.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/main.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_root.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_new_game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/main_menu.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_graphic_info.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_connected_game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_options.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_about.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_masterserver.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_scenario.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_background.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_custom_game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_join_game.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_types.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/server_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_message.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/client_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/connection_slot.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound/sound_renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound/sound_container.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/upgrade.o

...on 200th target...

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/object.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/faction.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/resource.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/command.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/unit.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/element_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/faction_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/tech_tree.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/damage_multiplier.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/object_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/resource_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/upgrade_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/skill_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/unit_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/command_type.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/minimap.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/time_flow.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/world.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/map.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/tileset.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/surface_atlas.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/unit_updater.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/scenario.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/water_effects.o

...skipped glest.bin for lack of libglestlib.a...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/map.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/program.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/main.o

...skipped glest_editor for lack of libglestlib.a...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer

C++ ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/main.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/../glest_game/graphics

C++ ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/../glest_game/graphics/unit_particle_type.o

...skipped glest_g3dviewer for lack of libglestlib.a...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/configurator

C++ ./build/x86_64-unknown-linux-gnu/optimize/configurator/configuration.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/configurator/main.o

...skipped glest_configurator for lack of libglestlib.a...

...failed updating 1 target(s)...

...skipped 5 target(s)...

...updated 237 target(s)...

[kemppa@kukkulaHP linux]$

« Last Edit: 7 June 2010, 09:54:25 by jokefin93 »

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Megaglest build error
« Reply #12 on: 4 June 2010, 07:20:54 »
Hi, I can't really help you on the actual error, but when you post could you post with the "code" tag not with the quote...  ::)
like
Quote from:  from me...
[code] information [/code]
So something like this...  ::)
Code: [Select]
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/thread.o
...
At least do this on future posts, as it also help people to understand what's the problem too...  ::)

Good Luck with the actual error.  :thumbup:  :)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Megaglest build error
« Reply #13 on: 4 June 2010, 15:50:29 »
Ok update from SVN again, and see if you get any further.

jokefin93

  • Guest
Re: Megaglest build error
« Reply #14 on: 5 June 2010, 09:29:26 »
Ok code in a code box this time. I didn't notice it  ;D

Code: [Select]
[kemppa@kukkulaHP linux]$ jam

don't know how to make <g3d_viewer>../glest_game/graphics/unit_particle_type.cpp

...found 889 target(s)...

...updating 235 target(s)...

...can't find 1 target(s)...

...can't make 2 target(s)...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_fmodf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/k_rem_pio2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_llroundf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_llrintf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_lrintf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_rintf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_fabsf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_j0f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_acoshf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_copysignf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_exp2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_logbf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/k_cosf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_log1pf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_tanf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_nearbyintf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_logf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/w_expf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_ldexpf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_j1f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_sqrtf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_jnf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_isnanf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_scalblnf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_modff.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_expf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_erff.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_sinf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_remainderf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_fpclassifyf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/k_tanf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_remquof.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_coshf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_expm1f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_rem_pio2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_asinhf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_sincosf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_floorf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_lroundf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_ilogbf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_hypotf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_log2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_nextafterf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_frexpf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_atanhf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_roundf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_tanhf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_asinf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_ceilf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_atanf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_isinff.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/k_sinf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_lgammaf_r.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_finitef.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_sinhf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_scalbnf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_powf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_log10f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_signbitf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_acosf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_cosf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_gammaf_r.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/e_atan2f.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_cbrtf.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/libm/flt-32/s_truncf.o

Archive ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/libstrefloplib.a

ar: creating ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/libstrefloplib.a

Ranlib ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/libstrefloplib.a

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/platform_common.o

shared_lib/sources/platform/common/platform_common.cpp: In function 'bool Shared::PlatformCommon::isdir(const char*)':

shared_lib/sources/platform/common/platform_common.cpp:273: error: no matching function for call to 'stat::stat(const char*&, stat*)'

/usr/include/bits/stat.h:47: note: candidates are: stat::stat()

/usr/include/bits/stat.h:47: note:                 stat::stat(const stat&)

shared_lib/sources/platform/common/platform_common.cpp:273: error: '_S_IFDIR' was not declared in this scope

shared_lib/sources/platform/common/platform_common.cpp: In function 'void Shared::PlatformCommon::createDirectoryPaths(std::string)':

shared_lib/sources/platform/common/platform_common.cpp:590: error: 'mkdir' was not declared in this scope

shared_lib/sources/platform/common/platform_common.cpp:602: error: 'mkdir' was not declared in this scope

    g++ -c -o ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/platform_common.o  -fno-strict-aliasing -frounding-math -fsignaling-nans -mfpmath=sse -msse -msse2 -DPACKAGE_NAME="megaglest" -DPACKAGE_TARNAME="megaglest" -DPACKAGE_VERSION="3.3.5" -DPACKAGE_STRING="megaglest 3.3.5" -DPACKAGE_BUGREPORT="matze@braunis.de" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_STREFLOP=/**/ -DSTREFLOP_SSE=/**/ -DLIBM_COMPILING_FLT32=/**/ -DUSE_POSIX_SOCKETS=/**/ -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL=/**/ -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread     -I/usr/include    -Ishared_lib/sources/../include/platform/common -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua -Ishared_lib/sources/../include/streflop -Ishared_lib/sources/../include/streflop/libm_flt32_source   -O3 -DNDEBUG -fno-strict-aliasing -frounding-math -fsignaling-nans -mfpmath=sse -msse -msse2 shared_lib/sources/platform/common/platform_common.cpp

...failed C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/platform_common.o ...

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/base_thread.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/cache_manager.o

C++ ./build/x86_64-unknown-linux

jokefin93

  • Guest
Re: Megaglest build error
« Reply #15 on: 5 June 2010, 09:30:37 »
Code: [Select]
gnu/optimize/shared_lib/sources/platform/common/simple_threads.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/gl_wrap.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/thread.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/window_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/sdl/factory_repository.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/posix

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/randomgen.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/checksum.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/profiler.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/properties.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/leak_dumper.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/conversion.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/util/util.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/texture_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/pixmap.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/font.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/model.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/interpolation.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/font_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/BMPReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/FileReader.o

...on 100th target...

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/shader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/ImageReaders.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/texture.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/TGAReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/buffer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/particle.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/quaternion.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/camera.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/shader_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/JPGReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/PNGReader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/model_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/context.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/graphics_interface.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/opengl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/context_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/model_renderer_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/font_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/shader_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/texture_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/text_renderer_gl.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/graphics/gl/particle_renderer_gl.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_file_loader.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/sound_player.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/openal

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/sound/openal/sound_player_openal.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/lua

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/lua/lua_script.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/Random.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/SMath.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/streflop/streflopC.o

...skipped libglestlib.a for lack of libglestlib.a(platform_common.o)...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai_rule.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/ai_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/ai/path_finder.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/logger.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/auto_test.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/components.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/facilities/game_util.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/chat_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/console.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/game_camera.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/stats.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/commander.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/game/script_manager.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/config.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/lang.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/metrics.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/global/core_data.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/unit_particle_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/graphics/particle_type.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/gui.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/display.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/gui/selection.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/battle_end.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/intro.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/program.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/main/main.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_root.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_new_game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/main_menu.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_graphic_info.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_connected_game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_options.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_about.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_masterserver.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_scenario.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_background.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_custom_game.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/menu/menu_state_join_game.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_types.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/server_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_manager.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_message.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/network_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/client_interface.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/network/connection_slot.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound/sound_renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/sound/sound_container.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/upgrade.o

...on 200th target...

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/object.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/faction.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/resource.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/command.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/type_instances/unit.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/element_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/faction_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/tech_tree.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/damage_multiplier.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/object_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/resource_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/upgrade_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/skill_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/unit_type.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/types/command_type.o

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/minimap.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/time_flow.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/world.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/map.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/tileset.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/surface_atlas.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/unit_updater.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/scenario.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_game/world/water_effects.o

...skipped glest.bin for lack of libglestlib.a...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/renderer.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/map.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/program.o

C++ ./build/x86_64-unknown-linux-gnu/optimize/glest_map_editor/main.o

...skipped glest_editor for lack of libglestlib.a...

MkDir1 ./build/x86_64-unknown-linux-gnu/optimize/g3d_viewer/../glest_game/graphics

...skipped <T!g3d_viewer!>../glest_game/graphics/unit_particle_type.o for lack of <g3d_viewer>../glest_game/graphics/unit_particle_type.cpp...

...skipped glest_g3dviewer for lack of <T!g3d_viewer!>../glest_game/graphics/unit_particle_type.o...

...skipped glest_configurator for lack of libglestlib.a...

...failed updating 1 target(s)...

...skipped 6 target(s)...

...updated 230 target(s)...

[kemppa@kukkulaHP linux]$


Some progress again :)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Megaglest build error
« Reply #16 on: 5 June 2010, 17:20:12 »
Ok, sorry to say but without knowing where to get your Linux Distro ISO, I cannot help you. The compile errors indicate that your linux distribution seems to be missing some basic support (like creating directories and checking file system attributes to find directories). Without installing this distribution myself how can I help you when we don't even know which Linux distro it is.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Megaglest build error
« Reply #17 on: 6 June 2010, 12:00:30 »
He said what distro it was:

Quote
My computer:
*Fedora 13 - 64-bit and Gnome
*Nvidia's newest drivers
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Megaglest build error
« Reply #18 on: 6 June 2010, 21:01:47 »
Thanks Titi, I must have missed that. I'm downloading Fedora (32 and 64 bit) now and will find out whats wrong.

treba

  • Guest
Re: Megaglest build error
« Reply #19 on: 6 June 2010, 23:44:54 »
Code: [Select]
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/platform/common/platform_common.o

shared_lib/sources/platform/common/platform_common.cpp: In function 'bool Shared::PlatformCommon::isdir(const char*)':

shared_lib/sources/platform/common/platform_common.cpp:273: error: no matching function for call to 'stat::stat(const char*&, stat*)'

/usr/include/bits/stat.h:47: note: candidates are: stat::stat()

/usr/include/bits/stat.h:47: note:                 stat::stat(const stat&)

shared_lib/sources/platform/common/platform_common.cpp:273: error: '_S_IFDIR' was not declared in this scope

i can confirm this bug on bleding edge archlinux 32bit with current svn.
there´s only a minimal difference:

Code: [Select]
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/common/platform_common.o

shared_lib/sources/platform/common/platform_common.cpp: In function 'bool Shared::PlatformCommon::isdir(const char*)':

shared_lib/sources/platform/common/platform_common.cpp:275:32: error: no matching function for call to 'stat::stat(const char*&, stat*)'

/usr/include/bits/stat.h:40:3: note: candidates are: stat::stat()

/usr/include/bits/stat.h:40:3: note:                 stat::stat(const stat&)

shared_lib/sources/platform/common/platform_common.cpp:275:63: error: 'S_ISDIR' was not declared in this scope
« Last Edit: 6 June 2010, 23:59:55 by treba »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Megaglest build error
« Reply #20 on: 7 June 2010, 07:11:01 »
Ok all fixed. Update your project from SVN. To build on fedora, you may run the setup script to get RPM's required to build mega-glest location in:

mk/linux

./setupBuildDepts.sh

Then to compile mega-glest on fedora run these commands in the mk/linx folder:
./autogen.sh
./configure
jam

and voila, binaries are in the same folder.

treba

  • Guest
Re: Megaglest build error
« Reply #21 on: 7 June 2010, 10:43:28 »
runs fine on arch. thanks :)

EDIT: now, i got a segmenation fault when i try to start the editor:
Code: [Select]
./editor
default openal library is missing, attempting to find and link to a newer version if available...
STREFLOP enabled.
./editor: line 34:  4789 Segmentation fault      $GAMEDIR/bin/glest_editor "$1"

when using the script and
Code: [Select]
bin/glest_editor
STREFLOP enabled.
Segmentation fault
« Last Edit: 7 June 2010, 15:06:41 by treba »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Megaglest build error
« Reply #22 on: 14 July 2010, 15:24:54 »
Hmm it looks like this thread was somehow missed. Is this still an issue for you, treba?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Megaglest build error
« Reply #23 on: 18 July 2010, 05:34:43 »
The next alpha has updated linux scripts which will hopefully correct this for some linux distro's

 

anything