EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: problem linking medm on Solaris 8, XRT/graph
From: Mark Ito <[email protected]>
To: EPICS tech-talk <[email protected]>
Date: Tue, 14 Oct 2003 15:25:54 -0400 (EDT)
TT'ers,

We recently upgraded our version of XRT/graph due to moving EPICS to a new
cpu (this is Hall B at JLab, not the accelerator controls group). Just got
the license installed. Am having problems linking medm with the new
distribution:

make[2]: Entering directory `/u/home/marki/epics/R3.13.4/extensions/src/medm/medm/O.solaris'
/opt/SUNWspro/bin/CC +p -o medm -g  +w   -DSOLARIS  -KPIC -D_REENTRANT   -DUNIX   -I. -I.. -I../../printUtils -I../../xc -I/usr/dt/include -I/usr/openwin/include -I../../../../include -I../../../../include/os/solaris -I/home/marki/epics/R3.13.4/extensions/include -I/home/marki/epics/R3.13.4/base/include -I/home/marki/epics/R3.13.4/base/include/os/solaris         -L../../../../lib/solaris/ -L/apps/xrt_upgrade/ -L/apps/xrt_upgrade/lib/ -L/home/marki/epics/R3.13.4/base/lib/solaris/ -L/usr/dt/lib/ -L/usr/openwin/lib/    medmCartesianPlot.o medmXrtGraph.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 medmShell!
 Command.o medmStripChart.o medmText..o medmTextEntry.o medmTextUpdate.o medmValuator.o medmWidget.o objectPalette.o productDescriptionShell.o resourcePalette.o updateMonitors.o updateTask.o utils.o xgif.o    -lANLwidgets -lPrintUtils -lca -lCom -lxrtm -lxrtmprop -lxrtfield -lxrttable -lxrtgear -lpdsutil -lXpm -lXm -lXt -lXmu -lX11 -lXext  -lsocket -lnsl  -lm
ild: (undefined symbol) XrtDataCreate -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtDataCreate -- referenced in the text segment of medmCartesianPlot.o
ild: (undefined symbol) XrtDataSetXElement -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtDataSetXElement -- referenced in the text segment of medmCartesianPlot.o
ild: (undefined symbol) XrtDataDestroy -- referenced in the text segment of medmCartesianPlot.o
ild: (undefined symbol) XrtDataGetYElement -- referenced in the text segment of medmCartesianPlot.o
ild: (undefined symbol) XrtUpdatePropertyEditor -- referenced in the text segment of eventHandlers.o
ild: (undefined symbol) xtXrtGraphWidgetClass -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtDataSetLastPoint -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtDataSetLastPoint -- referenced in the text segment of medmCartesianPlot.o
ild: (undefined symbol) XrtPopupPropertyEditor -- referenced in the text segment of eventHandlers.o
ild: (undefined symbol) XrtDataGetXElement -- referenced in the text segment of medmCartesianPlot.o
ild: (undefined symbol) XrtDataSetHole -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtPopdownPropertyEditor -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtDataSetYElement -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtDataSetYElement -- referenced in the text segment of medmCartesianPlot.o
ild: (undefined symbol) XrtSetNthDataStyle -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtSetNthDataStyle2 -- referenced in the text segment of medmXrtGraph.o
ild: (undefined symbol) XrtDataGetLastPoint -- referenced in the text segment of medmCartesianPlot.o
make[2]: *** [medm] Error 5
make[2]: Leaving directory `/u/home/marki/epics/R3.13.4/extensions/src/medm/medm/O.solaris'

We are running Solaris 8 on a 64-bit Sun machine.

If I set XRTGRAPH to point to our old version (XRTGRAPH = /apps/xrt in our
case), then the thing links. Trouble is the license won't work with this
binary. If I go the the new definition (XRTGRAPH = /apps/xrt_upgrade in
this case, shown above) then I get the errors.

When after switching from one XRT version to the other, I delete the
entire extensions/src/medm/medm/O.solaris directory.

I can see the global symbol for say XrtDataCreate in both the old and new 
libraries:

> pwd
/apps/xrt/lib
> nm libxrtm.a | grep XrtDataCreate
[103]   |         0|       0|NOTY |GLOB |0    |UNDEF  |XrtDataCreateFromFile
[43]    |      4104|     332|FUNC |GLOB |0    |2      |XrtDataCreate
[51]    |      5684|      20|FUNC |GLOB |0    |2      |XrtDataCreateFromFile
[41]    |         0|       0|NOTY |GLOB |0    |UNDEF  |XrtDataCreate
[18]    |         0|       0|NOTY |GLOB |0    |UNDEF  |XrtDataCreate
[19]    |         0|       0|NOTY |GLOB |0    |UNDEF  |XrtDataCreateFromFile


> pwd
/apps/xrt_upgrade/lib
> nm libxrtm.a | grep XrtDataCreate
[105]   |             0|           0|FUNC |GLOB |0    |UNDEF  |XrtDataCreateFromFile
[45]    |          5256|         380|FUNC |GLOB |0    |2      |XrtDataCreate
[53]    |          7016|          36|FUNC |GLOB |0    |2      |XrtDataCreateFromFile
[43]    |             0|           0|FUNC |GLOB |0    |UNDEF  |XrtDataCreate
[18]    |             0|           0|NOTY |GLOB |0    |UNDEF  |XrtDataCreate
[19]    |             0|           0|NOTY |GLOB |0    |UNDEF  |XrtDataCreateFromFile

The files I downloaded from the Quest Software site are:

total 21080
drwxr-xr-x   2 marki    clas        4096 Aug 21 11:19 ./
drwxr-xr-x   9 marki    clas        4096 Nov  3  2002 ../
-rwx--x--x   1 marki    clas       34235 Aug 21 11:19 install.sh*
-rw-------   1 marki    clas     2335368 Aug 21 11:19 sparcs64.com
-rw-------   1 marki    clas     8291693 Aug 21 11:19 sparcs64.grm
-rw-------   1 marki    clas       98183 Aug 21 11:19 sparcs64.lic

Anyone out there run across a similar situation? I hope!

     Mark

--
Mark M. Ito, Thomas Jefferson National Accelerator Facility
12000 Jefferson Ave., Mail Stop 12H, Newport News, VA 23606
Email: [email protected], Phone: (757)269-5295
WWW: http://www.jlab.org/~marki


Replies:
Re: problem linking medm on Solaris 8, XRT/graph Steven Hartman

Navigate by Date:
Prev: Tech-talk subscriptions problem Andrew Johnson
Next: Re: problem linking medm on Solaris 8, XRT/graph Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Tech-talk subscriptions problem Andrew Johnson
Next: Re: problem linking medm on Solaris 8, XRT/graph Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·