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  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <20252026  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  <20252026 
<== Date ==> <== Thread ==>

Subject: RE: duplicated main
From: "Dudley, David via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 29 Sep 2025 19:42:26 +0000

Tried that.  No effect.  Still gives error.  I can see that the AggTestMain.o file is actually listed twice in the command line.

 

I figure this has got to be something simple (if it’s not, I may no find it 😉.

 

Later-

 

David

 

From: Mark Rivers <[email protected]>
Sent: Monday, September 29, 2025 3:39 PM
To: Dudley, David <[email protected]>; [email protected]
Subject: RE: duplicated main

 

[EXTERNAL] This email originated from outside of FRIB

Hi David,

 

I think probably this line:

AggTest_SRCS_DEFAULT = AggTestMain.cpp

 

should be this:

AggTest_SRCS_DEFAULT += AggTestMain.cpp

 

From: Tech-talk <[email protected]> On Behalf Of Dudley, David via Tech-talk
Sent: Monday, September 29, 2025 2:27 PM
To: [email protected]
Subject: duplicated main

 

OK, working my way down to the errors in my Makefile.

 

For some reason, it’s linking in the main program twice (giving an error, or course).

 

I have the main program in the Makefile only once, in a <name>_SRCS_DEFAULT statement.

 

Figured I’d include the Makefile so you could laugh at my stupidity.

 

Later-

 

David

 


References:
duplicated main Dudley, David via Tech-talk
RE: duplicated main Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: duplicated main Mark Rivers via Tech-talk
Next: Re: EPICS CA and PVA across subnets 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  <20252026 
Navigate by Thread:
Prev: RE: duplicated main Mark Rivers via Tech-talk
Next: AreaDetector Collaboration Meeting - October 2nd Henrique F. Simoes 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  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·