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  <20182019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Build error for windows-x64-debug on VS2010
From: Michael Davidsaver <[email protected]>
To: Mark Rivers <[email protected]>
Cc: [email protected]
Date: Tue, 6 Feb 2018 14:27:52 -0800
On 02/06/2018 01:25 PM, Mark Rivers wrote:
> I am getting an error building pva2pva for the windows-x64-debug architecture on VS2010.  I don’t think this is an error I have previously reported.  I don’t know how to fix it.
...
> 
> link -nologo  -debug -incremental:no -fixed:no -MACHINE:X64              -out:p2p.exe       gwmain.obj server.obj chancache.obj moncache.obj channel.obj     H:/epics-devel/base-7.0
> 
> .1/lib/windows-x64-debug/pvAccessIOC.lib  H:/epics-devel/base-7.0.1/lib/windows-x64-debug/pvAccess.lib  H:/epics-devel/base-7.0.1/lib/windows-x64-debug/pvData.lib  H:/epics-devel/b
> 
> ase-7.0.1/lib/windows-x64-debug/Com.lib
> 
> Com.lib(Com.dll) : error LNK2005: "public: __cdecl epicsTimerNotify::epicsTimerNotify(void)" (??0epicsTimerNotify@@QEAA@XZ) already defined in server.obj
> 
>    Creating library p2p.lib and object p2p.exp
> 
> p2p.exe : fatal error LNK1169: one or more multiply defined symbols found

Gosh Mark, you sure find some good issues.

Let's assume this is an dllimport vs. export bug.  Can you add the following to p2pApp/server.cpp
above the epicsExportSharedSymbols and see if the situation changes at all?

> #include <epicsTimer.h> // add this line
> #define epicsExportSharedSymbols

Replies:
RE: Build error for windows-x64-debug on VS2010 Mark Rivers
References:
Build error for windows-x64-debug on VS2010 Mark Rivers

Navigate by Date:
Prev: RE: Build error for windows-x64-debug on VS2010 Mark Rivers
Next: RE: Build error for windows-x64-debug on VS2010 Mark Rivers
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Build error for windows-x64-debug on VS2010 Mark Rivers
Next: RE: Build error for windows-x64-debug on VS2010 Mark Rivers
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 06 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·