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: SNCSEQ error when making MakeBaseApp.pl
From: Saeed Haghtalab <[email protected]>
To: [email protected]
Date: Sun, 2 Oct 2016 16:48:38 +0330
Hi all,

I want to create an App using makeBaseApp.pl but I faced the following error:


ilsfcontrol@ILSF-IPM:~/Desktop/test$ makeBaseApp.pl -t example test
ilsfcontrol@ILSF-IPM:~/Desktop/test$ makeBaseApp.pl -t example -i test
Using target architecture linux-x86_64 (only one available)
The following applications are available:
    test
What application should the IOC(s) boot?
The default uses the IOC's name, even if not listed above.
Application name?
ilsfcontrol@ILSF-IPM:~/Desktop/test$ make
make -C ./configure install
make[1]: Entering directory `/home/ilsfcontrol/Desktop/test/configure'
perl /opt/epics/base-3.14.12.5/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
        T_A=linux-x86_64 install
make[2]: Entering directory `/home/ilsfcontrol/Desktop/test/configure/O.linux-x86_64'
perl /opt/epics/base-3.14.12.5/bin/linux-x86_64/convertRelease.pl checkRelease
make[2]: Leaving directory `/home/ilsfcontrol/Desktop/test/configure/O.linux-x86_64'
make[1]: Leaving directory `/home/ilsfcontrol/Desktop/test/configure'
make -C ./testApp install
make[1]: Entering directory `/home/ilsfcontrol/Desktop/test/testApp'
make -C ./src install
make[2]: Entering directory `/home/ilsfcontrol/Desktop/test/testApp/src'
perl /opt/epics/base-3.14.12.5/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
        T_A=linux-x86_64 install
make[3]: Entering directory `/home/ilsfcontrol/Desktop/test/testApp/src/O.linux-x86_64'
perl /opt/epics/base-3.14.12.5/bin/linux-x86_64/makeIncludeDbd.pl base.dbd xxxSupport.dbd dbSubExample.dbd testHello.dbd initTrace.dbd sncExample.dbd testInclude.dbd
echo "../O.Common/testInclude.dbd : ../Makefile" >> test.dbd.d
Expanding dbd
Installing dbd file ../../../dbd/xxxSupport.dbd
mkdir ../../../dbd
Installing created dbd file ../../../dbd/test.dbd
Installing dbd file ../../../dbd/xxxRecord.dbd
echo "../O.Common/xxxRecord.h : ../Makefile" >> xxxRecord.h.d
/opt/epics/base-3.14.12.5/bin/linux-x86_64/dbToRecordtypeH   -I. -I.. -I../O.Common -I../../../dbd -I/opt/epics/base-3.14.12.5/dbd ../xxxRecord.dbd xxxRecord.h
Installing generated generic include file ../../../include/xxxRecord.h
mkdir ../../../include

/usr/bin/gcc -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include -I/opt/epics/base-3.14.12.5/include/os/Linux -I/opt/epics/base-3.14.12.5/include        ../xxxRecord.c

/usr/bin/gcc -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include -I/opt/epics/base-3.14.12.5/include/os/Linux -I/opt/epics/base-3.14.12.5/include        ../devXxxSoft.c

/usr/bin/gcc -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include -I/opt/epics/base-3.14.12.5/include/os/Linux -I/opt/epics/base-3.14.12.5/include        ../dbSubExample.c

/usr/bin/gcc -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include -I/opt/epics/base-3.14.12.5/include/os/Linux -I/opt/epics/base-3.14.12.5/include        ../testHello.c

/usr/bin/gcc -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include -I/opt/epics/base-3.14.12.5/include/os/Linux -I/opt/epics/base-3.14.12.5/include        ../initTrace.c
make[3]: *** No rule to make target `sncExample.o', needed by `libtestSupport.a'.  Stop.
make[3]: Leaving directory `/home/ilsfcontrol/Desktop/test/testApp/src/O.linux-x86_64'
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory `/home/ilsfcontrol/Desktop/test/testApp/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `/home/ilsfcontrol/Desktop/test/testApp'
make: *** [testApp.install] Error 2


whenever I delete the SNCSEQ environment variable using 'unset SNCSEQ' or also if I comment out the following lines in ./testApp/src/MakeFile it can be compiled successfuly, but I don't know the reason.

ifneq ($(SNCSEQ),)
    # Build sncExample into testSupport
    sncExample_SNCFLAGS += +r
    test_DBD += sncExample.dbd
    testSupport_SRCS += sncExample.stt
    testSupport_LIBS += seq pv
    test_LIBS += seq pv

    # Build sncProgram as a standalone program
    PROD_HOST += sncProgram
    sncProgram_SNCFLAGS += +m
    sncProgram_SRCS += sncProgram.st
    sncProgram_LIBS += seq pv
    sncProgram_LIBS += $(EPICS_BASE_HOST_LIBS)
endif

It should be noticed that I didn’t want to use the sequencer so, both SNCSEQ in configure/RELEASE and 'seq sncExample,' line in st.cmd were commented out.
Any help is really appreciated.
Saeed

Replies:
Re: SNCSEQ error when making MakeBaseApp.pl Andrew Johnson

Navigate by Date:
Prev: Re: HTTP access to control systems screens Maren Purves
Next: EPICS MODULE palak shimpee
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: CSS gets freeze while running a script Matt Newville
Next: Re: SNCSEQ error when making MakeBaseApp.pl Andrew Johnson
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, 03 Oct 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·