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 2025 | 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 2025 |
<== 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 |
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