1754018 Members
7576 Online
108811 Solutions
New Discussion юеВ

Re: Mismatched ABI

 
Achilles_2
Regular Advisor

Mismatched ABI

Hi all,

I have found many posts on this topic but I can not find any solutions. I am using HPUX B.11.23 ia64 server. I have tk-8.4.9 and trying to install tk. During the make stage I am getting the following error:

ld -b -o libtk8.4.sl tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkConsole.o tkCursor.o tkError.o tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o tkSelect.o tkStyle.o tkUndo.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixConfig.o tkUnixCursor.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o tkUnixInit.o tkUnixKey.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o tkStubInit.o tkStubLib.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkPanedWindow.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 -lxnet -L/usr/lib/X11R4 -lX11 -ldld -lm -L/opt/tcl8.4.9/unix -ltclstub8.4 +s +b /usr/local/lib:/usr/lib/X11R4:.
ld: Mismatched ABI (not an ELF file) for -lX11
Fatal error.
*** Error exit code 1

Any help would be appreciated.

Achilles
5 REPLIES 5
bhavin asokan
Honored Contributor

Re: Mismatched ABI

hi,

see the following link fot tcl/tk supporting platforms.and it says "Tcl/Tk does require an ANSI C compatible compiler"

http://www.tcl.tk/software/tcltk/platforms.html

regds,

Vishwas Pai
Regular Advisor

Re: Mismatched ABI


The library libX11.* under /usr/lib/X11R4 is
not a IA binary. Link it with a IA library.

HTH -vishwas
Achilles_2
Regular Advisor

Re: Mismatched ABI

How to link it?
harry d brown jr
Honored Contributor

Re: Mismatched ABI


Why aren't you just installing the depot?

http://hpux.cs.utah.edu/hppd/hpux/Tcl/tcltk-8.4.7/

live free or die
harry d brown jr
Live Free or Die
Gregory Fruth
Esteemed Contributor

Re: Mismatched ABI

For some reason the tk configure script
decided to use the X11R4 from the directory
/usr/lib/X11R4. /usr/lib/X11R* contains
PA-RISC libraries. You should probably be
using the IA64 native X11R6 instead. On my
11.22 machine the IA64 X11R6 libraries
are in /usr/lib/hpux{32,64}/X11R6. You need
to convince tk's configure script to use
those X libraries.