EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: defining debug in modules/libcom/src/osi/epicsGeneralTime.c in epics-base leads to compilation error for TestIoc
From: junkes via Tech-talk <tech-talk at aps.anl.gov>
To: Tech talk <tech-talk at aps.anl.gov>
Date: Wed, 29 Apr 2020 17:41:11 +0200

defining DEBUG_GENERAL_TIME in modules/libcom/src/osi/epicsGeneralTime.c (line 35)

leads to compilation issue:

Creating dbd file asTestIoc.dbd
perl -CSD ../../../../../../bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../../../../dbd -o asTestIoc.dbd base.dbd asTest.dbd
perl -CSD ../../../../../../bin/linux-x86_64/registerRecordDeviceDriver.pl -I. -I.. -I../O.Common -I../../../../../../dbd -o asTestIoc_registerRecordDeviceDriver.cpp ../O.Common/asTestIoc.dbd asTestIoc_registerRecordDeviceDriver /home/h1/GSOC/rtems5_epics7/QtC-epics-base
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF asTestIoc_registerRecordDeviceDriver.d asTestIoc_registerRecordDeviceDriver.cpp
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF asTest.d ../asTest.c
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF seqTest.d ../seqTest.c
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF softTest.d ../softTest.c
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF asyncSoftTest.d ../asyncSoftTest.c
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF compressTest.d ../compressTest.c
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF linkInitTest.d ../linkInitTest.c
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF linkRetargetLinkTest.d ../linkRetargetLinkTest.c
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF recMiscTest.d ../recMiscTest.c
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF arrayOpTest.d ../arrayOpTest.c
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF dbHeaderTestxx.d ../dbHeaderTestxx.cpp
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../../../include/compiler/gcc -I../../../../../../include/os/Linux -I../../../../../../include -MM -MF dbHeaderTest.d ../dbHeaderTest.c
../../../../../../bin/linux-x86_64/msi -D -I. -I.. -I../O.Common -I../../../../../../db -o ../O.Common/simmTest.db -S../simmTest.substitutions > simmTest.db.d
simmTest.db.d:1: *** missing separator. Stop.
make[5]: Leaving directory '/home/h1/GSOC/rtems5_epics7/QtC-epics-base/modules/database/test/std/rec/O.linux-x86_64'
../../../../../configure/RULES_ARCHS:58: recipe for target 'install.linux-x86_64' failed
make[4]: *** [install.linux-x86_64] Error 2
make[4]: Leaving directory '/home/h1/GSOC/rtems5_epics7/QtC-epics-base/modules/database/test/std/rec'
../../../configure/RULES_DIRS:84: recipe for target 'std/rec.install' failed
make[3]: *** [std/rec.install] Error 2
make[3]: Leaving directory '/home/h1/GSOC/rtems5_epics7/QtC-epics-base/modules/database/test'
../../configure/RULES_DIRS:84: recipe for target 'test.install' failed
make[2]: *** [test.install] Error 2
make[2]: Leaving directory '/home/h1/GSOC/rtems5_epics7/QtC-epics-base/modules/database'
../configure/RULES_DIRS:84: recipe for target 'database.install' failed
make[1]: *** [database.install] Error 2
make[1]: Leaving directory '/home/h1/GSOC/rtems5_epics7/QtC-epics-base/modules'
configure/RULES_DIRS:84: recipe for target 'modules.install' failed
make: *** [modules.install] Error

The Debug output can be found in the db.d file:

[h1@earth QtC-epics-base (7.0 *+)]$ cat ./modules/database/test/std/rec/O.linux-x86_64/simmTest.db.d
General Time Initialized
Registered time provider 'OS Clock' at 999
../O.Common/simmTest.db: ../simmTestSimple.template \
../simmTestArray.template \
../simmTestHistogram.template \
../simmSetup.db \
../simmSimlFail.db


Heinz


References:
Synchronization and saving frame rate Matteo C. via Tech-talk
Re: Synchronization and saving frame rate Bruno Martins via Tech-talk

Navigate by Date:
Prev: Re: Synchronization and saving frame rate Bruno Martins via Tech-talk
Next: asub to set alarm status for ai record? Sobhani, Bayan via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Synchronization and saving frame rate Bruno Martins via Tech-talk
Next: FW: Synchronization and saving frame rate Engbretson, Mark S. via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 04 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·