Author Topic: Bug report: GLEST does not build on gentoo w/ wxWidgets  (Read 3532 times)

gralves

  • Guest
When building glest on a gentoo system it fails:

[code]
LinkApplication glest_map_editor
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../crt1.o: In function `_start':
init.c:(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status

    i686-pc-linux-gnu-g++ -o glest_map_editor  
./build/i686-pc-linux-gnu/optimize/shared_lib/sources/libglestlib.a   -lSDL
-lpthread -lGL  -lm -lGLU -lGL  -lm -lxerces-c -lpthread -L/usr/lib -lvorbis
-lm -lvorbisfile -L/usr/lib -logg -lopenal -pthread -L/usr/X11R6/lib
-lwx_gtk2_gl-2.6 -lwx_gtk2_xrc-2.6 -lwx_gtk2_html-2.6 -lwx_gtk2_dbgrid-2.6
-lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_odbc-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)...
[\code]

It is caused by glest trying to build the map editor. I suggest that a compile option to disable the editor be added to the config files.

Please see http://bugs.gentoo.org/show_bug.cgi?id=130011 for more information.
« Last Edit: 1 January 1970, 00:00:00 by gralves »

charon

  • Guest
(No subject)
« Reply #1 on: 31 July 2006, 06:31:01 »
I use GCC 4.1.1 and get the same error while trying to compile it.
My suggestion is to add an option to disable wxGTK.
« Last Edit: 1 January 1970, 00:00:00 by charon »