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  2012  2013  <20142015  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  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building Base on win64...
From: Andrew Johnson <[email protected]>
To: David Reid <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 8 Apr 2014 14:13:22 -0500
Hi David,

On 04/08/2014 01:58 PM, David Reid wrote:
> I’m trying to build EPICS baseR3.14.12.4 on a windows64 machine, and
> I’ve run into the following issue:
> 
> link /nologo /subsystem:windows /dll /MANIFEST /LTCG /incremental:no
> /opt:ref /release /version:3.14 /MACHINE:X64     /implib:Com.lib
> /out:Com.dll bucketLib.obj epicsRingPointer.obj epicsRingBytes.obj postfix.obj
...
> bucketLib.obj : fatal error LNK1112: module machine type 'X86' conflicts
> with target machine type 'x64'

> I have EPICS_HOST_ARCH set to windows-x64.
> 
> Any thoughts on what I may be doing wrong?  Thanks…

 From the error message and the above command-line it appears that at
least one of your .obj files was compiled for the 32-bit architecture,
but you're trying to link it into a 64-bit Com.dll.

I would start by running a 'make rebuild' command from the top of Base,
which should clean out the old .obj files and recompile them for x64. If
the same problem happens again, you must have done something strange in
base/configure files (or in your $(HOME)/configure directory). In that
case, please find and post the make output showing the compilation of
the bucketLib.obj file, and describe what changes you've made to the
base/configure/os/*windows-x64* files.

- Andrew
-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

References:
Building Base on win64... David Reid

Navigate by Date:
Prev: Building Base on win64... David Reid
Next: RE: Building Base on win64... Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Building Base on win64... David Reid
Next: RE: Building Base on win64... Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·