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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Base version 3.15.0.1 released
From: Martin Konrad <[email protected]>
To: [email protected]
Date: Fri, 10 Aug 2012 20:35:57 +0200
Hi,
I run in some sort of trouble when I try to build one of my IOCs against
3.15.0.1. Everything works smoothly with 3.14.12.1 but with the new
revision make complains about a missing target:

[...]
mkdir ../../../db
Installing db file ../../../db/llbbc_ifc_usb.template
Installing db file ../../../db/llbbc10.template
Installing db file ../../../db/llbbc_constant.template
Installing db file ../../../db/llbbc.substitutions
Installing db file ../../../db/llif_usb.substitutions
Installing db file ../../../db/variable.template
Installing db file ../../../db/variables.substitutions
Installing db file ../../../db/cps05-crate.template
Installing db file ../../../db/can_ifc.template
Installing db file ../../../db/cps05.template
Installing db file ../../../db/cpsgun08.template
Installing db file ../../../db/powersupply.substitutions
Installing db file ../../../db/voltagePowersupply.substitutions
make[3]: *** No rule to make target `llbbc_ifc.template.d', needed by
`build'.  Stop.
[...]

The file llbbc_ifc.template is a DB template (so there should by no
dependencies to other files). llbbc_ifc.template is generated from
llbbc_ifc.template.pre by a make rule that I added to
testCrtLLRFApp/Db/Makefile (see attached Makefile). As you can see from
the attached log file, some other template files have been created and
installed correctly before Make stumbles over the missing target.

Are there any changes in behaviour between 3.14.12 and 3.15.0 that can
lead to this? Where can I find documentation about the new dependency files?

Any help is appreciated

Martin

P.S.: My system is Ubuntu 12.04 x86_64, GNU Make 3.81.

-- 
Dipl. Phys. Martin Konrad
Technische Universität Darmstadt
Institut für Kernphysik
Schlossgartenstr. 9
64289 Darmstadt
Tel.: +49-6151-16-5121
Fax: +49-6151-16-4321
make -C ./configure install 
make[1]: Entering directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/configure'
perl -CSD /home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. T_A=linux-x86_64 install
make[2]: Entering directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/configure/O.linux-x86_64'
perl -CSD /home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/bin/linux-x86_64/convertRelease.pl checkRelease
make[2]: Leaving directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/configure/O.linux-x86_64'
make[1]: Leaving directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/configure'
make -C ./testCrtLLRFApp install 
make[1]: Entering directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp'
make -C ./src install 
make[2]: Entering directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/src'
perl -CSD /home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
make[3]: Entering directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/src/O.linux-x86_64'
/usr/bin/gcc  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3 -g   -Wall      -m64     -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include                -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/compiler/gcc -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/os/Linux -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include       -MM -MF usbVarAvgASub.d  ../usbVarAvgASub.c
perl -CSD /home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/bin/linux-x86_64/makeIncludeDbd.pl base.dbd tudSocketCan.dbd llbbcusb.dbd usbVarAvgASub.dbd testCrtLLRFInclude.dbd
Expanding created dbd file testCrtLLRFInclude.dbd
perl -CSD /home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/bin/linux-x86_64/dbdExpand.pl  -I. -I.. -I../O.Common -I../../../dbd -I../../../../../../support/socketCan/trunk/dbd -I../../../../../../support/llbbcusb/trunk/dbd -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/dbd -o testCrtLLRF.dbd ../O.Common/testCrtLLRFInclude.dbd
perl -CSD /home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/bin/linux-x86_64/registerRecordDeviceDriver.pl  -I. -I.. -I../O.Common -I../../../dbd -I../../../../../../support/socketCan/trunk/dbd -I../../../../../../support/llbbcusb/trunk/dbd -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/dbd ../O.Common/testCrtLLRF.dbd testCrtLLRF_registerRecordDeviceDriver /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk > testCrtLLRF.tmp
mv testCrtLLRF.tmp testCrtLLRF_registerRecordDeviceDriver.cpp
/usr/bin/g++  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m64      -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include                -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/compiler/gcc -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/os/Linux -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include       -MM -MF testCrtLLRF_registerRecordDeviceDriver.d  testCrtLLRF_registerRecordDeviceDriver.cpp
make[3]: Leaving directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/src/O.linux-x86_64'
make[3]: Entering directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/src/O.linux-x86_64'
Installing created dbd file ../../../dbd/testCrtLLRF.dbd
mkdir ../../../dbd
/usr/bin/gcc  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3 -g   -Wall      -m64     -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include                -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/compiler/gcc -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/os/Linux -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include       -c ../usbVarAvgASub.c
/usr/bin/ar -rc   libtestCrtLLRFSupport.a        usbVarAvgASub.o 
/usr/bin/ranlib libtestCrtLLRFSupport.a
rm -f libtestCrtLLRFSupport.so.
/usr/bin/g++ -o libtestCrtLLRFSupport.so. -shared -fPIC -Wl,-hlibtestCrtLLRFSupport.so. -L/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/lib/linux-x86_64 -Wl,-rpath,/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/lib/linux-x86_64       -m64               usbVarAvgASub.o    -ldbRecStd -ldbCore -lca -lCom   -lpthread   -lreadline -lm -lrt -ldl -lgcc
Installing shared library ../../../lib/linux-x86_64/libtestCrtLLRFSupport.so.
mkdir ../../../lib
mkdir ../../../lib/linux-x86_64
Installing library ../../../lib/linux-x86_64/libtestCrtLLRFSupport.a
/usr/bin/g++  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m64      -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include                -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/compiler/gcc -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/os/Linux -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include       -c testCrtLLRF_registerRecordDeviceDriver.cpp
/usr/bin/g++  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m64      -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include                -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/compiler/gcc -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include/os/Linux -I/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/include       -c ../testCrtLLRFMain.cpp
/usr/bin/g++ -o testCrtLLRF  -L/home/marko/acs/frameworks/epics/support/llbbcusb/trunk/lib/linux-x86_64 -L/home/marko/acs/frameworks/epics/support/socketCan/trunk/lib/linux-x86_64 -L/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/lib/linux-x86_64 -L/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/lib/linux-x86_64 -L/usr/lib -Wl,-rpath,/home/marko/acs/frameworks/epics/support/llbbcusb/trunk/lib/linux-x86_64 -Wl,-rpath,/home/marko/acs/frameworks/epics/support/socketCan/trunk/lib/linux-x86_64 -Wl,-rpath,/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/lib/linux-x86_64 -Wl,-rpath,/home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/lib/linux-x86_64 -Wl,-rpath,/usr/lib       -m64               testCrtLLRF_registerRecordDeviceDriver.o testCrtLLRFMain.o    -ltudSocketCan -lllbbcusb -lllbbc10USBThread -lftdi -ldbRecStd -ldbCore -lca -lCom -ltestCrtLLRFSupport  -lboost_system-mt -lboost_thread-mt 
/usr/bin/ld: warning: libCom.so.3.14.11, needed by /home/marko/acs/frameworks/epics/support/llbbcusb/trunk/lib/linux-x86_64/libllbbcusb.so, may conflict with libCom.so.3.15
Installing created executable ../../../bin/linux-x86_64/testCrtLLRF
mkdir ../../../bin
mkdir ../../../bin/linux-x86_64
make[3]: Leaving directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/src/O.linux-x86_64'
make[2]: Leaving directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/src'
make -C ./Db install 
make[2]: Entering directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/Db'
perl -CSD /home/marko/src/epics_base_3.15.0.1/base-3.15.0.1/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
make[3]: Entering directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/Db/O.linux-x86_64'
cd ../O.Common && ../../../../../templates/trunk/replaceCmds.pl -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/cps_can.h -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/fpgaboards.h ../../../../../templates/trunk/llbbc/llbbc_ifc.template.pre ../O.Common/llbbc_ifc.template
cd ../O.Common && ../../../../../templates/trunk/replaceCmds.pl -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/cps_can.h -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/fpgaboards.h ../../../../../templates/trunk/llbbc/llbbc_ifc_usb.template.pre ../O.Common/llbbc_ifc_usb.template
cd ../O.Common && ../../../../../templates/trunk/replaceCmds.pl -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/cps_can.h -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/fpgaboards.h ../../../../../templates/trunk/llbbc/llbbc10.template.pre ../O.Common/llbbc10.template
cd ../O.Common && ../../../../../templates/trunk/replaceCmds.pl -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/cps_can.h -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/fpgaboards.h ../../../../../templates/trunk/llbbc/llbbc_constant.template.pre ../O.Common/llbbc_constant.template
cp ../../../../../templates/trunk/llbbc/variable.template ../O.Common/variable.template
cd ../O.Common && ../../../../../templates/trunk/replaceCmds.pl -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/cps_can.h ../../../../../templates/trunk/cps05/cps05-crate.template.pre ../O.Common/cps05-crate.template
cd ../O.Common && ../../../../../templates/trunk/replaceCmds.pl -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/cps_can.h ../../../../../templates/trunk/can_ifc.template.pre ../O.Common/can_ifc.template
cd ../O.Common && ../../../../../templates/trunk/replaceCmds.pl -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/cps_can.h ../../../../../templates/trunk/cps05/cps05.template.pre ../O.Common/cps05.template
cd ../O.Common && ../../../../../templates/trunk/replaceCmds.pl -I /home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/../../../support/socketCan/trunk/../../../../../devices/firmware/nut/trunk/inc/cps_can.h ../../../../../templates/trunk/cps05/cpsgun08.template.pre ../O.Common/cpsgun08.template
Installing db file ../../../db/llbbc_ifc.template
mkdir ../../../db
Installing db file ../../../db/llbbc_ifc_usb.template
Installing db file ../../../db/llbbc10.template
Installing db file ../../../db/llbbc_constant.template
Installing db file ../../../db/llbbc.substitutions
Installing db file ../../../db/llif_usb.substitutions
Installing db file ../../../db/variable.template
Installing db file ../../../db/variables.substitutions
Installing db file ../../../db/cps05-crate.template
Installing db file ../../../db/can_ifc.template
Installing db file ../../../db/cps05.template
Installing db file ../../../db/cpsgun08.template
Installing db file ../../../db/powersupply.substitutions
Installing db file ../../../db/voltagePowersupply.substitutions
make[3]: *** No rule to make target `llbbc_ifc.template.d', needed by `build'.  Stop.
make[3]: Leaving directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/Db/O.linux-x86_64'
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp/Db'
make[1]: *** [Db.install] Error 2
make[1]: Leaving directory `/home/marko/acs/frameworks/epics/iocapps/test_crt_llrf/trunk/testCrtLLRFApp'
make: *** [testCrtLLRFApp.install] Error 2
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE

#----------------------------------------------------
#  Optimization of db files using dbst (DEFAULT: NO)
#DB_OPT = YES

#----------------------------------------------------
# Create and install (or just install) into <top>/db
# databases, templates, substitutions like this
DB += llbbc_ifc.template
DB += llbbc_ifc_usb.template
DB += llbbc10.template
DB += llbbc_constant.template
DB += llbbc.substitutions
DB += llif_usb.substitutions
DB += variable.template
DB += variables.substitutions
DB += cps05-crate.template
DB += can_ifc.template
DB += cps05.template
DB += cpsgun08.template
DB += powersupply.substitutions
DB += voltagePowersupply.substitutions

#----------------------------------------------------
# If <anyname>.db template is not named <anyname>*.template add
# <anyname>_template = <templatename>

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE

../O.Common/llbbc10.template: $(DBTEMPLATES)/llbbc/llbbc10.template.pre
	cd ../O.Common && $(DBTEMPLATES)/replaceCmds.pl -I $(CAN_INCLUDE_DIR)/cps_can.h -I $(CAN_INCLUDE_DIR)/fpgaboards.h $< $@

../O.Common/llbbc_ifc.template: $(DBTEMPLATES)/llbbc/llbbc_ifc.template.pre
	cd ../O.Common && $(DBTEMPLATES)/replaceCmds.pl -I $(CAN_INCLUDE_DIR)/cps_can.h -I $(CAN_INCLUDE_DIR)/fpgaboards.h $< $@

../O.Common/llbbc_constant.template: $(DBTEMPLATES)/llbbc/llbbc_constant.template.pre
	cd ../O.Common && $(DBTEMPLATES)/replaceCmds.pl -I $(CAN_INCLUDE_DIR)/cps_can.h -I $(CAN_INCLUDE_DIR)/fpgaboards.h $< $@

../O.Common/llbbc_ifc_usb.template: $(DBTEMPLATES)/llbbc/llbbc_ifc_usb.template.pre
	cd ../O.Common && $(DBTEMPLATES)/replaceCmds.pl -I $(CAN_INCLUDE_DIR)/cps_can.h -I $(CAN_INCLUDE_DIR)/fpgaboards.h $< $@

../O.Common/variable.template: $(DBTEMPLATES)/llbbc/variable.template
	cp $< $@

../O.Common/cps05-crate.template: $(DBTEMPLATES)/cps05/cps05-crate.template.pre
	cd ../O.Common && $(DBTEMPLATES)/replaceCmds.pl -I $(CAN_INCLUDE_DIR)/cps_can.h $< $@

../O.Common/can_ifc.template: $(DBTEMPLATES)/can_ifc.template.pre
	cd ../O.Common && $(DBTEMPLATES)/replaceCmds.pl -I $(CAN_INCLUDE_DIR)/cps_can.h $< $@

../O.Common/cps05.template: $(DBTEMPLATES)/cps05/cps05.template.pre
	cd ../O.Common && $(DBTEMPLATES)/replaceCmds.pl -I $(CAN_INCLUDE_DIR)/cps_can.h $< $@

../O.Common/cpsgun08.template: $(DBTEMPLATES)/cps05/cpsgun08.template.pre
	cd ../O.Common && $(DBTEMPLATES)/replaceCmds.pl -I $(CAN_INCLUDE_DIR)/cps_can.h $< $@

force:

Replies:
Re: EPICS Base version 3.15.0.1 released Andrew Johnson
References:
EPICS Base version 3.15.0.1 released Andrew Johnson

Navigate by Date:
Prev: Re: Installing MEDM on UBUNTU 10.04 LTS Andrew Johnson
Next: Re: EPICS Base version 3.15.0.1 released Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS Base version 3.15.0.1 released Ron Sluiter
Next: Re: EPICS Base version 3.15.0.1 released Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·