Hi Josh,
I don't have experience with MinGW. However, I know that there are issues building dynamically with Cygwin, which is also the gcc compiler.
Can you try building statically? Put the following in the base/configure/os/ /CONFIG_SITE.win32-x86-mingw.win32-x86-mingw file:
STATIC_BUILD=YES
SHARED_LIBRARIES=NO
Rebuild base and asyn and see if that fixes the problem.
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Josh Stein
Sent: Thursday, February 09, 2012 9:54 AM
To: [email protected]
Subject: AsynDriver build errors on MinGW
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:
AsynDriver build errors on MinGW Josh Stein
- Next:
Re: AsynDriver build errors on MinGW Josh Stein
- 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:
AsynDriver build errors on MinGW Josh Stein
- Next:
Re: AsynDriver build errors on MinGW Josh Stein
- 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
|