g+
g+ Communities
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  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Building base-3.14.12.2 on windows-x64
From: John Dobbins <john.dobbins@cornell.edu>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Wed, 4 Jan 2012 16:52:45 +0000
All,

I am attempting to build EPICS3.14.12.2  on windows-x64 for the first time. I should add that the entire Windows7/x64 environment is new to me.

Windows 7 x64
Visual Studio 2010
mingw-make = GNU Make 3,82 built for i386-pc-mingw32
perl = 5.14.2 built for MSWIN32-x64-multi-thread

What I did:

1) set environment variable  EPICS_HOST_ARCH = windows-x64

2) set-up environment via   "vcvarsall.bat amd64"

(I haven't changed anything else in configure/ )

then do mingw32-make in top level directory. I run into trouble the first time the linker is called, see below. Can someone tell me what I have missed?

Thanks,

John Dobbins



link /nologo /subsystem:windows /dll /LTCG /incremental:no /opt:ref /release /ve
rsion:3.14  /MACHINE:X64    /implib:com.lib /out:com.dll        bucketLib.obj ep
icsRingPointer.obj epicsRingBytes.obj postfix.obj calcPerform.obj cvtFast.obj re
sourceLib.obj epicsOnce.obj epicsSingletonMutex.obj dbmf.obj ellLib.obj envSubr.
obj envData.obj errlog.obj errSymLib.obj errSymTbl.obj fdmgr.obj fdManager.obj f
reeListLib.obj gpHashLib.obj iocsh.obj registry.obj libComRegister.obj iocLog.ob
j logClient.obj macCore.obj macEnv.obj macUtil.obj aToIPAddr.obj adjustment.obj
cantProceed.obj epicsConvert.obj epicsExit.obj epicsStdlib.obj epicsString.obj t
runcateFile.obj ipAddrToAsciiAsynchronous.obj epicsUnitTest.obj epicsThread.obj
epicsMutex.obj epicsEvent.obj epicsTime.obj epicsMessageQueue.obj epicsMath.obj
epicsGeneralTime.obj osiClockTime.obj osdSock.obj osdSockAddrReuse.obj osiSock.o
bj systemCallIntMech.obj epicsSocketConvertErrnoToString.obj osdAssert.obj osdFi
ndSymbol.obj osdInterrupt.obj osdPoolStatus.obj osdSignal.obj osdEnv.obj epicsRe
adline.obj epicsTempFile.obj epicsStdio.obj osdStdio.obj osdThread.obj osdMutex.
obj osdEvent.obj osdTime.obj osdProcess.obj osdNetIntf.obj osdMessageQueue.obj d
evLibVME.obj devLibVMEOSD.obj taskwd.obj epicsTimer.obj timer.obj timerQueue.obj
 timerQueueActive.obj timerQueueActiveMgr.obj timerQueuePassive.obj tsDefs.obj e
picsGetopt.obj setThreadName.obj forceBadAllocException.obj
   Creating library com.lib and object com.exp
fdManager.obj : error LNK2001: unresolved external symbol __WSAFDIsSet
fdManager.obj : error LNK2001: unresolved external symbol __imp_WSAGetLastError
fdManager.obj : error LNK2001: unresolved external symbol __imp_select
logClient.obj : error LNK2001: unresolved external symbol __imp_send
logClient.obj : error LNK2001: unresolved external symbol __imp_setsockopt
logClient.obj : error LNK2001: unresolved external symbol __imp_shutdown
logClient.obj : error LNK2001: unresolved external symbol __imp_htons
logClient.obj : error LNK2001: unresolved external symbol __imp_connect
aToIPAddr.obj : error LNK2001: unresolved external symbol __imp_htonl
osdSock.obj : error LNK2001: unresolved external symbol __imp_accept
osdSock.obj : error LNK2001: unresolved external symbol __imp_gethostbyname
osdSock.obj : error LNK2001: unresolved external symbol __imp_gethostbyaddr
osdSock.obj : error LNK2001: unresolved external symbol __imp_closesocket
osdSock.obj : error LNK2001: unresolved external symbol __imp_socket
osdSock.obj : error LNK2001: unresolved external symbol __imp_WSACleanup
osdSock.obj : error LNK2001: unresolved external symbol __imp_WSAStartup
osiSock.obj : error LNK2001: unresolved external symbol __imp_ntohs
osiSock.obj : error LNK2001: unresolved external symbol __imp_ntohl
osdProcess.obj : error LNK2001: unresolved external symbol __imp_MessageBoxA
osdProcess.obj : error LNK2001: unresolved external symbol __imp_GetUserNameA
osdNetIntf.obj : error LNK2001: unresolved external symbol __imp_WSAIoctl
com.dll : fatal error LNK1120: 21 unresolved externals
mingw32-make[3]: *** [Com.dll] Error 1120
mingw32-make[3]: Leaving directory `X:/winDev/epics/R3.14.12/base-3.14.12.2/src/
libCom/O.windows-x64'
mingw32-make[2]: *** [install.windows-x64] Error 2
mingw32-make[2]: Leaving directory `X:/winDev/epics/R3.14.12/base-3.14.12.2/src/
libCom'
mingw32-make[1]: *** [libCom.install] Error 2
mingw32-make[1]: Leaving directory `X:/winDev/epics/R3.14.12/base-3.14.12.2/src'

mingw32-make: *** [src.install] Error 2

Navigate by Date:
Prev: RE: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 Jeff Hill
Next: RE: Building base-3.14.12.2 on windows-x64 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: EPICS on Linux MVME5500 james.rowland
Next: RE: Building base-3.14.12.2 on windows-x64 John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·