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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Build of seq-2.1.15 with VS 2010 fails.
From: Benjamin Franksen <[email protected]>
To: "Tagger, Jueri" <[email protected]>, <[email protected]>
Date: Thu, 19 Dec 2013 12:11:46 +0100
Hi Jueri

I am forwarding this to techtalk as I have no idea how to properly solve
this build problem.

On Wednesday, December 18, 2013 14:47:27 Tagger, Jueri wrote:
> I tried to build seq-2.1.15 with base-3.14.12.4 using Visual Studio
> 2010. The sequencer build failed at linking the test app
> pvPutAsync.lib with error:
>
> pvPutAsync.obj : error LNK2001: unresolved external symbol
> _seq_sync_timeout pvPutAsync.exe : fatal error LNK1120: 1 unresolved
> externals
>
> To my understanding the seq_sync_timeout should be in seq.lib which
> was successfully built earlier and linked in. However, it the missing
> symbol is not there. Any ideas?

and as a follow up:
> Regarding: pvPutAsync.obj : error LNK2001: unresolved external symbol
> _seq_sync_timeout
>
> It appeared that linking of seq.lib with Visual Studio 2010 SP 1
> requires additional link option: /EXPORT:seq_sync_timeout (Otherwise
> variable double seq_sync_timeout = 10.0; from file
> seq-2.1.15/src/seq/seq_if.c  does not get exported.)
>
> I just rebuilt the seq.lib with the /EXPORT option but there is surely
> a proper place where this option can be inserted.

Could someone (Andrew?) give advice on how to properly fix this in the
sequencer? Should I add some magic annotation to the variable's
declaration?

Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams

Attachment: signature.asc
Description: This is a digitally signed message part.


Replies:
RE: Build of seq-2.1.15 with VS 2010 fails. Heesterman, Peter J

Navigate by Date:
Prev: Cothread pre-release michael.abbott
Next: RE: Build of seq-2.1.15 with VS 2010 fails. Heesterman, Peter J
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Cothread pre-release michael.abbott
Next: RE: Build of seq-2.1.15 with VS 2010 fails. Heesterman, Peter J
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·