John,
That is probably a problem with the epicsShareFunc stuff. It looks like you are building with SHARED_LIBRARIES=YES and STATIC_BUILD=NO. I know that it works OK with SHARED_LIBRARIES=NO and STATIC_BUILD=YES. I like the latter settings, because then you can take your .exe file to any Windows machine without having to also copy dozens of DLLs.
Mark
________________________________
From: [email protected] on behalf of John Dobbins
Sent: Wed 8/5/2009 1:30 PM
To: EPICS Tech-Talk
Subject: Building ASYN on Windows
All,
I am building ASYN 4-10 wth EPICS 3.14.10 on a Windows machine using
Visual Studio 2005, Microsoft C/C++ Optimizing Compiller Version
14.00.50727.762 for 80X86, Perl 5.8.9, GNU Make 3.8.1
The testIPServerApp generates the link error reported below.
Any advice appreciated, thanks.
John Dobbins
Cornell University
Lab for Elementary Particle Physics
make[2]: Entering directory
`W:/winDev/epics/R3.14.10/support/asyn/4-10/testIPSe
rverApp/src/O.win32-x86'
link /nologo /subsystem:windows /dll /LTCG /incremental:no /opt:ref /release
/implib:testIPServerSupport.lib /out:testIPServerSupport.dll
ipEchoServer.obj ipEchoServer2.obj ipSNCServer.obj
../../../lib/win32-x86/asyn.lib
W:/winDev/epics/R3.14.10/support/seq/2-0-12/lib/win32x86/seq.lib
W:/winDev/epics/R3.14.10/support/seq/2-0-12/lib/win32-x86/pv.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/recIoc.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/softDevIoc.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/miscIoc.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/rsrvIoc.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/dbtoolsIoc.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/asIoc.lib
W:/winDev/epics/R3.14.10/support/ba
se/lib/win32-x86/dbIoc.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/registryIoc.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/dbStaticIoc.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/ca.lib
W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/Com.lib
Creating library testIPServerSupport.lib and object
testIPServerSupport.exp
ipSNCServer.obj : error LNK2001: unresolved external symbol _pasynManager
ipSNCServer.obj : error LNK2001: unresolved external symbol _pasynTrace
ipSNCServer.obj : error LNK2001: unresolved external symbol _pasynOctetSyncIO
testIPServerSupport.dll : fatal error LNK1120: 3 unresolved externals
make[2]: *** [testIPServerSupport.dll] Error 1120
make[2]: Leaving directory
`W:/winDev/epics/R3.14.10/support/asyn/4-10/testIPSer
verApp/src/O.win32-x86'
make[1]: *** [install.win32-x86] Error 2
make[1]: Leaving directory
`W:/winDev/epics/R3.14.10/support/asyn/4-10/testIPSer
verApp/src'
make: *** [src.install] Error 2
- Replies:
- RE: Building ASYN on Windows Richard Pastrick
- RE: Building ASYN on Windows John Dobbins
- RE: Building ASYN on Windows John Dobbins
- References:
- Building ASYN on Windows John Dobbins
- Navigate by Date:
- Prev:
Building ASYN on Windows John Dobbins
- Next:
RE: Building ASYN on Windows Richard Pastrick
- 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
- Navigate by Thread:
- Prev:
Building ASYN on Windows John Dobbins
- Next:
RE: Building ASYN on Windows Richard Pastrick
- 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
|