Hi Pete,
I looked more closely at your output:
/opt/epics/base/bin/linux-arm/dbToRecordtypeH -I. -I.. -I../O.Common -I../../../dbd -I/opt/epics/base/dbd ../scintscalRecord.dbd
scintscalRecord.h
It is running dbToRecordtypeH, which converts a record definition file (xxxRecord.dbd) to a xxxRecord.h. Is that what you are trying to do? Does your application define a new record type, scintscanRecord? It looks like scintscalRecord.dbd is not a record definition file, because it contains entries for device support. Can you send scintscalRecord.dbd and your Makefile?
Mark
________________________________________
From: Siddons, David [[email protected]]
Sent: Wednesday, May 06, 2015 8:42 PM
To: Mark Rivers; EPICS Tech-Talk
Subject: RE: stupid problem
Hi Mark,
Yes, it's there:
peter@peter-Latitude-E7240:~/zed/root/scint/dbd$ grep device\(ao *
scintscal.dbd:device(ao,CONSTANT,devAoSoft,"Soft Channel")
scintscal.dbd:device(ao,CONSTANT,devAoSoftRaw,"Raw Soft Channel")
scintscal.dbd:device(ao,CONSTANT,devAoSoftCallback,"Async Soft Channel")
scintscal.dbd:device(ao,VME_IO,devAoI2C,"I2C DAC") <---------
scintscalRecord.dbd:device(ao,VME_IO,devAoI2C,"I2C DAC")
Pete.
________________________________________
From: Mark Rivers [[email protected]]
Sent: Wednesday, May 06, 2015 9:38 PM
To: Siddons, David; EPICS Tech-Talk
Subject: RE: stupid problem
Hi Pete,
I think that means your dbd file did not actually get incorporated into the dbd file that got loaded into your IOC. Look at the application dbd file and see if you can find that device(ao...) line in it.
Mark
________________________________________
From: [email protected] [[email protected]] on behalf of D Peter Siddons [[email protected]]
Sent: Wednesday, May 06, 2015 8:10 PM
To: EPICS Tech-Talk
Subject: stupid problem
Forgive me, this is probably very dumb.
I have an IOC which uses a scaler record and a bunch of ao records. THe
scaler record dbd file has this line to register the ao device support:
device(ao,VME_IO,devAoI2C,"I2C DAC")
The support routine devAoI2C exists. I use VME_IO because Epics then
nicely parses out the config parameters. However when I run make, I get
this error:
/opt/epics/base/bin/linux-arm/dbToRecordtypeH -I. -I.. -I../O.Common
-I../../../dbd -I/opt/epics/base/dbd ../scintscalRecord.dbd
scintscalRecord.h
Record type "ao" not found for device "I2C DAC"
The build stops there, before it compiles anything else. What am I missing?
Pete.
--
D. Peter Siddons
Detector Development Group Leader
Bldg. 535B
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973
email: [email protected]
Phone: (631) 344-2738
- References:
- stupid problem D Peter Siddons
- RE: stupid problem Mark Rivers
- RE: stupid problem Siddons, David
- Navigate by Date:
- Prev:
RE: stupid problem Siddons, David
- Next:
CSS and multiple IOCs Franklin Fuller
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: stupid problem Siddons, David
- Next:
CSS and multiple IOCs Franklin Fuller
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|