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: No rule to make target '../../../lib/linux-x86_64/libstream.a' error. |
From: | Peter Pitfield via Tech-talk <tech-talk at aps.anl.gov> |
To: | Mark Rivers <rivers at cars.uchicago.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 21 Sep 2023 11:45:04 -0700 |
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