Is it possible that you do not have openMotif installed? Some
distributions are including lesstif instead of openMotif.
---------------------------------------------------------------
John Hammonds
Beamline and Data Acquisition Group
APS Engineering Support Division
Argonne National Laboratory
[email protected]
(630)252-5317
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of guobao shen
Sent: Tuesday, August 14, 2007 6:58 AM
To: 'Heinrich du Toit'
Cc: [email protected]
Subject: RE: dm2k not compiling :(
Hi Heinrich,
I compiled the DM2K on my Scientific Linux, and did those exactly you
did.
To pass the compilation, I also commented the dld library out. It ran
smoothly on my pc.
Guobao
J-PARC Control Group
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Heinrich du Toit
> Sent: Tuesday, August 14, 2007 7:37 PM
> To: TechTalk EPICS
> Subject: dm2k not compiling :(
>
> I have many problems getting dm2k to compile
>
> first of all under graphX/printUtils in dsimple.c:
> I had to remove the char*malloc; stuff
> Added stdlib.h include.
>
> Also had to fixup char*calloc; somewhere .
>
> Then it had #include <xpm.h>
> So I had to make a symlink to X11/xpm.h
>
> then in resourcePallette.c:
> I had to add: define FLDNAME_SZ 4
> as for some reason it doesn't get that from the correct .h file..
> even if I add #include "dm2kCdev.h" ??
>
> And now finally it breaks on:
> g++: /usr/lib/libdld.1: No such file or directory
>
> here is the last part of the output from running make:
>
>
> make[2]: Entering directory
> `/home/heinrich/EPICS/extensions/src/dm2k-2.5.3/dm2k/O.linux-x86'
> make[3]: Entering directory
> `/home/heinrich/EPICS/extensions/src/dm2k-2.5.3/dm2k/O.linux-x86'
> ../Makefile.Host:410: warning: overriding commands for target `dm2k'
> /home/heinrich/EPICS/base-3.14.9/config/RULES.Host:428: warning:
> ignoring old commands for target `dm2k'
> g++ -ansi -pedantic -o dm2k -g -Wall -Woverloaded-virtual
> -Wwrite-strings -Wconversion -Wpointer-arith -Winline -I../../graphX
> -I../../xc -I. -DCONFIG_NO_TEAR_OFF -DPROMPT_TO_EXIT=0
> -DBUILT_AT="\"Tue Aug 14 12:34:32 SAST 2007\""
> -DBUILT_BY="\"heinrich\""
> -DDM2K_HELP_PATH="\"http://help.bessy.de/Dm2k\"" -DUSE_XPM
> -I/usr/X11R6/include/X11 -I/usr/X11R6/include/X11/X11
> -I/usr/X11R6/include -I/usr/X11R6/include/X11
> -I/usr/contrib/X11R5/include -D_X86_ -Dlinux -fPIC
> -D_REENTRANT -DUNIX -D_BSD_SOURCE -DEXPL_TEMPL -I. -I..
> -I../../../../include/os/Linux -I../../../../include
> -I/home/heinrich/EPICS/base-3.14.9/include/os/Linux
> -I/home/heinrich/EPICS/base-3.14.9/include
> -D_POSIX_C_SOURCE=199506L -L../../../../lib/linux-x86/
> -L/home/heinrich/EPICS/base-3.14.9/lib/linux-x86/ /usr/lib/libdld.1
> -Wl,-rpath,/home/heinrich/EPICS/extensions/lib/linux-x86
> -Wl,-rpath,/home/heinrich/EPICS/base-3.14.9/lib/linux-x86
> -Wl,-rpath,/home/heinrich/EPICS/base-3.14.9/lib/linux-x86
> -Wl,-rpath,../../../../lib/linux-x86 actions.o amDialog.o
> browserHelp.o callbacks.o channelPalette.o colorPalette.o
> display.o dmInit.o eventHandlers.o faceplateBase.o
> faceplateGUI.o faceplateGUICallback.o faceplateDm2k.o
> getArchiveData.o help.o help_protocol.o dm2k.o dm2kArc.o
> dm2kBar.o dm2kByte.o dm2kCartesianPlot.o dm2kChoiceButtons.o
> dm2kCommon.o dm2kComposite.o dm2kControl.o dm2kDelay.o
> dm2kDynSymbol.o dm2kImage.o dm2kIndicator.o dm2kMenu.o
> dm2kMessageButton.o dm2kMeter.o dm2kMonitor.o dm2kOval.o
> dm2kPixmap.o dm2kPolygon.o dm2kPolyline.o dm2kRectangle.o
> dm2kRelatedDisplay.o dm2kShellCommand.o dm2kStripChart.o
> dm2kText.o dm2kTextEntry.o dm2kTextUpdate.o dm2kValuator.o
> dm2kWidget.o objectPalette.o productDescription.o
> resourcePalette.o shared.o
> updateMonitors.o utils.o xgif.o clipbd.o dm2kCA.o -lJpt -lXpm -lca
> -lCom -lUnix -lANLwidgets -lPrintUtils -lGraphX -lXm -lXt -lX11 -lXext
> -lXmu -lm -lXp -lSM -lICE -ldl -lpthread -lreadline -lcurses -lrt
> -lm
> g++: /usr/lib/libdld.1: No such file or directory
> make[3]: *** [dm2k] Error 1
> make[3]: Leaving directory
> `/home/heinrich/EPICS/extensions/src/dm2k-2.5.3/dm2k/O.linux-x86'
> make[2]: *** [dm2k] Error 2
> make[2]: Leaving directory
> `/home/heinrich/EPICS/extensions/src/dm2k-2.5.3/dm2k/O.linux-x86'
> make[1]: *** [buildInstall.linux-x86] Error 2
> make[1]: Leaving directory
> `/home/heinrich/EPICS/extensions/src/dm2k-2.5.3/dm2k'
> make: *** [dm2k.buildInstall] Error 2
>
>
> I'm not trying to compile with CDEV
> I do have: /usr/lib/libdl.so ect
> what is libdld ?
>
> -Heinrich
>
>
>
- Replies:
- RE: dm2k not compiling :( Heinrich du Toit
- References:
- dm2k not compiling :( Heinrich du Toit
- RE: dm2k not compiling :( guobao shen
- Navigate by Date:
- Prev:
RE: RTEMS access VME bus Mark Rivers
- Next:
RE: Medm for cygwin Hammonds, John P.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: dm2k not compiling :( guobao shen
- Next:
RE: dm2k not compiling :( Heinrich du Toit
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|