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  2012  2013  2014  <20152016  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  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Problem with libhdf5.a when installling areaDetector-2-1
From: "Cristian Savlovschi" <[email protected]>
To: <[email protected]>
Date: Fri, 6 Mar 2015 14:44:17 +0200

Hi,

 

I’m trying to create a demo project based on EPICS, in the following configuration:

IOC (CA server) running on UBUNTU 14.04 linux-x86_64

CA Client (CSS) running on Windows 8

I’ve installed  EPICS Base 3.14.12.4 + synApps 5.7 succesfully and was able to run the IOC for DG645 delay generator and connect to the hw device.

 

Now I’m stuck on the next step, which is to install another IOC application, for a Point Grey Flea3 CCD camera.

The driver for this device has been added to areaDetector package starting with release 2.0 (Apr 2014). The most recent version of areaDetector in synApps (at present time - March 2015) is 1.9.1, therefore I’ve decided to update this package. I’ve downloaded it from github and tried to install it in a separate ‘TOP’ folder following the installation instructions in https://github.com/areaDetector/areaDetector/blob/master/INSTALL_GUIDE.md

After customizing all the configuration files and installing all 3rd party packages, my ‘make’ is failing with the following error message:

 

            make[4]: Entering directory `/opt/epics/areaDetector-2-1/ADCore/ADApp/nexusSrc/O.linux-x86_64'

            /usr/bin/g++ -o libNeXus.so -shared -fPIC -Wl,-hlibNeXus.so -L/opt/epics/areaDetector-2-1/ADCore/lib/linux-x86_64 -Wl,-rpath,/opt/epics/areaDetector-2-1/ADCore/lib/linux-x86_64       -m64                napi.o napi5.o napiu.o nxdataset.o nxio.o nxstack.o nxxml.o stptok.o   -lhdf5 -lsz   -lpthread   -lreadline -lm -lrt -ldl -lgcc

            /usr/bin/ld: /opt/epics/areaDetector-2-1/ADCore/lib/linux-x86_64/libhdf5.a(H5.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

            /opt/epics/areaDetector-2-1/ADCore/lib/linux-x86_64/libhdf5.a: error adding symbols: Bad value

            collect2: error: ld returned 1 exit status

 

I cannot get pass this point, even after trying to rebuild the HDF5 package with additional –fPIC flag:

LDFLAGS=-fPIC ./configure --prefix=/usr/local/hdf5 --with-szlib=/usr/local

 

Any suggestions?

Note that I’m a EPICS & Linux beginner (~1 month)..

 

Thanks!

Cristi S


Replies:
RE: Problem with libhdf5.a when installling areaDetector-2-1 Mark Rivers

Navigate by Date:
Prev: cross compiling EPICS Base fails Lukas Böhm
Next: Re: cross compiling EPICS Base fails Florian Feldbauer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: cross compiling EPICS Base fails Florian Feldbauer
Next: RE: Problem with libhdf5.a when installling areaDetector-2-1 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·