EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Installing MEDM on UBUNTU 10.04.1 LTS x64
From: "Pete R. Jemian" <[email protected]>
To: [email protected]
Date: Fri, 14 Sep 2012 01:12:17 -0500
try installing libxft2 support

sudo apt-get install libxft2 libxft2-dbg


On 9/13/2012 11:55 PM, Gofron, Kazimierz wrote:
Hello,
There was a discussion of the problems with medm on Ubuntu 10.04 LTS
(32bit). I am seeing a problem with compilation of medm3_1_7 on
linux-x86_64.

Using base-3.14.12.2
OS: ubuntu 12.04.1 LTS, x86_64.

the compilation of medm3_1_7 fails with errors on ubuntu 12.04.1 LTS:

/usr/bin/g++ -o medm -Wl,-Bstatic -L/epics/base/lib/linux-x86_64
-L/epics/extensions/lib/linux-x86_64 -L/usr/lib
-L/usr/lib/x86_64-linux-gnu -Wl,-rpath,/epics/base/lib/linux-x86_64
-Wl,-rpath,/epics/extensions/lib/linux-x86_64 -Wl,-rpath,/usr/lib
-Wl,-rpath,/usr/lib/x86_64-linux-gnu -m64
medmCartesianPlot.o medmSciPlot.o SciPlot.o medmCA.o actions.o
bubbleHelp.o callbacks.o browserHelp.o channelPalette.o colorPalette.o
dialogs.o display.o eventHandlers.o help.o medm.o medmArc.o medmBar.o
medmByte.o medmChoiceButtons.o medmCommon.o medmComposite.o
medmControl.o medmDisplay.o medmImage.o medmIndicator.o medmMenu.o
medmMessageButton.o medmMeter.o medmMonitor.o medmOval.o medmPixmap.o
medmPolygon.o medmPolyline.o medmRectangle.o medmRelatedDisplay.o
medmShellCommand.o medmStripChart.o medmText.o medmTextEntry.o
medmTextUpdate.o medmValuator.o medmWheelSwitch.o medmWidget.o
objectPalette.o productDescriptionShell.o resourcePalette.o
updateMonitors.o updateTask.o utils.o xgif.o   -lANLwidgets -lPrintUtils
-lca -lCom -lXm -lXt -lXp -lXmu -lX11 -lXext -Wl,-Bdynamic  -lpthread
-lreadline -lm -lrt -ldl -lgcc
/usr/lib/libXm.a(TextIn.o): In function `SelfInsert':
(.text+0x6f90): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextOut.o): In function `FindWidth.clone.4':
(.text+0x1a49): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextOut.o): In function `FindWidth.clone.4':
(.text+0x1af5): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextOut.o): In function `FindHeight.clone.7':
(.text+0x2304): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextOut.o): In function `FindHeight.clone.7':
(.text+0x2403): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmString.o):(.text+0x8d3): more undefined references to
`XftTextExtentsUtf8' follow
/usr/lib/libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xab8a): undefined reference to `XftTextExtents16'
/usr/lib/libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xacc8): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xb07a): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xb150): undefined reference to `XftTextExtents16'
/usr/lib/libXm.a(TextF.o): In function `FindPixelLength':
(.text+0x580): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextF.o): In function `FindPixelLength':
(.text+0x725): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextF.o): In function `PrintableString':
(.text+0x2127): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextF.o): In function `TextFieldResetIC':
(.text+0x8bf9): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmRenderT.o): In function `FreeRendition':
(.text+0x10b7): undefined reference to `XftFontClose'
/usr/lib/libXm.a(XmRenderT.o): In function `FreeRendition':
(.text+0x10dc): undefined reference to `FcPatternDestroy'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1ecd): undefined reference to `FcPatternCreate'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1ef2): undefined reference to `FcPatternAddString'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1f0f): undefined reference to `FcPatternAddString'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1f2c): undefined reference to `FcPatternAddString'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1f49): undefined reference to `FcPatternAddString'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1fad): undefined reference to `XftFontMatch'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1fbd): undefined reference to `XftFontOpenPattern'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x2099): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x20b2): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x20cb): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x20e4): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x20fd): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawCreate':
(.text+0x47a1): undefined reference to `XftDrawCreate'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawCreate':
(.text+0x4880): undefined reference to `XftDrawCreateBitmap'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0x4a6b): undefined reference to `XftDrawStringUtf8'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0x4aa3): undefined reference to `XftDrawString32'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0x4adb): undefined reference to `XftDrawString16'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4be4): undefined reference to `XftDrawRect'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4c92): undefined reference to `XftDrawStringUtf8'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4cd2): undefined reference to `XftDrawString32'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4d12): undefined reference to `XftDrawString16'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4d42): undefined reference to `XftTextExtents16'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4d72): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4e42): undefined reference to `XftTextExtents32'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftFontAverageWidth':
(.text+0x4fdd): undefined reference to `XftTextExtents8'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawDestroy':
(.text+0x48f2): undefined reference to `XftDrawDestroy'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftSetClipRectangles':
(.text+0x4f43): undefined reference to `XftDrawSetClipRectangles'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function `JoinSession':
(.text+0x1494): undefined reference to `SmcModifyCallbacks'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function `JoinSession':
(.text+0x14a0): undefined reference to `SmcClientID'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function `JoinSession':
(.text+0x14f1): undefined reference to `SmcGetIceConnection'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function `JoinSession':
(.text+0x14f9): undefined reference to `IceConnectionNumber'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function `JoinSession':
(.text+0x166f): undefined reference to `SmcOpenConnection'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`SetSessionProperties':
(.text+0x187d): undefined reference to `SmcSetProperties'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`SetSessionProperties':
(.text+0x1930): undefined reference to `SmcSetProperties'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`SetSessionProperties':
(.text+0x19bc): undefined reference to `SmcDeleteProperties'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`XtInteractPermission':
(.text+0x2893): undefined reference to `SmcInteractDone'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`StopManagingSession.isra.7':
(.text+0x28c1): undefined reference to `SmcCloseConnection'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function `GetIceEvent':
(.text+0x2eac): undefined reference to `SmcGetIceConnection'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function `GetIceEvent':
(.text+0x2eb8): undefined reference to `IceProcessMessages'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`XtSessionReturnToken':
(.text+0x482c): undefined reference to `SmcInteractDone'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`XtSessionReturnToken':
(.text+0x4866): undefined reference to `SmcInteractRequest'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`XtSessionReturnToken':
(.text+0x48cf): undefined reference to `SmcSaveYourselfDone'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`XtSessionReturnToken':
(.text+0x48f0): undefined reference to `SmcRequestSaveYourselfPhase2'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function `CallSaveCallbacks':
(.text+0x492a): undefined reference to `SmcSaveYourselfDone'
/usr/lib/x86_64-linux-gnu/libXt.a(Shell.o): In function
`XtCallCancelCallbacks':
(.text+0x4aab): undefined reference to `SmcSaveYourselfDone'
/usr/lib/x86_64-linux-gnu/libXp.a(XpNotifyPdm.o): In function `XpSendAuth':
(.text+0x7a7): undefined reference to `XauDisposeAuth'
/usr/lib/x86_64-linux-gnu/libXp.a(XpNotifyPdm.o): In function `XpSendAuth':
(.text+0x7af): undefined reference to `XauReadAuth'
/usr/lib/x86_64-linux-gnu/libX11.a(ClDisplay.o): In function
`XCloseDisplay':
(.text+0xd3): undefined reference to `xcb_disconnect'
/usr/lib/x86_64-linux-gnu/libX11.a(OpenDis.o): In function `OutOfMemory':
(.text+0x3f4): undefined reference to `xcb_disconnect'
/usr/lib/x86_64-linux-gnu/libX11.a(OpenDis.o): In function `XOpenDisplay':
(.text+0x8df): undefined reference to `xcb_get_setup'
/usr/lib/x86_64-linux-gnu/libX11.a(OpenDis.o): In function `XOpenDisplay':
(.text+0xeaf): undefined reference to `xcb_get_maximum_request_length'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB':
(.text+0x1ac): undefined reference to `xcb_parse_display'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB':
(.text+0x215): undefined reference to
`xcb_connect_to_display_with_auth_info'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB':
(.text+0x235): undefined reference to `xcb_get_file_descriptor'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB':
(.text+0x252): undefined reference to `xcb_generate_id'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB':
(.text+0x2c6): undefined reference to `xcb_connection_has_error'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_disp.o): In function `_XConnectXCB':
(.text+0x2de): undefined reference to `xcb_connect'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function
`require_socket.part.0':
(.text+0x4aa): undefined reference to `xcb_take_socket'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function `poll_for_event':
(.text+0x665): undefined reference to `xcb_poll_for_event'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function
`poll_for_response':
(.text+0x753): undefined reference to `xcb_poll_for_reply'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function `_XSend':
(.text+0xb13): undefined reference to `xcb_writev'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function `_XReadEvents':
(.text+0xc98): undefined reference to `xcb_connection_has_error'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function `_XReadEvents':
(.text+0xd34): undefined reference to `xcb_wait_for_event'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function `_XEventsQueued':
(.text+0xe5d): undefined reference to `xcb_connection_has_error'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function `_XAllocIDs':
(.text+0xf4b): undefined reference to `xcb_generate_id'
/usr/lib/x86_64-linux-gnu/libX11.a(xcb_io.o): In function `_XReply':
(.text+0x10d9): undefined reference to `xcb_wait_for_reply'
collect2: ld returned 1 exit status
make[2]: *** [medm] Error 1
make[2]: Leaving directory
`/epics/extensions/src/medm3_1_7/medm/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/epics/extensions/src/medm3_1_7/medm'
make: *** [medm.install] Error 2


Kaz,

--
----------------------------------------------------------
 Pete R. Jemian, Ph.D.                <[email protected]>
 Beam line Controls and Data Acquisition, Group Leader
 Advanced Photon Source,   Argonne National Laboratory
 Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
    Education is the one thing for which people
       are willing to pay yet not receive.
-----------------------------------------------------------

References:
Installing MEDM on UBUNTU 10.04.1 LTS x64 Gofron, Kazimierz

Navigate by Date:
Prev: Installing MEDM on UBUNTU 10.04.1 LTS x64 Gofron, Kazimierz
Next: Re: Protocol files for CAEN SYS5527/A4528 Ethernet module Burkhard Kolb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Installing MEDM on UBUNTU 10.04.1 LTS x64 Gofron, Kazimierz
Next: aSub record : adding arguments Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·