Experimental Physics and Industrial Control System
|
Thanks for your help, Andrew!
With what you told me, I was eventually able to figure out I needed to add the following rule to our custom set of rules:
# This is necessary in R3.15.x as a consequence of TDCT producing .db files directly $(COMMON_DIR)/%.db$(RAW)$(DEP): $(COMMON_DIR)/%.db$(RAW) @$(RM) $@ $(MSI3_15) -D $(DBFLAGS) -o $(COMMONDEP_TARGET) $< > $@
Although, I now get complaints about circular dependencies being dropped that I don't yet understand: make[3]: Circular ../O.Common/bctest.db <- ../O.Common/bctest.db dependency dropped.
Hi Michael,
> On Sep 24, 2019, at 9:40 AM, Michael Westfall via Tech-talk <[email protected]> wrote:
>
> I have installed EPICS R3.15.6 here and now when I compile a support module, it fails with this:
> --------------
> ...
> Installing created db file ../../../db/bctest.db
> /gem_sw/epics/R3.15.6/base/configure/RULES.Db:521: Building ../../../db/bctest.db (from ../O.Common/bctest.db) (../O.Common/bctest.db newer)
> + perl -CSD /gem_sw/epics/R3.15.6/base/bin/linux-x86_64/installEpics.pl -d -m 444 ../O.Common/bctest.db ../../../db
> mkdir ../../../db
> make[3]: *** No rule to make target `bctest.db.d', needed by `build'. Stop.
> make[3]: Leaving directory `/home/mwestfall/bancomm/bancommApp/Db/O.linux-x86_64’
> ...
> --------
> I imagine this might have something to do with our custom rules that we add in here at Gemini, but I'm not seeing how.
> Any pointers as to where I should be looking to figure out why the bctest.db.d file is not being created?
The build rules changed between 3.14 and 3.15 specifically for $(DEP) = .d files; previously we would create a .d file in the same rule as the target itself and the build didn’t worry if there was no .d file. Since 3.15 we have a separate set of rules for creating .d files – look for the rules for targets %.db$(RAW)$(DEP) in Base/configure/RULES.Db and make sure you have equivalents in your ruleset.
Note that 3.15 comes with a newer version of the msi program which was required to generate .d files. In the build this is referred to with $(MSI3_15) since the older msi $(MSI) from extensions is not compatible. The associated changes may be what you’re missing.
IIRC there were quite a lot of changes to the build system between 3.14 and 3.15, I hope you have looked at those while updating your ruleset.
HTH,
- Andrew
--
Mike Westfall
Control Systems Software Engineer
- Replies:
- Re: Compile problems with R3.15.6 Johnson, Andrew N. via Tech-talk
- References:
- Compile problems with R3.15.6 Michael Westfall via Tech-talk
- Re: Compile problems with R3.15.6 Johnson, Andrew N. via Tech-talk
- Navigate by Date:
- Prev:
Re: Compile problems with R3.15.6 Johnson, Andrew N. via Tech-talk
- Next:
Re: Compile problems with R3.15.6 Johnson, Andrew N. 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>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Compile problems with R3.15.6 Johnson, Andrew N. via Tech-talk
- Next:
Re: Compile problems with R3.15.6 Johnson, Andrew N. 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>
2020
2021
2022
2023
2024
|
ANJ, 24 Sep 2019 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|