Experimental Physics and
| |||||||||||||||
|
I am trying to build device support based on a library external to EPICS for a softIOC on linux. Call the external library libXXX = /path_to_libXXX/libXXX.so In the src directory for devXXX_SUPPORT I edit the Makefile to add the lines USR_INCLUDES += -I/path_to_XXX_related_include_files/ XXX_DIR = /path_to_libXXX/ devXXX_SUPPORT_LIBS += XXX Device support then builds OK. I do ldd libdevXXX_SUPPORT.so and see it depends on libXXX.so However, I next try to build an IOC to test the newly created device support but I can't figure out how to do this correctly. I edit RELEASE for the testIOC to point to device support. In the src directory for testIOC I edit Makefile to add the line: testIOC_LIBS += devXXX_SUPPORT but that is not enough because I get errors on link of testIOC of the type libdevXXX_SUPPORT.so: undefined reference to some function from libXXX I have tried indicating the location of libXXX in the testIOC Makefile but that doesn't seem to help, or I am doing it incorrectly. Guidance would be appreciated.
| ||||||||||||||
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |