Bug#556919: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Wed Nov 18 10:00:27 UTC 2009


Source: warzone2100
Version: 2.2.4-3
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

Objects inside an .a archive aren't linked yet. This means that you must resolve
their symbols when linking them to a program.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

g++  -g -O2  -rdynamic -Wl,-z,defs -o warzone2100 action.o advvis.o ai.o aiexperience.o astar.o atmos.o aud.o baseobject.o bridge.o bucket3d.o cheat.o clparse.o cluster.o cmddroid.o combat.o component.o configuration.o console.o data.o design.o difficulty.o display3d.o display.o drive.o droid.o e3demo.o edit3d.o effects.o environ.o feature.o force-linker.o formation.o fpath.o frontend.o function.o game.o gateway.o geometry.o group.o hci.o ingameop.o init.o intdisplay.o intelmap.o intimage.o intorder.o keybind.o keyedit.o keymap.o level_lexer.lex.o levels.o lighting.o loadsave.o loop.o main.o map.o mapdisplay.o mapgrid.o mechanics.o message.o message_lexer.lex.o message_parser.tab.o miscimd.o mission.o move.o multibot.o multigifts.o multiint.o multijoin.o multilimit.o multimenu.o multiopt.o multiplay.o multistat.o multistruct.o multisync.o objects.o objmem.o oprint.o order.o parsetest.o power.o projectile.o radar.o raycast.o research.o scores.o scriptai.o scriptcb.o scriptextern.o scriptfuncs.o scriptobj.o scripttabs.o scriptvals.o scriptvals_lexer.lex.o scriptvals_parser.tab.o selection.o seqdisp.o stats.o structure.o target.o text.o texture.o transporter.o version.o visibility.o warcam.o warzoneconfig.o wrappers.o ../lib/widget/libwidget.a ../lib/sequence/libsequence.a ../lib/sound/libsound.a ../lib/script/libscript.a ../lib/netplay/libnetplay.a ../lib/ivis_opengl/libivis_opengl.a ../lib/ivis_common/libivis_common.a ../lib/gamelib/libgamelib.a ../lib/framework/libframework.a ../lib/exceptionhandler/libexceptionhandler.a  -lSDL   -lSDL_net -lphysfs -lpng12   -lvorbisfile -lvorbis -lm -logg   -ltheora -logg   -lopenal   -lGLC -lGL -lGLU -lpopt  
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function lost_scrap:scrap.c:319: error: undefined reference to 'XGetSelectionOwner'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function convert_format:scrap.c:100: error: undefined reference to 'XInternAtom'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function get_scrap:scrap.c:448: error: undefined reference to 'XGetSelectionOwner'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function get_scrap:scrap.c:480: error: undefined reference to 'XGetWindowProperty'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function get_scrap:scrap.c:493: error: undefined reference to 'XFree'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function get_scrap:scrap.c:462: error: undefined reference to 'XInternAtom'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function get_scrap:scrap.c:463: error: undefined reference to 'XConvertSelection'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function put_scrap:scrap.c:345: error: undefined reference to 'XChangeProperty'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function put_scrap:scrap.c:349: error: undefined reference to 'XSetSelectionOwner'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function clipboard_filter:scrap.c:608: error: undefined reference to 'XGetWindowProperty'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function clipboard_filter:scrap.c:625: error: undefined reference to 'XFree'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function clipboard_filter:scrap.c:627: error: undefined reference to 'XSendEvent'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function clipboard_filter:scrap.c:628: error: undefined reference to 'XSync'
/usr/bin/ld: ../lib/widget/libwidget.a(scrap.o): in function clipboard_filter:scrap.c:620: error: undefined reference to 'XChangeProperty'
collect2: ld returned 1 exit status
make[4]: *** [warzone2100] Error 1





More information about the Pkg-games-devel mailing list