News:

MegaGlests' game mods menu let's you install many new mods. Even more are available on the MegaGlest Wiki and the Mods forum.

Main Menu

compiling failed in gentoo!!

Started by zyobi, 16 April 2006, 09:50:34

zyobi

The error message:

C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/time_flow.o
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/unit_updater.o
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/water_effects.o
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/world.o
LinkApplication glest
LinkApplication glest_map_editor
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../crt1.o: In function `_start':
init.c:(.text+0x18): undefined reference to `main'
collect2: ld 返回 1

    i686-pc-linux-gnu-g++ -o glest_map_editor   ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/libglestlib.a  -Wl,-O1 -lSDL -lpthread -lGL  -lm -lGLU -lGL  -lm -lxerces-c -lpthread -L/usr/lib -lvorbis -lm -lvorbisfile -L/usr/lib -logg -lopenal -pthread -Wl,-O1 -L/usr/X11R6/lib -lwx_gtk2_gl-2.6 -lwx_gtk2_xrc-2.6 -lwx_gtk2_html-2.6 -lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6

...failed LinkApplication glest_map_editor ...
...failed updating 1 target(s)...
...updated 116 target(s)...

!!! ERROR: games-strategy/glest-2.0.0 failed.
Call stack:
  ebuild.sh, line 1533:   Called dyn_compile
  ebuild.sh, line 930:   Called src_compile
  glest-2.0.0.ebuild, line 67:   Called die

!!! jam failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


What's wrong?Can anybody help me ?

gorgonz

#1
Hi zyobi,

there was a note in another thread here, that told of problems with the map editor. I remember, that map editor is not yet done (for linux?) and therefore one could/should deactivate some options.

On the other hand I must say, that my compile under opensuse 10.0 did not show this errors. Anyway I don't have the editor too   ;)

gborzi

#2
Look my first post in this thread
//http://www.glest.org/board/viewtopic.php?p=6916&highlight=#6916
hope this helps. BTW, looking at the output you posted, you have actually compiled glest, only glest_map_editor failed.