I suspect your application is confusing std.dbd and stdSupport.dbd.
std.dbd is a complete dbd file used for booting the test IOCs in the std module. It contains the definitions from base.dbd.
stdSupport.dbd is the dbd file that you should be including in your application dbd file.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of João Pedro Burle Ishida via Tech-talk
Sent: Tuesday, June 21, 2022 12:16 PM
To: tech-talk at aps.anl.gov
Subject: Std and Base duplicate definition of record type
Hello,
I'm compiling an IOC which uses std-R3-6, asyn-R4-36,calc-R3-7-3, StreamDevice-2-8-9, autosave-R5-10, seq-2-2-6 and base R3.15.6 to talk to an equipment.
The IOC was compiling until the implementation of
doAfterIocInit() of std.dbd, and use the seqSoftIoc.dbd . Now when I compile appears these errors
perl -CSD /usr/local/epics-nfs/base/R3.15.6/bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -I/usr/local/epics-nfs/base/R3.15.6/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/asyn-R4-36/dbd
-I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/calc-R3-7-3/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/StreamDevice-2-8-9/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/autosave-R5-10/dbd -I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/std-R3-6/dbd
-I/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/seq-2-2-6/dbd -o cryostream800.dbd base.dbd std.dbd asyn.dbd calc.dbd drvAsynIPPort.dbd stream.dbd seqSoftIoc.dbd sncExample.dbd
dbdExpand.pl: Duplicate definition of record type 'sub'
Context: recordtype(sub) in file '/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/std-R3-6/dbd/std.dbd'
while reading 'std.dbd' to create 'cryostream800.dbd'
dbdExpand.pl: Duplicate definition of record type 'mbbi'
Context: recordtype(mbbi) in file '/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/seq-2-2-6/dbd/seqSoftIoc.dbd' in recordtype(sub) in file '/usr/local/epics-nfs/modules/R3.15.6/synApps/R6.1/support/std-R3-6/dbd/std.dbd'
while reading 'seqSoftIoc.dbd' to create 'cryostream800.dbd'
I need these modules to implement some functions, but I can't figure out if the
std.dbd has base.dbd included or how to fix it.
Thanks in advance and good morning,
João P. B. Ishida
Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes
de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.
Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before
copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.