Hi Maren,
You wrote “Before I changed the INSTALL_LOCATION to be outside the source tree it built fine on linux-x86_64”. I suspect you didn’t do a ‘make clean’ when you added the INSTALL_LOCATION setting, and as a result you have a lot of dependency files (*.d) in your O.linux-x86_64 directories which depend on the old locations, i.e. with the include directory inside the source tree. That explains why the error message is from make (and not from gcc).
Try starting again from a clean source tree and I think (hope) you’ll find the problem goes away.
- Andrew
--
Sent from my iPad
> On Mar 13, 2018, at 9:34 PM, Maren Purves <[email protected]> wrote:
>
> Hi all,
>
> as we're getting a new receiver and we're talking soft IOC and
> the soft IOCs only started in 3.14 (and we're running 3.13.8
> otherwise) I have started looking at 3.15.5.
> Before I changed the INSTALL_LOCATION to be outside the source
> tree it built fine on linux-x86_64 - source tree is
> /jac_sw/epics/src/base-3.15.5 and I would like it to build into
> /jac_sw/epics/R3.15.5/.
> This works to until I get to libCom/test, which ends in
> make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. \
> T_A=linux-x86_64 install
> make[1]: Entering directory `/jac_sw/epics/src/base-3.15.5/src/libCom/test/O.linux-x86_64'
> make[1]: *** No rule to make target `../../../../include/epicsUnitTest.h', needed by `epicsUnitTestTest.o'. Stop.
>
> i.e. it looks for the include file in the source tree rather
> than in the install tree, where it does exist:
> ls -la /jac_sw/epics/R3.15.5/include/epicsUnitTest.h
> -r--r--r-- 1 maren software 1700 Mar 12 16:28 /jac_sw/epics/R3.15.5/include/epicsUnitTest.h
>
> Commenting out libCom/test I get something similar for ca/client:
> make -C ca/client install
> make[1]: Entering directory `/jac_sw/epics/src/base-3.15.5/src/ca/client'
> make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. \
> T_A=linux-x86_64 install
> make[2]: Entering directory `/jac_sw/epics/src/base-3.15.5/src/ca/client/O.linux-x86_64'
> Installing generic include file /jac_sw/epics/R3.15.5/include/cadef.h
> Installing generic include file /jac_sw/epics/R3.15.5/include/caerr.h
> Installing generic include file /jac_sw/epics/R3.15.5/include/caeventmask.h
> Installing generic include file /jac_sw/epics/R3.15.5/include/caProto.h
> Installing generic include file /jac_sw/epics/R3.15.5/include/db_access.h
> Installing generic include file /jac_sw/epics/R3.15.5/include/addrList.h
> Installing generic include file /jac_sw/epics/R3.15.5/include/cacIO.h
> Installing generic include file /jac_sw/epics/R3.15.5/include/caDiagnostics.h
> make[2]: *** No rule to make target `../../../../include/dbDefs.h', needed by `cac.o'. Stop.
> make[2]: Leaving directory `/jac_sw/epics/src/base-3.15.5/src/ca/client/O.linux-x86_64'
> make[1]: *** [install.linux-x86_64] Error 2
> make[1]: Leaving directory `/jac_sw/epics/src/base-3.15.5/src/ca/client'
> make: *** [ca/client.install] Error 2
>
> Am I missing redefining something somewhere in the configuration files?
> I looked through them and didn't find anything referencing INCLUDE that
> didn't also say INSTALL_LOCATION. We haven't built into source trees in
> the past and I would prefer not to start now.
> What am I missing?
>
> TIA,
> Maren
- Replies:
- Re: problem building 3.15.5 Maren Purves
- References:
- problem building 3.15.5 Maren Purves
- Navigate by Date:
- Prev:
problem building 3.15.5 Maren Purves
- Next:
Re: problem building 3.15.5 Maren Purves
- 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:
problem building 3.15.5 Maren Purves
- Next:
Re: problem building 3.15.5 Maren Purves
- 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
|