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  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: RE: No rule to make target '../../../lib/linux-x86_64/libstream.a' error.
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Peter Pitfield <pitfieldp at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 21 Sep 2023 19:21:36 +0000

Hi Peter,

 

  • I fixed this error by commenting out the line CALC=$(SUPPORT)/calc-3-7-4 in asyn/configure/RELEASE.

 

That is the correct way to fix that.

 

  • However, I am now receiving the error 'vxi11core.h:9:10: fatal error: rpc/rpc.h: No such file or directory' instead, and I do not know how to fix it.

 

You need to edit asyn/configure/CONFIG_SITE and uncomment this line:

# TIRPC=YES

 

Mark

 

 

 

From: Peter Pitfield <pitfieldp at gmail.com>
Sent: Thursday, September 21, 2023 1:45 PM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: No rule to make target '../../../lib/linux-x86_64/libstream.a' error.

 

Thank you for the quick reply.

 

Here is the Getting Started walkthrough:

 

I realize this could have been caused by the error 'sCalcoutRecord.h: No such file or directory' when I try to build the asyn library, since it seems like the asyn library had not been built properly when I tried to build the stream library.

I fixed this error by commenting out the line CALC=$(SUPPORT)/calc-3-7-4 in asyn/configure/RELEASE.

However, I am now receiving the error 'vxi11core.h:9:10: fatal error: rpc/rpc.h: No such file or directory' instead, and I do not know how to fix it.

 

Thank you for helping,

Peter

 

On Thu, Sep 21, 2023 at 11:04 AM Mark Rivers <rivers at cars.uchicago.edu> wrote:

Hi Peter,

 

That error means that the build system could not find the stream library.  From the -I in the g++ command it looks like you have defined the location of stream as /home/raphael/EPICS/support/stream/StreamDevice in your configure/RELEASE file.  Is there a libstream.so in /home/raphael/EPICS/support/stream/StreamDevice/lib/linux-x86_64?  If not then perhaps you have not built stream yet or you have specified the wrong path in configure/RELEASE?

 

The name of your IOC sounds like you may be using LabJack devices.  If so you may be interested to know that there is an EPICS LabJack module with pretty complete support for the T4, T7, T7-PRO, and T8.

https://github.com/epics-modules/labjack

 

Can you send a more exact URL to the Getting Started walkthrough?  I didn’t see if browsing epics-controls.org.

 

Cheers,

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Peter Pitfield via Tech-talk
Sent: Thursday, September 21, 2023 12:39 PM
To: tech-talk at aps.anl.gov
Subject: No rule to make target '../../../lib/linux-x86_64/libstream.a' error.

 

Hello everyone,


I'm a new user to EPICS, and an undergraduate student in math and physics. I'm using Ubuntu 22 and have installed epics. I'm attempting to add the stream and asyn packages using the Getting Started walkthrough on epics-controls.org. I am getting the error in the subject line. The full error message looks like this:

/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE        -DUSE_TYPED_RSET  -D_X86_64_ -DUNIX  -Dlinux      -O3 -g   -Wall      -mtune=generic     -m64  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/home/raphael/EPICS/support/asyn/include   -I/home/raphael/EPICS/support/stream/StreamDevice/include -I/home/raphael/EPICS/epics-base/include/compiler/gcc -I/home/raphael/EPICS/epics-base/include/os/Linux -I/home/raphael/EPICS/epics-base/include        -c ../labjackIOCMain.cpp
make[3]: *** No rule to make target '../../../lib/linux-x86_64/libstream.a', needed by 'labjackIOC'.  Stop.
make[3]: Leaving directory '/home/raphael/EPICS/IOCs/labjackIOC/labjackIOCApp/src/O.linux-x86_64'
make[2]: *** [/home/raphael/EPICS/epics-base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[2]: Leaving directory '/home/raphael/EPICS/IOCs/labjackIOC/labjackIOCApp/src'
make[1]: *** [/home/raphael/EPICS/epics-base/configure/RULES_DIRS:85: src.install] Error 2
make[1]: Leaving directory '/home/raphael/EPICS/IOCs/labjackIOC/labjackIOCApp'
make: *** [/home/raphael/EPICS/epics-base/configure/RULES_DIRS:85: labjackIOCApp.install] Error 2

Thank you so much for your help.

Peter


References:
No rule to make target '../../../lib/linux-x86_64/libstream.a' error. Peter Pitfield via Tech-talk
RE: No rule to make target '../../../lib/linux-x86_64/libstream.a' error. Mark Rivers via Tech-talk
Re: No rule to make target '../../../lib/linux-x86_64/libstream.a' error. Peter Pitfield via Tech-talk

Navigate by Date:
Prev: Re: No rule to make target '../../../lib/linux-x86_64/libstream.a' error. Peter Pitfield via Tech-talk
Next: RE: Help to ADCore 3.12.1 with RIXSCam IOC and PluginXIP Mark Rivers via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: Re: No rule to make target '../../../lib/linux-x86_64/libstream.a' error. Peter Pitfield via Tech-talk
Next: Strange error in EPICS client program Jörn Dreyer via Tech-talk
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  <20232024 
ANJ, 22 Sep 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·