Author Topic: compiling failed in gentoo!!  (Read 3468 times)

zyobi

  • Guest
compiling failed in gentoo!!
« on: 16 April 2006, 09:50:34 »
The error message:

Code: [Select]
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 ?
« Last Edit: 1 January 1970, 00:00:00 by zyobi »

gorgonz

  • Guest
(No subject)
« Reply #1 on: 16 April 2006, 13:46:39 »
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   ;)
« Last Edit: 1 January 1970, 00:00:00 by gorgonz »

gborzi

  • Guest
(No subject)
« Reply #2 on: 16 April 2006, 17:28:11 »
Look my first post in this thread
http://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.
« Last Edit: 1 January 1970, 00:00:00 by gborzi »