URL:
<http://gna.org/bugs/?9108>
Summary: Static build is broken
Project: Battle for Wesnoth
Submitted by: esr
Submitted on: Thursday 05/10/2007 at 12:32
Category: Bug
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk
Operating System: Linux
_______________________________________________________
Details:
Build with enable-static fails. The message is:
g++ -I ./sdl_ttf -I../intl -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -DHAVE_PYTHON -I/usr/include/python2.5
-DWESNOTH_PATH=\"/usr/local/share/wesnoth\" -DLOCALEDIR=\"translations\"
-DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/usr/local/var/run/wesnothd\"
-DHAVE_FRIBIDI -I/usr/include -O0 -DDEBUG -ggdb3 -W -Wall -ansi
-DSVNREV=\"17452\" -D_X11 -static -o wesnoth about.o actions.o ai.o
ai_dfool.o ai_attack.o ai_move.o ai_python.o animated.o astarnode.o
attack_prediction.o builder.o cavegen.o checksum.o clipboard.o color_range.o
config_adapter.o construct_dialog.o cursor.o dialogs.o display.o events.o
filechooser.o floating_textbox.o font.o game.o game_events.o gamestatus.o
generic_event.o halo.o help.o hotkeys.o image.o intro.o key.o language.o
leader_list.o loadscreen.o map_create.o map_label.o mapgen.o mapgen_dialog.o
marked-up_text.o menu_events.o minimap.o mouse_events.o multiplayer.o
multiplayer_ui.o multiplayer_wait.o multiplayer_connect.o
multiplayer_create.o multiplayer_lobby.o network.o network_worker.o
pathfind.o playcampaign.o play_controller.o playmp_controller.o
playsingle_controller.o playturn.o preferences.o preferences_display.o
publish_campaign.o replay.o replay_controller.o reports.o sdl_utils.o
show_dialog.o sound.o soundsource.o statistics.o team.o theme.o titlescreen.o
tooltips.o unit.o unit_abilities.o unit_animation.o unit_display.o
unit_frame.o unit_map.o unit_types.o upload_log.o variable.o video.o
serialization/binary_or_text.o serialization/parser.o
serialization/string_utils.o widgets/button.o widgets/file_menu.o
widgets/combo.o widgets/label.o widgets/menu.o widgets/menu_style.o
widgets/progressbar.o widgets/scrollarea.o widgets/scrollbar.o
widgets/scrollpane.o widgets/slider.o widgets/textbox.o widgets/widget.o
sdl_ttf/SDL_ttf.o -L/home/esr/svn/wesnoth/src -lwesnoth-core
/usr/lib/libSDL_image.a -lpng -L/usr/lib -L/usr/share/qt3/lib
/usr/lib/libSDL_mixer.a /usr/lib/libvorbisfile.a /usr/lib/libvorbis.a
/usr/lib/libogg.a /usr/lib/libsmpeg.a -lstdc++ -L/usr/X11R6/lib
/usr/lib/libSDL_net.a -laudio -lXt -lXext /usr/lib/libSDL.a
/usr/lib/libasound.a /usr/lib/libartsc.a /usr/lib/libgmodule-2.0.so
/usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so -lrt /usr/lib/libesd.a
/usr/lib/libaudiofile.a /usr/lib/libdirectfb.a /usr/lib/libfusion.a
/usr/lib/libdirect.a -ldl /usr/lib/libaa.a -lncurses -lslang -lm -lpthread
-lpython2.5 /usr/lib/libfreetype.a -lz /usr/lib/libfribidi.a -lX11
/usr/bin/ld: attempted static link of dynamic object
`/usr/lib/libgmodule-2.0.so'
Note that the message refers to the first of three libraries,
/usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so
/usr/lib/libglib-2.0.so, all of which should be generated into the link line
with .a rather than .so.
I have looked through configure.ac and Makefile.am. but have not found where
this is being generated.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?9108>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs