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