EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Circular
From: Mark Rivers via Core-talk <[email protected]>
To: "'Johnson, Andrew N.'" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 6 Nov 2019 22:55:46 +0000

Hi Andrew,

 

If I delete the installed version of libVimbaCPP .so and run make it installs that file and I don’t get that error:

 

corvette:areaDetector/ADVimba/vimbaSupportCPP>rm ../lib/linux-x86_64/libVimbaCPP.so

rm: remove write-protected regular file '../lib/linux-x86_64/libVimbaCPP.so'? y

corvette:areaDetector/ADVimba/vimbaSupportCPP>make

make -C O.linux-x86_64 -f ../Makefile TOP=../.. \

    T_A=linux-x86_64 install

make[1]: Entering directory `/home/epics/devel/areaDetector-3-8/ADVimba/vimbaSupportCPP/O.linux-x86_64'

Installing shared library ../../lib/linux-x86_64/libVimbaCPP.so

Installing library ../../lib/linux-x86_64/libVimbaCPP.a

make[1]: Leaving directory `/home/epics/devel/areaDetector-3-8/ADVimba/vimbaSupportCPP/O.linux-x86_64'

 

However, if I simply run make again I now get that error:

 

corvette:areaDetector/ADVimba/vimbaSupportCPP>make

make -C O.linux-x86_64 -f ../Makefile TOP=../.. \

    T_A=linux-x86_64 install

make[1]: Entering directory `/home/epics/devel/areaDetector-3-8/ADVimba/vimbaSupportCPP/O.linux-x86_64'

make[1]: Circular libVimbaCPP.so <- ../../lib/linux-x86_64/libVimbaCPP.so dependency dropped.

Installing library ../../lib/linux-x86_64/libVimbaCPP.a

make[1]: Leaving directory `/home/epics/devel/areaDetector-3-8/ADVimba/vimbaSupportCPP/O.linux-x86_64'

 

Thanks,

Mark

 

 

From: Core-talk <[email protected]> On Behalf Of Johnson, Andrew N. via Core-talk
Sent: Monday, November 4, 2019 5:31 PM
To: [email protected]
Subject: Re: Circular

 

Hi Again Mark,

On 11/4/19 7:30 AM, Mark Rivers via Core-talk wrote:

I have a fairly simple Makefile (attached) to build a support library for areaDetector/ADVimba.

 

It seems to work OK, but I get this message when I build:

 

corvette:areaDetector/ADVimba/vimbaSupportCPP>make -s

make[1]: Circular libVimbaCPP.so <- ..//../lib/linux-x86_64/libVimbaCPP.so dependency dropped.

 

Any idea why I am getting that?


Your first line says
TOP=../ instead of the more usual TOP=.. which is what's causing the double-slash ..//.. in the path given in that warning message, but that's benign.

Have you tried doing a 'make distclean' recently? I'm using the Jenkins epics-areaDetector build workspace to look at it and I have the current ADVimba git master branch building in vimbaSupportCPP without getting that error. Base-3.14 fails to install any of the .hpp files because it doesn't have a vpath for finding %.hpp files, but this change fixes that:


diff --git a/vimbaSupportCPP/Makefile b/vimbaSupportCPP/Makefile
index 8fb0165..d09ce0a 100755
--- a/vimbaSupportCPP/Makefile
+++ b/vimbaSupportCPP/Makefile
@@ -1,9 +1,11 @@
-TOP=../
+TOP=..
 include $(TOP)/configure/CONFIG
 #----------------------------------------
 #  ADD MACRO DEFINITIONS AFTER THIS LINE
 #=============================
 
+vpath %.hpp $(SRC_DIRS)
+
 INC += $(patsubst ../%, %, $(wildcard ../VimbaCPP/Include/*))
 
 LIBRARY_IOC_WIN32 += VimbaCPP


I don't have a build against a newer Base though, so I'm not sure what else might be going on.

- Andrew

-- 
Complexity comes for free, Simplicity you have to work for.

References:
Circular Mark Rivers via Core-talk
Re: Circular Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: RE: Architecture dependent dbd files Mark Rivers via Core-talk
Next: Base 3.14.12.5 make uninstall not removing bin or lib Baker, Keith (DLSLtd, RAL, LSCI) via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: FW: Circular Mark Rivers via Core-talk
Next: Base 3.14.12.5 make uninstall not removing bin or lib Baker, Keith (DLSLtd, RAL, LSCI) via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 07 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·