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

Subject: Re: antelope error in Windows 7 cygwin build of EPICS base 3.15.3
From: Ana Malagon <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 6 May 2016 12:18:53 -0700
That solved it!

Thank you very much! (And for explaining what was going on; my knowledge of make is very limited, so I hadn't realized that -m32 meant it wanted a 32 bit binary; thanks!)

Ana

On Fri, May 6, 2016 at 12:05 PM, Andrew Johnson <[email protected]> wrote:
Hi Ana,

On 05/06/2016 01:51 PM, Ana Malagon wrote:
>
> The error output (shortened) are shown below:
>
> g++ -o antelope.exe          -m32               epicsTempFile.obj
> closure.obj error.obj lalr.obj lr0.obj antelope.obj mkpar.obj output.obj
> reader.obj skeleton.obj symtab.obj verbose.obj warshall.obj
> /usr/lib/gcc/x86_64-pc-cygwin/5.3.0/../../../../x86_64-pc-cygwin/bin/ld:
> skipping incompatible
> /usr/lib/gcc/x86_64-pc-cygwin/5.3.0//libstdc++.dll.a when searching for
> -lstdc++
>
> /usr/lib/gcc/x86_64-pc-cygwin/5.3.0/../../../../x86_64-pc-cygwin/bin/ld:
> cannot find -lstdc++

This is not a problem with your version of Make. The error message above
says when it's trying to link the antelope.exe program it needs to find
a copy of libstdc++.dll.a but the only one it can find is
"incompatible". If you look at the paths it's searching, it seems that
your compiler and libraries are 64-bit, but the '-m32' argument to g++
tells it you want to build a 32-bit binary, so the 64-bit version of
libstdc++.dll.a that it can find is not suitable.

Try changing your setting of the EPICS_HOST_ARCH variable to
cygwin-x86_64 instead of cygwin-x86 and I think this will clear up. You
might want to run 'make distclean' before you run 'make' again to delete
all the 32-bit .o files it built so far which you don't need.

HTH,

- Andrew


--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon


References:
antelope error in Windows 7 cygwin build of EPICS base 3.15.3 Ana Malagon
Re: antelope error in Windows 7 cygwin build of EPICS base 3.15.3 Andrew Johnson

Navigate by Date:
Prev: Re: antelope error in Windows 7 cygwin build of EPICS base 3.15.3 Andrew Johnson
Next: Re: Recommendation on a PCIe ADC board Jameson Graef Rollins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: antelope error in Windows 7 cygwin build of EPICS base 3.15.3 Andrew Johnson
Next: Required help about mobbus tcp module sajid hameed
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·