EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  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  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Building and crashing EDM
From: Emmanuel Mayssat <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Tue, 10 Apr 2007 18:27:31 -0700
Long time user of medm, I finally decided to get a closer look at edm.
After solving the compilation issues, I had to configure the edmObjects
and edmPvObjects files.

Now, I have an issues with the entries in edmObjects particularly the
one for the GIF widget.

When I look at the compilation of edm, I see 

/usr/bin/ar -rc   libcf322683-513e-4570-a44b-7cdd7cae0de5.a       gif.o
reg_libcf322683-513e-4570-a44b-7cdd7cae0de5.o 

or again

/usr/bin/g++ -o libcf322683-513e-4570-a44b-7cdd7cae0de5.so -shared -fPIC
-L../../../../lib/linux-x86/  -L/usr/X11R6/lib -L/usr/X11R6/lib
-L../../../../lib/linux-x86 -L/usr/local
-Wl,-rpath,/net/cxsfs/home/bluice/devel/epics-extensions/lib/linux-x86
gif.o reg_libcf322683-513e-4570-a44b-7cdd7cae0de5.o   -lEdmBase
-lcfcaa62e-8199-11d3-a77f-00104b8742df -lXm -lXt -lXp -lXtst -lX11
-lpthread -ldl -lungif  -lpthread   -lreadline -lcurses -lm -lrt -lgcc
Installing shared
library ../../../../lib/linux-x86/libcf322683-513e-4570-a44b-7cdd7cae0de5.so

Which leads me to think that gif support is in this
cf322683-513e-4570-a44b-7cdd7cae0de5 library.
(What a great name ! ;-)

So I update my edmObjects file accordingly with the following entry.

cf322683-513e-4570-a44b-7cdd7cae0de5 /EPICS_EXTENSIONS/lib/linux-x86/libcf322683-513e-4570-a44b-7cdd7cae0de5.so Graphics GIF Image

Then I can start edm (prior it was complaining that the library didn't
exist). But now, when I run edm and try to create a display with a gif,
edm *silently* crashes with the message below.

[bluice@cxs0bl1 template]$ edm
/home/cxsfs/bluice/devel/epics-extensions/lib/linux-x86/libcf322683-513e-4570-a44b-7cdd7cae0de5.so: undefined symbol: create_cf322683-513e-4570-a44b-7cdd7cae0de5Ptr
Segmentation fault


Questions:
1/ Where are those library names coming from ? How are they generated?
2/ Where did I go wrong in the GIF widget configuration ? I did
something very similar for the PNG widgets and it worked immediately
(kudos!).
3/ EDM is very similar to medm. Ok, you can create new widgets, but is
this really worth the transition?
4/ Is someone maintaining a library of edm widgets?
5/ Is there any other display manager worth the try?
6/ Why does (almost) none of the epics software work out of the box?
Keep that one for later, that another $64K question ;-)

Regards,
--
Emmanuel


Replies:
Re: Building and crashing EDM Emmanuel Mayssat

Navigate by Date:
Prev: Re: Frame grabber Wesley Moore
Next: Re: Building and crashing EDM Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: First photo-electron beam produced by the LCLS injector Shoaee, Hamid
Next: Re: Building and crashing EDM Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·