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: asyn build on cygwin fails
From: Ana Malagon <[email protected]>
To: "Johnson, Andrew N." <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 25 May 2016 14:19:59 -0700
Ack - here is the error message from gcc

g++ -o testGpib.exe -static -L/cygdrive/c/Users/admx/epics/modules/asyn4-28/lib/          cygwin-x86_64 -L/cygdrive/c/Users/admx/epics/base-3.15.1/lib/cygwin-x86_64                -m64               testGpib_registerRecordDeviceDriver.o testGpibMain.o    -ldev          TestGpib -ltestSupport -lasyn -ldbRecStd -ldbCore -lca -lCom  -ltirpc -lpthread              -lm
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/../../../../x86_64-pc-cygwin/bin/ld: cannot           find -ltirpc
collect2: error: ld returned 1 exit status
/cygdrive/c/Users/admx/epics/base-3.15.1/configure/RULES_BUILD:192: recipe for t          arget 'testGpib.exe' failed
make[3]: *** [testGpib.exe] Error 1
make[3]: Leaving directory '/cygdrive/c/Users/admx/epics/modules/asyn4-28/testGp          ibApp/src/O.cygwin-x86_64'
/cygdrive/c/Users/admx/epics/base-3.15.1/configure/RULES_ARCHS:56: recipe for ta          rget 'install.cygwin-x86_64' failed
make[2]: *** [install.cygwin-x86_64] Error 2
make[2]: Leaving directory '/cygdrive/c/Users/admx/epics/modules/asyn4-28/testGp          ibApp/src'
/cygdrive/c/Users/admx/epics/base-3.15.1/configure/RULES_DIRS:72: recipe for tar          get 'src.install' failed
make[1]: *** [src.install] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/admx/epics/modules/asyn4-28/testGp          ibApp'
/cygdrive/c/Users/admx/epics/base-3.15.1/configure/RULES_DIRS:72: recipe for tar          get 'testGpibApp.install' failed
make: *** [testGpibApp.install] Error 2

I completely missed the line about not finding tirpc before! Thanks Andrew :)

But I've already installed tirpc, so not sure what to do next...anyone have thoughts on what's going on?

Thanks,

Ana

On Wed, May 25, 2016 at 12:18 AM, Johnson, Andrew N. <[email protected]> wrote:
Hi Ana,

Unfortunately you didn't include the error message from gcc in your message, we need to see the errors reported immediately above where you started quoting the build output to provide much help with your problem.

- Andrew

-- 
Sent from my iPad

On May 25, 2016, at 1:53 AM, Ana Malagon <[email protected]> wrote:

Hi all,

I am working on a Windows 7 system and using Cygwin 2.874 and Base 3.15.1 - everything's worked so far but when I try to install Asyn 4-28 the build fails with the following error message:

make[3]: *** [testGpib.exe] Error 1
make[3]: Leaving directory '/cygdrive/c/Users/admx/epics/modules/asyn4-28/testGpibApp/src/O.cygwin-x86_64'
/cygdrive/c/Users/admx/epics/base-3.15.1/configure/RULES_ARCHS:56: recipe for target 'install.cygwin-x86_64' failed
make[2]: *** [install.cygwin-x86_64] Error 2
make[2]: Leaving directory '/cygdrive/c/Users/admx/epics/modules/asyn4-28/testGpibApp/src'
/cygdrive/c/Users/admx/epics/base-3.15.1/configure/RULES_DIRS:72: recipe for target 'src.install' failed
make[1]: *** [src.install] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/admx/epics/modules/asyn4-28/testGpibApp'
/cygdrive/c/Users/admx/epics/base-3.15.1/configure/RULES_DIRS:72: recipe for target 'testGpibApp.install' failed
make: *** [testGpibApp.install] Error 2

To get to this point I built base with CONFIG_SITE having the following parameters:

SHARED_LIBRARIES=NO
STATIC_BUILD=YES

as suggested by this post, and made sure all available rpc libraries were installed with the Cygwin package manager (to get rid of an error saying rpc/rpc.h: file or directory not found). Has anyone seen an error message with asyn involving testGpib before, or know what I'm doing wrong?

Thanks,

Ana


Replies:
RE: asyn build on cygwin fails freddie.akeroyd
References:
asyn build on cygwin fails Ana Malagon
Re: asyn build on cygwin fails Johnson, Andrew N.

Navigate by Date:
Prev: RE: EPICS meeting : HW platform support discussion group Mooney, Tim M.
Next: asyn: what if a driver wants to force callbacks? Ford, Christopher
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: asyn build on cygwin fails Johnson, Andrew N.
Next: RE: asyn build on cygwin fails freddie.akeroyd
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 ·