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  <20122013  2014  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: AsynDriver build errors on MinGW
From: Josh Stein <[email protected]>
To: [email protected]
Date: Thu, 09 Feb 2012 15:01:35 -0600
After speaking with Andrew, I put a workaround in place by building static libraries instead of DLLs. This required rebuilding base and any applications, but was not a big deal otherwise - just changing configure/CONFIG_SITE in the base directory.



On 2/9/12 9:54 AM, Josh Stein wrote:
Here I go again with MinGW...

I'm attempting to build the AsynDriver module on a windows box; during the make in /modules/asyn4-18 I get the following error:

g++ -o asyn.dll -shared -Wl,--out-implib,asyn.lib -LC:\base-3.14.12.2\lib\win32-x86-mingw -m32 asynManager.o epicsInterruptibleSyscall.o asynGpib.o drvAsynSerialPortWin32.o drvAsynIPPort.o drvAsynIPServerPort.o asynInt32Base.o asynInt32SyncIO.o asynInt8ArrayBase.o asynInt8ArraySyncIO.o asynInt16ArrayBase.o asynInt16ArraySyncIO.o asynInt32ArrayBase.o asynInt32ArraySyncIO.o asynUInt32DigitalBase.o asynUInt32DigitalSyncIO.o asynFloat64Base.o asynFloat64SyncIO.o asynFloat32ArrayBase.o asynFloat32ArraySyncIO.o asynFloat64ArrayBase.o asynFloat64ArraySyncIO.o asynOctetBase.o asynOctetSyncIO.o asynGenericPointerBase.o asynGenericPointerSyncIO.o asynCommonSyncIO.o asynStandardInterfacesBase.o asynShellCommands.o asynInterposeCom.o asynInterposeEos.o asynInterposeFlush.o asynPortDriver.o devAsynOctet.o asynEpicsUtils.o devAsynInt32.o devAsynInt8Array.o devAsynInt16Array.o devAsynInt32Array.o devAsynUInt32Digital.o devAsynFloat64.o devAsynFloat32Array.o devAsynFloat64Array.o asynRecord.o drvAsyn.o drvVxi11Win32.o E5810Reboot.o E2050Reboot.o TDS3000Reboot.o devCommonGpib.o devSupportGpib.o boSRQonOff.o -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom -lws2_32 -lws2_32
Creating library file: asyn.lib
asynInterposeCom.o:asynInterposeCom.c:(.text+0x6e6): undefined reference to `_imp__pasynTrace' asynInterposeCom.o:asynInterposeCom.c:(.text+0x14c7): undefined reference to `_imp__pasynTrace' asynInterposeCom.o:asynInterposeCom.c:(.text+0x1556): undefined reference to `_imp__pasynManager'
collect2: ld returned 1 exit status
make[2]: *** [asyn.dll] Error 1
make[2]: Leaving directory `c:/modules/asyn4-18/asyn/O.win32-x86-mingw'
make[1]: *** [install.win32-x86-mingw] Error 2
make[1]: Leaving directory `c:/modules/asyn4-18/asyn'
make: *** [asyn.install] Error 2
make: Leaving directory `c:/modules/asyn4-18'

Thoughts?


References:
AsynDriver build errors on MinGW Josh Stein

Navigate by Date:
Prev: RE: AsynDriver build errors on MinGW Mark Rivers
Next: Driver for Lake Shore Model 336 temperature controller Elliott Wolin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: AsynDriver build errors on MinGW Mark Rivers
Next: Driver for Lake Shore Model 336 temperature controller Elliott Wolin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·