On 11/27/2017 04:22 PM, Andrew Johnson wrote:
> Ahh, this was the RULES_TARGET issue that I found last week and fixed in
> 3.15 and 3.16 but haven't merged up into 7.0 yet.
Nope, I was looking at an out-of-date working tree, I did merge it up
already.
The libtestutils.dylib file only exists in the O.darwin-x86 directory,
so why does this command-line
> c++ -o testtest -L/Users/anj/Software/base-7.0/modules/pva2pva/testApp/O.darwin-x86 -L/Users/anj/Software/base-7.0/lib/darwin-x86 -arch x86_64 testtest.o -ltestutils -lp2pcore -lpvAccess -lpvData -ldbRecStd -ldbCore -lca -lCom
put this load command into the testtest executable (amongst others)?
> Load command 12
> cmd LC_LOAD_DYLIB
> cmdsize 88
> name /Users/anj/Software/base-7.0/lib/darwin-x86/libtestutils.dylib (offset 24)
> time stamp 2 Wed Dec 31 18:00:02 1969
> current version 0.0.0
> compatibility version 0.0.0
The file named there definitely does not exist.
I agree this isn't worth chasing right now. I would suggest applying
these changes instead:
diff --git a/testApp/Makefile b/testApp/Makefile
index fe01b35..3c740a8 100644
--- a/testApp/Makefile
+++ b/testApp/Makefile
@@ -14,12 +14,6 @@ p2pTestIoc_DBD += base.dbd
# Tests explicitly create/destory PDB provider
#p2pTestIoc_DBD += qsrv.dbd
-TESTLIBRARY += testutils
-
-testutils_SRCS += utilities.cpp
-testutils_LIBS += pvAccess pvData
-testutils_LIBS += $(EPICS_BASE_IOC_LIBS)
-
TESTPROD_HOST += testweak
testweak_SRCS += testweak.cpp
testweak_LIBS += Com
@@ -27,13 +21,15 @@ TESTS += testweak
TESTPROD_HOST += testtest
testtest_SRCS += testtest.cpp
-testtest_LIBS += testutils p2pcore pvAccess pvData
+testtest_SRCS += utilities.cpp
+testtest_LIBS += p2pcore pvAccess pvData
testtest_LIBS += $(EPICS_BASE_IOC_LIBS)
TESTS += testtest
TESTPROD_HOST += testmon
testmon_SRCS += testmon.cpp
-testmon_LIBS += testutils p2pcore pvAccess pvData
+testmon_SRCS += utilities.cpp
+testmon_LIBS += p2pcore pvAccess pvData
testmon_LIBS += $(EPICS_BASE_IOC_LIBS)
TESTS += testmon
@@ -41,26 +37,30 @@ TESTS += testmon
TESTPROD_HOST += testpvif
testpvif_SRCS += testpvif.cpp
testpvif_SRCS += p2pTestIoc_registerRecordDeviceDriver.cpp
-testpvif_LIBS += testutils qsrv pvAccess pvData
+testpvif_SRCS += utilities.cpp
+testpvif_LIBS += qsrv pvAccess pvData
testpvif_LIBS += $(EPICS_BASE_IOC_LIBS)
TESTS += testpvif
TESTPROD_HOST += testpdb
testpdb_SRCS += testpdb.cpp
testpdb_SRCS += p2pTestIoc_registerRecordDeviceDriver.cpp
-testpdb_LIBS += testutils qsrv pvAccess pvData
+testpdb_SRCS += utilities.cpp
+testpdb_LIBS += qsrv pvAccess pvData
testpdb_LIBS += $(EPICS_BASE_IOC_LIBS)
TESTS += testpdb
PROD_HOST += check_consist
check_consist_SRCS += check_consist.cpp
-check_consist_LIBS += testutils pvAccess pvData
+check_consist_SRCS += utilities.cpp
+check_consist_LIBS += pvAccess pvData
check_consist_LIBS += $(EPICS_BASE_IOC_LIBS)
#TESTPROD_HOST += testpvalink
testpvalink_SRCS += testpvalink.cpp
testpvalink_SRCS += p2pTestIoc_registerRecordDeviceDriver.cpp
-testpvalink_LIBS += testutils qsrv pvAccess pvData
+testpvalink_SRCS += utilities.cpp
+testpvalink_LIBS += qsrv pvAccess pvData
testpvalink_LIBS += $(EPICS_BASE_IOC_LIBS)
#TESTS += testpvalink
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- References:
- EPICS 7.0.1-pre1 Andrew Johnson
- Re: EPICS 7.0.1-pre1 Heinz Junkes
- Re: EPICS 7.0.1-pre1 Hartman, Steven M.
- Re: EPICS 7.0.1-pre1 Andrew Johnson
- Navigate by Date:
- Prev:
Re: EPICS 7.0.1-pre1 Andrew Johnson
- Next:
Re: EPICS 7.0.1-pre1 (spinlock.hpp) Dirk Zimoch
- Index:
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: EPICS 7.0.1-pre1 Andrew Johnson
- Next:
Re: EPICS 7.0.1-pre1 Michael Davidsaver
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
|