Can't compile TK 8.0.4 on HPUX 11.0 
Author Message
 Can't compile TK 8.0.4 on HPUX 11.0

When executing the make command, following error occurs.  Any ideas?
Thank you.

Tim Boyle

/epsrv/home/tboyle/tk804/tk8.0.4/unix> make
        cc -c -O    -I. -I./../generic  -I./../bitmaps
-I/epsrv/home/tboyle/tcl/tcl8.0.4/generic  -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -Dstrtod=fixstrtod
-DTK_LIBRARY=\"/usr/local/lib/tk8.0\" \
            ./tkUnixInit.c
        rm -f libtk8.0.a
        ar cr libtk8.0.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 libtk8.0.a
        cc  tkAppInit.o -L/epsrv/home/tboyle/tk804/tk8.0.4/unix -ltk8.0
-L/epsrv/home/tboyle/tcl/tcl8.0.4/unix -ltcl8.0  -L/usr/lib/X11R4 -lX11
-lm -lc \
                 -o wish
/usr/ccs/bin/ld: Unsatisfied symbols:
   XmbLookupString (code)
   XCreateIC (code)
   XGetIMValues (code)
   XOpenIM (code)
   XDestroyIC (code)
   XFilterEvent (code)
*** Error exit code 1

Stop.



Tue, 13 Nov 2001 03:00:00 GMT  
 Can't compile TK 8.0.4 on HPUX 11.0

Quote:

> When executing the make command, following error occurs.  Any ideas?
> Thank you.

>         cc  tkAppInit.o -L/epsrv/home/tboyle/tk804/tk8.0.4/unix -ltk8.0
> -L/epsrv/home/tboyle/tcl/tcl8.0.4/unix -ltcl8.0  -L/usr/lib/X11R4 -lX11
> -lm -lc \
>                  -o wish
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    XmbLookupString (code)
>    XCreateIC (code)
>    XGetIMValues (code)
>    XOpenIM (code)
>    XDestroyIC (code)
>    XFilterEvent (code)
> *** Error exit code 1

All of the missing functions were added to Xlib in release 5 or 6,
if I'm not badly mistaken.  If you edit the file "tk.h" and remove
the line that defines TK_USE_INPUT_METHODS, I'll bet things will
start working for you.

It could be that you are using X11R6 header files with X11R4
libraries.  Is that possible?  Are you sure you don't have X11R6
installed somewhere on your system?

--



Wed, 14 Nov 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. MicroFocus Cobol on HPUX 11.0

2. Q: compiling TK on HPUX V10.10

3. Tcl/Tk Compile Error - HPUX 9.0

4. HPUX cc can't compile tclUnixTime.c

5. Using CGI module with 'canned queries'

6. Compile Tcl/Tk 8.2b2 out of the box on hppa 11

7. Problems compiling Python 2.1 on HP-UX 11.0

8. It's not bad canned meat...

9. It's not bad canned meat...

10. It's not bad canned meat...

11. It's not bad canned meat...

12. Announce: HPUX-11 Binaries for GNAT-3.14p/3.15p Available (and HOWTO)

 

 
Powered by phpBB® Forum Software