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

Subject: RE: Rename "sncExample.stt" in EPICS example
From: Mark Rivers <[email protected]>
To: Ganesh Jangir <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 21 Jan 2014 14:07:00 +0000
Hi Ganesh,

You should not edit any files in the bin/linux-x86_64, O.linux-x86_64, or O.Common directories.  Those are all created for you when you run make, and you should never edit them by hand.

If you have a file calles sncExample2.stt and that file is included in your Makefile it should work.

When I look at your compiler output:

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3 -g   -Wall      -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include  -I/home/GMRT/Desktop/epics/base-3.14.12.3/../extensions/soft/seq/include -I/home/GMRT/Desktop/epics/base-3.14.12.3/include/os/Linux -I/home/GMRT/Desktop/epics/base-3.14.12.3/include       ../initTrace.c

it does not seem to be including anything from the "SNCSEQ" module.  This suggests that you have forgotten to add the path to the "SNCSEQ" module to your application configure/RELEASE file.  Please make sure that line is there, something like:

Please type the following at the top level of your application:

make clean uninstall
make

Mark




________________________________
From: [email protected] [[email protected]] on behalf of Ganesh Jangir [[email protected]]
Sent: Tuesday, January 21, 2014 7:46 AM
To: [email protected]
Subject: Rename "sncExample.stt" in EPICS example

Dear All,

I am using the the name "sncExample.stt" for my sequencer program code. When  I tried with different name "sncExample2.stt", its showing following errors during make.
----------------------------------------------------
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3 -g   -Wall      -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include  -I/home/GMRT/Desktop/epics/base-3.14.12.3/../extensions/soft/seq/include -I/home/GMRT/Desktop/epics/base-3.14.12.3/include/os/Linux -I/home/GMRT/Desktop/epics/base-3.14.12.3/include       ../initTrace.c
make[3]: *** No rule to make target `sncExample2.o', needed by `libseq_1Support.a'.  Stop.
make[3]: Leaving directory `/home/GMRT/EPICS/sequencer/BackUp/seq_4_led.3_Different Name/seq_1App/src/O.linux-x86_64'
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory `/home/GMRT/EPICS/sequencer/BackUp/seq_4_led.3_Different Name/seq_1App/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `/home/GMRT/EPICS/sequencer/BackUp/seq_4_led.3_Different Name/seq_1App'
make: *** [seq_1App.install] Error 2
-----------------------------------------------------------

I have updated the new file name "sncExample2.stt" in following files before running make.
./seq_1App/src/Makefile
./iocBoot/iocseq_1/st.cmd
./bin/linux-x86_64/seq_1
./bin/linux-x86_64/sncProgram
./seq_1App/src/O.linux-x86_64/seq_1.dbd.d
./seq_1App/src/sncProgram2.st
./seq_1App/src/sncExample2.dbd
./seq_1App/src/sncExampl2.stt
./seq_1App/src/O.Common/seq_1Include.dbd
./seq_1App/src/O.Common/seq_1.dbd
./dbd/seq_1.dbd

Also may I know the way to compile the .stt  file and run it explicitly. Presently I have to remake whole EPICS example after editing .stt file and running again EPICS example.

Please help.

Thanks and Regards

Ganesh Jangir


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


References:
Rename "sncExample.stt" in EPICS example Ganesh Jangir

Navigate by Date:
Prev: Rename "sncExample.stt" in EPICS example Ganesh Jangir
Next: DLS EtherCAT scanner and unmatched datagrams [SEC=UNCLASSIFIED] LYNCH, Damien
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Rename "sncExample.stt" in EPICS example Ganesh Jangir
Next: DLS EtherCAT scanner and unmatched datagrams [SEC=UNCLASSIFIED] LYNCH, Damien
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·