Experimental Physics and Industrial Control System
> I think Jeff Hill also had trouble recently with the mingw version of
> make, but had success with GnuWin32.
Yes, I have also experienced this issue and found that only a very special
version of mingw gnu make works (maybe not even every 3.81 tagged version
works as I recall)...
>gmake --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-pc-mingw32
Jeff
______________________________________________________
Jeffrey O. Hill Email [email protected]
LANL MS H820 Voice 505 665 1831
Los Alamos NM 87545 USA FAX 505 665 5107
Message content: TSPA
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of John Dobbins
> Sent: Wednesday, January 04, 2012 10:55 AM
> To: Mark Rivers; EPICS Tech-Talk
> Subject: RE: Building base-3.14.12.2 on windows-x64
>
> That worked! I switched to the GnuWin32 version of make and was able to
> build. Thanks Mark!
>
> John Dobbins
>
>
> ________________________________________
> From: Mark Rivers [[email protected]]
> Sent: Wednesday, January 04, 2012 12:02 PM
> To: John Dobbins; EPICS Tech-Talk
> Subject: RE: Building base-3.14.12.2 on windows-x64
>
> John,
>
> I would recommend using GnuWin32 version of make instead. It is working
> fine for me.
>
> http://gnuwin32.sourceforge.net/packages/make.htm
>
> I think Jeff Hill also had trouble recently with the mingw version of
> make, but had success with GnuWin32.
>
> I am using ActivePerl and Visual Studio 2008.
>
> Mark
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of John Dobbins
> Sent: Wednesday, January 04, 2012 10:53 AM
> To: EPICS Tech-Talk
> Subject: Building base-3.14.12.2 on windows-x64
>
> 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
- References:
- Building base-3.14.12.2 on windows-x64 John Dobbins
- RE: Building base-3.14.12.2 on windows-x64 John Dobbins
- Navigate by Date:
- Prev:
RE: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 Jeff Hill
- Next:
RE: The crash of Matlab using LabCA Mark Rivers
- 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:
RE: Building base-3.14.12.2 on windows-x64 John Dobbins
- 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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024