Subject: tk80 build problem
To: None <tech-pkg@netbsd.org>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: tech-pkg
Date: 05/14/2000 12:23:02
G'day,

I'm experiencing problems building tk80 using the pkg-current
sources... This seems not to be confined to this package but also
others which use libraries with library interdependencies.

Is there anything that I've missed during the configuration of my
system?

Sysinfo: NetBSD-1.4Y-i386, pkgsrc-current

Find below output of failed built for tk80... as can be seen, it fails
to find the libX11 dependencies...

Many thanks in advance

cheerio Berndt

===> Building for tk-8.0.5
/usr/pkg/bin/pkglibtool-ELF-1.2p2  --mode=link cc -o libtk80.la tk3d.lo tkArgv.lo tkAtom.lo tkBind.lo tkBitmap.lo tkClipboard.lo tkCmds.lo tkColor.lo tkConfig.lo tkCursor.lo tkError.lo tkEvent.lo tkFocus.lo tkFont.lo tkGet.lo tkGC.lo tkGeometry.lo tkGrab.lo tkGrid.lo tkMain.lo tkOption.lo tkPack.lo tkPlace.lo tkSelect.lo tkUtil.lo tkVisual.lo tkWindow.lo tkUnix.lo tkUnix3d.lo tkUnixButton.lo tkUnixColor.lo tkUnixCursor.lo tkUnixDialog.lo tkUnixDraw.lo tkUnixEmbed.lo tkUnixEvent.lo tkUnixFocus.lo tkUnixFont.lo tkUnixInit.lo tkUnixMenu.lo tkUnixMenubu.lo tkUnixScale.lo tkUnixScrlbr.lo tkUnixSelect.lo tkUnixSend.lo tkUnixWm.lo tkUnixXId.lo tkButton.lo tkEntry.lo tkFrame.lo tkListbox.lo tkMenu.lo tkMenubutton.lo tkMenuDraw.lo tkMessage.lo tkScale.lo tkScrollbar.lo tkCanvas.lo tkCanvArc.lo tkCanvBmap.lo tkCanvImg.lo tkCanvLine.lo tkCanvPoly.lo tkCanvPs.lo tkCanvText.lo tkCanvUtil.lo tkCanvWind.lo tkRectOval.lo tkTrig.lo tkImage.lo tkImgBmap.lo tkImgGIF.lo tkImgPPM.lo tkImgPhoto.l!
o tkText.lo tkTextBTree.lo tkTextDisp.lo tkTextImage.lo tkTextIndex.lo tkTextMark.lo tkTextTag.lo tkTextWind.lo -rpath /usr/pkg/lib -version-info 1:0
rm -f .libs/libtk80.la .libs/libtk80.* .libs/libtk80.*
cc -shared -Wl,-soname -Wl,libtk80.so.1 -o .libs/libtk80.so.1.0 tk3d.lo tkArgv.lo tkAtom.lo tkBind.lo tkBitmap.lo tkClipboard.lo tkCmds.lo tkColor.lo tkConfig.lo tkCursor.lo tkError.lo tkEvent.lo tkFocus.lo tkFont.lo tkGet.lo tkGC.lo tkGeometry.lo tkGrab.lo tkGrid.lo tkMain.lo tkOption.lo tkPack.lo tkPlace.lo tkSelect.lo tkUtil.lo tkVisual.lo tkWindow.lo tkUnix.lo tkUnix3d.lo tkUnixButton.lo tkUnixColor.lo tkUnixCursor.lo tkUnixDialog.lo tkUnixDraw.lo tkUnixEmbed.lo tkUnixEvent.lo tkUnixFocus.lo tkUnixFont.lo tkUnixInit.lo tkUnixMenu.lo tkUnixMenubu.lo tkUnixScale.lo tkUnixScrlbr.lo tkUnixSelect.lo tkUnixSend.lo tkUnixWm.lo tkUnixXId.lo tkButton.lo tkEntry.lo tkFrame.lo tkListbox.lo tkMenu.lo tkMenubutton.lo tkMenuDraw.lo tkMessage.lo tkScale.lo tkScrollbar.lo tkCanvas.lo tkCanvArc.lo tkCanvBmap.lo tkCanvImg.lo tkCanvLine.lo tkCanvPoly.lo tkCanvPs.lo tkCanvText.lo tkCanvUtil.lo tkCanvWind.lo tkRectOval.lo tkTrig.lo tkImage.lo tkImgBmap.lo tkImgGIF.lo tkImgPPM.lo tkImgPhoto.l!
o tkText.lo tkTextBTree.lo tkTextDisp.lo tkTextImage.lo tkTextIndex.lo tkTextMark.lo tkTextTag.lo tkTextWind.lo
(cd .libs && ln -s libtk80.so.1.0 libtk80.so.1)
(cd .libs && ln -s libtk80.so.1.0 libtk80.so)
ar cru .libs/libtk80.a tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkCursor.o tkError.o tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkMain.o tkOption.o tkPack.o tkPlace.o tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixCursor.o tkUnixDialog.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o tkUnixInit.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o
ranlib .libs/libtk80.a
creating libtk80.la
(cd .libs && ln -s ../libtk80.la libtk80.la)
/usr/pkg/bin/pkglibtool-ELF-1.2p2  --mode=link cc -pipe  -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib tkAppInit.o  libtk80.la -L/usr/src/pkgsrc/x11/tk80/work/tk8.0.5/unix/.libs -L/usr/pkg/lib -ltcl80  -L/usr/X11R6/lib -lX11  -lm -lc   -o wish
cc -pipe -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib tkAppInit.o -Wl,--rpath -Wl,/usr/pkg/lib .libs/libtk80.so -L/usr/src/pkgsrc/x11/tk80/work/tk8.0.5/unix/.libs -L/usr/pkg/lib -ltcl80 -L/usr/X11R6/lib -lX11 -lm -lc -o .libs/wish
/usr/pkg/lib/libtcl80.so: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
.libs/libtk80.so: undefined reference to `XFreePixmap'
.libs/libtk80.so: undefined reference to `XSetInputFocus'
.libs/libtk80.so: undefined reference to `XCreateGlyphCursor'
.libs/libtk80.so: undefined reference to `XGetInputFocus'
.libs/libtk80.so: undefined reference to `XFillRectangles'
.libs/libtk80.so: undefined reference to `XSetWindowBackground'
.libs/libtk80.so: undefined reference to `XSetTransientForHint'
.libs/libtk80.so: undefined reference to `XDrawString'
.libs/libtk80.so: undefined reference to `XCreateRegion'
.libs/libtk80.so: undefined reference to `XCopyPlane'
.libs/libtk80.so: undefined reference to `XGrabKeyboard'
.libs/libtk80.so: undefined reference to `XSync'
.libs/libtk80.so: undefined reference to `XIntersectRegion'
.libs/libtk80.so: undefined reference to `XDrawLines'
.libs/libtk80.so: undefined reference to `XDefineCursor'
.libs/libtk80.so: undefined reference to `XFreeCursor'
.libs/libtk80.so: undefined reference to `XMapWindow'
.libs/libtk80.so: undefined reference to `XGetVisualInfo'
.libs/libtk80.so: undefined reference to `XCloseDisplay'
.libs/libtk80.so: undefined reference to `XIconifyWindow'
.libs/libtk80.so: undefined reference to `XGetIMValues'
.libs/libtk80.so: undefined reference to `XOpenIM'
.libs/libtk80.so: undefined reference to `XLoadFont'
.libs/libtk80.so: undefined reference to `XSetClassHint'
.libs/libtk80.so: undefined reference to `XSetSelectionOwner'
.libs/libtk80.so: undefined reference to `XGetModifierMapping'
.libs/libtk80.so: undefined reference to `XRootWindow'
.libs/libtk80.so: undefined reference to `XCreateImage'
.libs/libtk80.so: undefined reference to `XSetForeground'
.libs/libtk80.so: undefined reference to `XFillPolygon'
.libs/libtk80.so: undefined reference to `XNoOp'
.libs/libtk80.so: undefined reference to `XFreeColormap'
.libs/libtk80.so: undefined reference to `XGetWindowAttributes'
.libs/libtk80.so: undefined reference to `XAllocNamedColor'
.libs/libtk80.so: undefined reference to `XLookupColor'
.libs/libtk80.so: undefined reference to `XResizeWindow'
.libs/libtk80.so: undefined reference to `XQueryTree'
.libs/libtk80.so: undefined reference to `XFreeGC'
.libs/libtk80.so: undefined reference to `XKeysymToKeycode'
.libs/libtk80.so: undefined reference to `XCopyArea'
.libs/libtk80.so: undefined reference to `XAllocSizeHints'
.libs/libtk80.so: undefined reference to `XSetClipMask'
.libs/libtk80.so: undefined reference to `XSetWindowBorderPixmap'
.libs/libtk80.so: undefined reference to `XmbLookupString'
.libs/libtk80.so: undefined reference to `_XInitImageFuncPtrs'
.libs/libtk80.so: undefined reference to `XMoveResizeWindow'
.libs/libtk80.so: undefined reference to `XDeleteProperty'
.libs/libtk80.so: undefined reference to `XKeysymToString'
.libs/libtk80.so: undefined reference to `XDestroyRegion'
.libs/libtk80.so: undefined reference to `XGetWMColormapWindows'
.libs/libtk80.so: undefined reference to `XUngrabServer'
.libs/libtk80.so: undefined reference to `XConvertSelection'
.libs/libtk80.so: undefined reference to `XGrabPointer'
.libs/libtk80.so: undefined reference to `XGetImage'
.libs/libtk80.so: undefined reference to `XRectInRegion'
.libs/libtk80.so: undefined reference to `XTextWidth'
.libs/libtk80.so: undefined reference to `XStringListToTextProperty'
.libs/libtk80.so: undefined reference to `XLookupString'
.libs/libtk80.so: undefined reference to `XMoveWindow'
.libs/libtk80.so: undefined reference to `XSetRegion'
.libs/libtk80.so: undefined reference to `XDrawArc'
.libs/libtk80.so: undefined reference to `XSetWindowBorderWidth'
.libs/libtk80.so: undefined reference to `XReconfigureWMWindow'
.libs/libtk80.so: undefined reference to `XCreateBitmapFromData'
.libs/libtk80.so: undefined reference to `XSendEvent'
.libs/libtk80.so: undefined reference to `XQueryPointer'
.libs/libtk80.so: undefined reference to `XSetWMHints'
.libs/libtk80.so: undefined reference to `XSetWMName'
.libs/libtk80.so: undefined reference to `XReparentWindow'
.libs/libtk80.so: undefined reference to `XFree'
.libs/libtk80.so: undefined reference to `XGetWindowProperty'
.libs/libtk80.so: undefined reference to `XFreeModifiermap'
.libs/libtk80.so: undefined reference to `XBell'
.libs/libtk80.so: undefined reference to `XFreeColors'
.libs/libtk80.so: undefined reference to `XAllocClassHint'
.libs/libtk80.so: undefined reference to `XSetErrorHandler'
.libs/libtk80.so: undefined reference to `XSetWMClientMachine'
.libs/libtk80.so: undefined reference to `XChangeProperty'
.libs/libtk80.so: undefined reference to `XDestroyWindow'
.libs/libtk80.so: undefined reference to `XDestroyIC'
.libs/libtk80.so: undefined reference to `XSetWindowColormap'
.libs/libtk80.so: undefined reference to `XEmptyRegion'
.libs/libtk80.so: undefined reference to `XKeycodeToKeysym'
.libs/libtk80.so: undefined reference to `XCreateColormap'
.libs/libtk80.so: undefined reference to `XStringToKeysym'
.libs/libtk80.so: undefined reference to `XParseColor'
.libs/libtk80.so: undefined reference to `XClipBox'
.libs/libtk80.so: undefined reference to `XRefreshKeyboardMapping'
.libs/libtk80.so: undefined reference to `XListFonts'
.libs/libtk80.so: undefined reference to `XConfigureWindow'
.libs/libtk80.so: undefined reference to `XFreeFont'
.libs/libtk80.so: undefined reference to `XChangeWindowAttributes'
.libs/libtk80.so: undefined reference to `XSetCommand'
.libs/libtk80.so: undefined reference to `XSetWindowBackgroundPixmap'
.libs/libtk80.so: undefined reference to `XSynchronize'
.libs/libtk80.so: undefined reference to `XGContextFromGC'
.libs/libtk80.so: undefined reference to `XDrawLine'
.libs/libtk80.so: undefined reference to `XFilterEvent'
.libs/libtk80.so: undefined reference to `XGrabServer'
.libs/libtk80.so: undefined reference to `XLoadQueryFont'
.libs/libtk80.so: undefined reference to `XSetTSOrigin'
.libs/libtk80.so: undefined reference to `XTranslateCoordinates'
.libs/libtk80.so: undefined reference to `XSetWindowBorder'
.libs/libtk80.so: undefined reference to `XQLength'
.libs/libtk80.so: undefined reference to `XQueryColors'
.libs/libtk80.so: undefined reference to `XSetWMNormalHints'
.libs/libtk80.so: undefined reference to `XListHosts'
.libs/libtk80.so: undefined reference to `XGetAtomName'
.libs/libtk80.so: undefined reference to `XInternAtom'
.libs/libtk80.so: undefined reference to `XAllocColor'
.libs/libtk80.so: undefined reference to `XCreatePixmapCursor'
.libs/libtk80.so: undefined reference to `XSetIconName'
.libs/libtk80.so: undefined reference to `XFillArc'
.libs/libtk80.so: undefined reference to `XCreateIC'
.libs/libtk80.so: undefined reference to `XWithdrawWindow'
.libs/libtk80.so: undefined reference to `XFlush'
.libs/libtk80.so: undefined reference to `XCreateWindow'
.libs/libtk80.so: undefined reference to `XForceScreenSaver'
.libs/libtk80.so: undefined reference to `XNextEvent'
.libs/libtk80.so: undefined reference to `XDrawRectangle'
.libs/libtk80.so: undefined reference to `XSelectInput'
.libs/libtk80.so: undefined reference to `XGetGeometry'
.libs/libtk80.so: undefined reference to `XSetWMColormapWindows'
.libs/libtk80.so: undefined reference to `XUnionRectWithRegion'
.libs/libtk80.so: undefined reference to `XSetClipOrigin'
.libs/libtk80.so: undefined reference to `XEventsQueued'
.libs/libtk80.so: undefined reference to `XFillRectangle'
.libs/libtk80.so: undefined reference to `XUngrabKeyboard'
.libs/libtk80.so: undefined reference to `XFreeFontNames'
.libs/libtk80.so: undefined reference to `XGetFontProperty'
.libs/libtk80.so: undefined reference to `XVisualIDFromVisual'
.libs/libtk80.so: undefined reference to `XUngrabPointer'
.libs/libtk80.so: undefined reference to `XPutImage'
.libs/libtk80.so: undefined reference to `XCreatePixmap'
.libs/libtk80.so: undefined reference to `XUnmapWindow'
.libs/libtk80.so: undefined reference to `XCreateGC'
.libs/libtk80.so: undefined reference to `XOpenDisplay'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

-- 
Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
E-Mail  : wulf@ping.net.au             |    tfkiss, tnt, dpbox, wampes
ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
URL     : http://www.ping.net.au/~wulf | MBOX : vk5abn@vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.4    | BBS  : vk5abn.#lmr.#sa.aus.oc