Difference between revisions of "CODA REMEX"
Line 11: | Line 11: | ||
I was able to compile remix but the makefile did not know where the cMsg libraries are | I was able to compile remix but the makefile did not know where the cMsg libraries are | ||
+ | |||
+ | |||
+ | changed the remix makefile from | ||
+ | |||
+ | CMSG_LIB ?= ${CODA}/Linux-${MACHINE}/lib/ | ||
+ | |||
+ | to | ||
+ | |||
+ | CMSG_LIB ?= ${CODA}/cMsg/Linux-${MACHINE}/lib/ | ||
Need to add the cMsg library to the search path | Need to add the cMsg library to the search path |
Revision as of 19:16, 15 November 2016
REMEX is a utility for the intel based ROCs running linux that will facilitate the functionality of the old VxWorks system. You can try out functions from the console of the ROC to debug their operations before you include the function in a readout list.
debug
cMsg.h not found
remexLib.c:30:18: error: cMsg.h: No such file or directory
I got the cMsg header files from Bryan Moffit and installed them in $CODA/common/include
I was able to compile remix but the makefile did not know where the cMsg libraries are
changed the remix makefile from
CMSG_LIB ?= ${CODA}/Linux-${MACHINE}/lib/
to
CMSG_LIB ?= ${CODA}/cMsg/Linux-${MACHINE}/lib/
Need to add the cMsg library to the search path
if ($?LD_LIBRARY_PATH) then setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CODA_LIB}:${CDEV_LIB}:${CODA}/cMsg/Linux-i686/lib/
standalone remex
It is possible to compile the libraries for modules such that you can run the routines from the command line to test them
see the program on rocdaq1 in the subdirectory
ls ~/linuxvme/sis3610/test/