Hello all,
I'm adapting an IOC that reads text files and assigns the values in them to epics variables for a new system. It uses sequencer and I don't think I'm setting up the registrar correctly in the dbd file... I'm not very familiar with sequencer save for the .stt files build the binaries. The old IOC was for a bunch of gas pressure and flow monitor variables for the time of flight detector at STAR. I'm adapting a copy for a cooling system for a new pixel detector that will be installed soon.
I'm using epics base 3.13.12.1 and sequencer 2.0.12
The registrar in <top>/dbd/pxlCooling.dbd:
registrar(pxlCooling_registrar)
Here is the error I'm getting:
make[3]: Entering directory `/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp/src/O.linux-x86'
/usr/bin/g++ -o pxlCooling -L/home/sysuser/epics.3.14.12.1/base-3.14.12.1/lib/linux-x86 -L/home/sysuser/epics/synApps_5_5/support/seq-2-0-12/lib/linux-x86 -Wl,-rpath,/home/sysuser/epics.3.14.12.1/base-3.14.12.1/lib/linux-x86 -Wl,-rpath,/home/sysuser/epics/synApps_5_5/support/seq-2-0-12/lib/linux-x86 -m32 pxlCooling_registerRecordDeviceDriver.o pxlCooling.o pxlCoolingMain.o -lseq -lpv -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom
pxlCooling_registerRecordDeviceDriver.o: In function `pxlCooling_registerRecordDeviceDriver':
/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp/src/O.linux-x86/pxlCooling_registerRecordDeviceDriver.cpp:291: undefined reference to `pvar_func_pxlCooling_registrar'
collect2: ld returned 1 exit statusmake[3]: *** [pxlCooling] Error 1
make[3]: Leaving directory `/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp/src/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `/home/sysuser/epics.3.14.12.1/hft_sc/pixel/cooling/pxlCoolingApp'
make: *** [pxlCoolingApp.install] Error 2