[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#556336: FTBFS with binutils-gold



Source: saods9
Version: 4.0b7-2
Severity: minor
User: peter.fritzsche@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 to a program.

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

g++ -Wall -g -O2 -DHAVE_SYS_UN_H -DHAVE_SYS_SHM_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/tcl8.4  -o ds9 ds9.o ds9tk.o /usr/lib/Tktable2.9/libTktable2.9.so -lz -lBLT -ltk8.4 -ltcl8.4 -L../lib -lsaotk -ltkhtml -ltkmpeg -lsla -liis -lcheckdns  -lxpa  -lcheckdns -lgfortran
/usr/bin/ld: ../lib/libsaotk.a(framepseudo8.o): in function FramePseudoColor8::rotateMotion():framepseudo8.C:461: error: undefined reference to 'XPutImage'
/usr/bin/ld: ../lib/libsaotk.a(framepseudo8.o): in function FramePseudoColor8::rotateMotion():framepseudo8.C:467: error: undefined reference to 'XCopyArea'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::pannerCmd(char*, int, int):frcommand.C:2268: error: undefined reference to 'XGetImage'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::rotateMotionBeginCmd():frcommand.C:2047: error: undefined reference to 'XGetImage'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::rotateMotionBeginCmd():frcommand.C:2055: error: undefined reference to 'XGetImage'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::magnifierCmd(char*, int, int):frcommand.C:2218: error: undefined reference to 'XCreateGC'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::magnifierCmd(char*, int, int):frcommand.C:2208: error: undefined reference to 'XGetImage'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::panMotionCmd(Vector const&):frcommand.C:1964: error: undefined reference to 'XSetForeground'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::panMotionCmd(Vector const&):frcommand.C:1968: error: undefined reference to 'XFillRectangle'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::panMotionCmd(Vector const&):frcommand.C:1972: error: undefined reference to 'XFillRectangle'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::panMotionCmd(Vector const&):frcommand.C:1978: error: undefined reference to 'XCopyArea'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::panMotionBeginCmd(Vector const&):frcommand.C:1929: error: undefined reference to 'XCopyArea'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::iisCursorModeCmd(int):frcommand.C:1629: error: undefined reference to 'XWarpPointer'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::iisCursorModeCmd(int):frcommand.C:1609: error: undefined reference to 'XQueryPointer'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::iisCursorModeCmd(int):frcommand.C:1623: error: undefined reference to 'XWarpPointer'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::iisSetCursorCmd(Vector const&, CoordSystem):frcommand.C:1593: error: undefined reference to 'XWarpPointer'
/usr/bin/ld: ../lib/libsaotk.a(frcommand.o): in function FrameBase::iisSetCursorCmd(Vector const&, InternalSystem):frcommand.C:1582: error: undefined reference to 'XWarpPointer'
/usr/bin/ld: ../lib/libsaotk.a(grid.o): in function Grid::drawString(char const*, Vector, char const*):grid.C:740: error: undefined reference to 'XDrawString'
/usr/bin/ld: ../lib/libsaotk.a(grid.o): in function Grid::x11Text(char const*, float, float, char const*, float, float):grid.C:689: error: undefined reference to 'XSetFont'
/usr/bin/ld: ../lib/libsaotk.a(grid.o): in function Grid::x11Text(char const*, float, float, char const*, float, float):grid.C:690: error: undefined reference to 'XSetForeground'
/usr/bin/ld: ../lib/libsaotk.a(grid.o): in function Grid::x11Line(int, float const*, float const*):grid.C:653: error: undefined reference to 'XSetForeground'
/usr/bin/ld: ../lib/libsaotk.a(grid.o): in function Grid::x11Line(int, float const*, float const*):grid.C:660: error: undefined reference to 'XSetLineAttributes'
/usr/bin/ld: ../lib/libsaotk.a(grid.o): in function Grid::x11Line(int, float const*, float const*):grid.C:675: error: undefined reference to 'XDrawLine'
/usr/bin/ld: ../lib/libsaotk.a(grid.o): in function Grid::x11Line(int, float const*, float const*):grid.C:664: error: undefined reference to 'XSetLineAttributes'
/usr/bin/ld: ../lib/libsaotk.a(grid.o): in function Grid::x11Line(int, float const*, float const*):grid.C:666: error: undefined reference to 'XSetDashes'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:35: error: undefined reference to 'XCreatePixmap'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:36: error: undefined reference to 'XCreatePixmap'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:39: error: undefined reference to 'XCreateGC'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:41: error: undefined reference to 'XGetGCValues'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:42: error: undefined reference to 'XChangeGC'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:44: error: undefined reference to 'XSetBackground'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:51: error: undefined reference to 'XSetForeground'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:55: error: undefined reference to 'XFillRectangle'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:56: error: undefined reference to 'XFillRectangle'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:63: error: undefined reference to 'XDrawString'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:118: error: undefined reference to 'XPutImage'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:121: error: undefined reference to 'XCreateGC'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:122: error: undefined reference to 'XCopyGC'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:123: error: undefined reference to 'XSetStipple'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:124: error: undefined reference to 'XSetFillStyle'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:138: error: undefined reference to 'XSetTSOrigin'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:142: error: undefined reference to 'XFreePixmap'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:143: error: undefined reference to 'XFreePixmap'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:144: error: undefined reference to 'XFreeGC'
/usr/bin/ld: ../lib/libsaotk.a(rotstr.o): in function XDrawRotString(_XDisplay*, unsigned long, _XGC*, int, int, int, char const*, Tk_Font_*, double, Vector const&):rotstr.C:145: error: undefined reference to 'XFreeGC'
/usr/bin/ld: ../lib/libsaotk.a(colorbarpseudo8.o): in function ColorbarPseudoColor8::updateColors():colorbarpseudo8.C:365: error: undefined reference to 'XStoreColors'
/usr/bin/ld: ../lib/libsaotk.a(colorbarpseudo8.o): in function ColorbarPseudoColor8::initDefaultMap():colorbarpseudo8.C:253: error: undefined reference to 'XAllocColorCells'
/usr/bin/ld: ../lib/libsaotk.a(colorbarpseudo8.o): in function ColorbarPseudoColor8::initPrivateMap():colorbarpseudo8.C:288: error: undefined reference to 'XQueryColors'
/usr/bin/ld: ../lib/libsaotk.a(colorbarpseudo8.o): in function ColorbarPseudoColor8::initPrivateMap():colorbarpseudo8.C:297: error: undefined reference to 'XAllocColorCells'
/usr/bin/ld: ../lib/libsaotk.a(colorbarpseudo8.o): in function ColorbarPseudoColor8::initPrivateMap():colorbarpseudo8.C:305: error: undefined reference to 'XStoreColors'
/usr/bin/ld: ../lib/libsaotk.a(colorbarpseudo8.o): in function ColorbarPseudoColor8::initPrivateMap():colorbarpseudo8.C:311: error: undefined reference to 'XAllocColorCells'
/usr/bin/ld: ../lib/libsaotk.a(colorbarpseudo8.o): in function ColorbarPseudoColor8::initPrivateMap():colorbarpseudo8.C:331: error: undefined reference to 'XInstallColormap'
/usr/bin/ld: ../lib/libsaotk.a(colorbarpseudo8.o): in function ColorbarPseudoColor8::updatePixmap(BBox const&):colorbarpseudo8.C:206: error: undefined reference to 'XPutImage'
/usr/bin/ld: ../lib/libsaotk.a(colorbarrgbtrue16.o): in function ColorbarRGBTrueColor16::updateColors():colorbarrgbtrue16.C:236: error: undefined reference to 'XPutImage'
/usr/bin/ld: ../lib/libsaotk.a(widget.o): in function Widget::displayProc(unsigned long, int, int, int, int):widget.C:369: error: undefined reference to 'XSetClipOrigin'
/usr/bin/ld: ../lib/libsaotk.a(widget.o): in function Widget::displayProc(unsigned long, int, int, int, int):widget.C:371: error: undefined reference to 'XCopyArea'
/usr/bin/ld: ../lib/libsaotk.a(contour.o): in function Contour::render(unsigned long, Matrix const&, BBox const&):contour.C:51: error: undefined reference to 'XSetLineAttributes'
/usr/bin/ld: ../lib/libsaotk.a(contour.o): in function Contour::render(unsigned long, Matrix const&, BBox const&):contour.C:62: error: undefined reference to 'XDrawLine'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::renderHighLite():framebase.C:1442: error: undefined reference to 'XDrawRectangle'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::drawCrosshair():framebase.C:1345: error: undefined reference to 'XDrawLine'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::drawCrosshair():framebase.C:1352: error: undefined reference to 'XDrawLine'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::renderMagnifierCursor(Vector const&):framebase.C:1250: error: undefined reference to 'XDrawLines'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::renderMagnifierCursor(Vector const&):framebase.C:1280: error: undefined reference to 'XDrawLines'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::updateGCs():framebase.C:979: error: undefined reference to 'XSetClipRectangles'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::updateGCs():framebase.C:989: error: undefined reference to 'XSetClipRectangles'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::updateGCs():framebase.C:996: error: undefined reference to 'XSetClipRectangles'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::updateGCs():framebase.C:1004: error: undefined reference to 'XSetClipRectangles'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::updateGCs():framebase.C:1037: error: undefined reference to 'XCreateGC'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::updateGCs():framebase.C:977: error: undefined reference to 'XSetLineAttributes'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::updateGCs():framebase.C:1024: error: undefined reference to 'XSetDashes'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::~FrameBase():framebase.C:201: error: undefined reference to 'XFreeGC'
/usr/bin/ld: ../lib/libsaotk.a(framebase.o): in function FrameBase::~FrameBase():framebase.C:204: error: undefined reference to 'XFreeGC'
/usr/bin/ld: ../lib/libsaotk.a(frmarker.o): in function FrameBase::regionSelectMotionCmd(Vector const&):frmarker.C:5128: error: undefined reference to 'XDrawRectangle'
/usr/bin/ld: ../lib/libsaotk.a(frmarker.o): in function FrameBase::regionHighliteMotionCmd(Vector const&):frmarker.C:5072: error: undefined reference to 'XDrawRectangle'
/usr/bin/ld: ../lib/libsaotk.a(marker.o): in function Marker::renderArrow(unsigned long, Vector const&, Vector const&):marker.C:834: error: undefined reference to 'XFillPolygon'
/usr/bin/ld: ../lib/libsaotk.a(marker.o): in function Marker::setLineDash():marker.C:784: error: undefined reference to 'XSetDashes'
/usr/bin/ld: ../lib/libsaotk.a(marker.o): in function Marker::renderText(unsigned long, Matrix const&, Marker::RenderMode):marker.C:741: error: undefined reference to 'XSetFont'
/usr/bin/ld: ../lib/libsaotk.a(marker.o): in function Marker::renderText(unsigned long, Matrix const&, Marker::RenderMode):marker.C:753: error: undefined reference to 'XDrawString'
/usr/bin/ld: ../lib/libsaotk.a(point.o): in function Point::setLineDash():point.C:95: error: undefined reference to 'XSetDashes'
/usr/bin/ld: ../lib/libsaotk.a(point.o): in function BoxCirclePoint::render(unsigned long, Matrix const&, Marker::RenderMode):point.C:431: error: undefined reference to 'XDrawArc'
/usr/bin/ld: ../lib/libsaotk.a(point.o): in function BoxCirclePoint::render(unsigned long, Matrix const&, Marker::RenderMode):point.C:433: error: undefined reference to 'XDrawRectangle'
/usr/bin/ld: ../lib/libsaotk.a(point.o): in function DiamondPoint::render(unsigned long, Matrix const&, Marker::RenderMode):point.C:218: error: undefined reference to 'XDrawLines'
/usr/bin/ld: ../lib/libsaotk.a(point.o): in function CirclePoint::render(unsigned long, Matrix const&, Marker::RenderMode):point.C:126: error: undefined reference to 'XDrawArc'
/usr/bin/ld: ../lib/libsaotk.a(ruler.o): in function Ruler::renderDist(unsigned long, Vector, Marker::RenderMode):ruler.C:279: error: undefined reference to 'XSetFont'
/usr/bin/ld: ../lib/libsaotk.a(ruler.o): in function Ruler::renderDist(unsigned long, Vector, Marker::RenderMode):ruler.C:288: error: undefined reference to 'XDrawString'
/usr/bin/ld: ../lib/libsaotk.a(text.o): in function Text::render(unsigned long, Matrix const&, Marker::RenderMode):text.C:91: error: undefined reference to 'XSetFont'
/usr/bin/ld: ../lib/libsaotk.a(panner.o): in function Panner::renderArm(int, Vector const&, Rotate&, char*, int):panner.C:377: error: undefined reference to 'XFillPolygon'
/usr/bin/ld: ../lib/libsaotk.a(panner.o): in function Panner::updatePixmap(BBox const&):panner.C:113: error: undefined reference to 'XSetClipOrigin'
/usr/bin/ld: ../lib/libsaotk.a(magnifier.o): in function Magnifier::updatePixmap(BBox const&):magnifier.C:84: error: undefined reference to 'XSetClipOrigin'
/usr/bin/ld: ../lib/libsaotk.a(baseellipse.o): in function BaseEllipse::renderEllipse(unsigned long, Matrix const&):baseellipse.C:160: error: undefined reference to 'XDrawArc'
/usr/bin/ld: ../lib/libsaotk.a(baseellipse.o): in function BaseEllipse::renderCircle(unsigned long, Matrix const&):baseellipse.C:132: error: undefined reference to 'XDrawArc'
/usr/bin/ld: ../lib/libsaotk.a(basemarker.o): in function BaseMarker::render(unsigned long, Matrix const&, Marker::RenderMode):basemarker.C:231: error: undefined reference to 'XDrawLines'
/usr/bin/ld: ../lib/libtkhtml.a(htmlwidget.o): in function HtmlRedrawCallback:/home/peter/rebuild/build/saods9/saods9-4.0b7/htmlwidget/src/htmlwidget.c:604: error: undefined reference to 'XFillRectangles'
/usr/bin/ld: ../lib/libtkhtml.a(htmldraw.o): in function HtmlDrawRect:/home/peter/rebuild/build/saods9/saods9-4.0b7/htmlwidget/src/htmldraw.c:305: error: undefined reference to 'XFillRectangles'
/usr/bin/ld: ../lib/libtkhtml.a(htmldraw.o): in function HtmlDrawRect:/home/peter/rebuild/build/saods9/saods9-4.0b7/htmlwidget/src/htmldraw.c:307: error: undefined reference to 'XFillRectangles'
/usr/bin/ld: ../lib/libtkhtml.a(htmldraw.o): in function HtmlDrawRect:/home/peter/rebuild/build/saods9/saods9-4.0b7/htmlwidget/src/htmldraw.c:322: error: undefined reference to 'XFillRectangles'
/usr/bin/ld: ../lib/libtkhtml.a(htmldraw.o): in function HtmlBlockDraw:/home/peter/rebuild/build/saods9/saods9-4.0b7/htmlwidget/src/htmldraw.c:443: error: undefined reference to 'XFillArc'
collect2: ld returned 1 exit status
make[2]: *** [ds9] Error 1



Reply to: