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