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: RE: error when i do as howtodoserial_stramdevice.html said
From: Mark Rivers <[email protected]>
To: "'l123173'" <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 6 Jul 2016 16:08:13 +0000

I just tried to reproduce your problem.

 

I built base-3.15.3, asyn 4-28 and stream (tag synApps_5_8).

 

I then followed the instructions here: http://www.aps.anl.gov/epics/modules/soft/asyn/R4-29/HowToDoSerial/HowToDoSerial_StreamDevice.html

 

It worked fine except for one thing.  I needed to change these lines in HPE3631ASup/Makefile:

 

DB_INSTALLS += devHPE3631A.db

DB_INSTALLS += $(TOP)/HPE3631ASup/devHPE3631A.proto

 

to

 

DB += devHPE3631A.db

DB += $(TOP)/HPE3631ASup/devHPE3631A.proto

 

This is the output when I run make in the example HPE3631A directory created following the instructions above.

 

corvette:~/scratch/HPE3631A>make

make -C ./configure install

make[1]: Entering directory `/home/epics/scratch/HPE3631A/configure'

perl -CSD /usr/local/epics/base-3.15.3/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/epics/scratch/HPE3631A/configure/O.linux-x86_64'

perl -CSD /usr/local/epics/base-3.15.3/bin/linux-x86_64/convertRelease.pl checkRelease

make[2]: Leaving directory `/home/epics/scratch/HPE3631A/configure/O.linux-x86_64'

make[1]: Leaving directory `/home/epics/scratch/HPE3631A/configure'

make -C ./HPE3631ASup install

make[1]: Entering directory `/home/epics/scratch/HPE3631A/HPE3631ASup'

perl -CSD /usr/local/epics/base-3.15.3/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/epics/scratch/HPE3631A/HPE3631ASup/O.linux-x86_64'

make[2]: Nothing to be done for `install'.

make[2]: Leaving directory `/home/epics/scratch/HPE3631A/HPE3631ASup/O.linux-x86_64'

make[1]: Leaving directory `/home/epics/scratch/HPE3631A/HPE3631ASup'

make -C ./HPE3631AtestApp install

make[1]: Entering directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp'

make -C ./src install

make[2]: Entering directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp/src'

perl -CSD /usr/local/epics/base-3.15.3/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/epics/scratch/HPE3631A/HPE3631AtestApp/src/O.linux-x86_64'

/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -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/epics/scratch/asyn/include   -I/home/epics/scratch/stream/include -I/usr/local/epics/base-3.15.3/include/compiler/gcc -I/usr/local/epics/base-3.15.3/include/os/Linux -I/usr/local/epics/base-3.15.3/include        -MM -MF HPE3631AtestMain.d  ../HPE3631AtestMain.cpp

Creating dbd file HPE3631Atest.dbd

perl -CSD /usr/local/epics/base-3.15.3/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -I/home/epics/scratch/asyn/dbd -I/home/epics/scratch/stream/dbd -I/usr/local/epics/base-3.15.3/dbd -o HPE3631Atest.dbd base.dbd stream.dbd asyn.dbd drvAsynSerialPort.dbd

perl -CSD /usr/local/epics/base-3.15.3/bin/linux-x86_64/registerRecordDeviceDriver.pl   -I. -I.. -I../O.Common -I../../../dbd -I/home/epics/scratch/asyn/dbd -I/home/epics/scratch/stream/dbd -I/usr/local/epics/base-3.15.3/dbd    -o HPE3631Atest_registerRecordDeviceDriver.cpp ../O.Common/HPE3631Atest.dbd HPE3631Atest_registerRecordDeviceDriver /home/epics/scratch/HPE3631A

/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -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/epics/scratch/asyn/include   -I/home/epics/scratch/stream/include -I/usr/local/epics/base-3.15.3/include/compiler/gcc -I/usr/local/epics/base-3.15.3/include/os/Linux -I/usr/local/epics/base-3.15.3/include        -MM -MF HPE3631Atest_registerRecordDeviceDriver.d  HPE3631Atest_registerRecordDeviceDriver.cpp

make[3]: Leaving directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp/src/O.linux-x86_64'

make[3]: Entering directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp/src/O.linux-x86_64'

Installing created dbd file ../../../dbd/HPE3631Atest.dbd

/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -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/epics/scratch/asyn/include   -I/home/epics/scratch/stream/include -I/usr/local/epics/base-3.15.3/include/compiler/gcc -I/usr/local/epics/base-3.15.3/include/os/Linux -I/usr/local/epics/base-3.15.3/include        -c HPE3631Atest_registerRecordDeviceDriver.cpp

/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -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/epics/scratch/asyn/include   -I/home/epics/scratch/stream/include -I/usr/local/epics/base-3.15.3/include/compiler/gcc -I/usr/local/epics/base-3.15.3/include/os/Linux -I/usr/local/epics/base-3.15.3/include        -c ../HPE3631AtestMain.cpp

/usr/bin/g++ -o HPE3631Atest  -L/home/epics/scratch/asyn/lib/linux-x86_64 -L/home/epics/scratch/stream/lib/linux-x86_64 -L/usr/local/epics/base-3.15.3/lib/linux-x86_64 -Wl,-rpath,/home/epics/scratch/asyn/lib/linux-x86_64 -Wl,-rpath,/home/epics/scratch/stream/lib/linux-x86_64 -Wl,-rpath,/usr/local/epics/base-3.15.3/lib/linux-x86_64           -rdynamic -m64            HPE3631Atest_registerRecordDeviceDriver.o HPE3631AtestMain.o    -ldbRecStd -ldbCore -lca -lCom -lstream -lasyn  

Installing created executable ../../../bin/linux-x86_64/HPE3631Atest

make[3]: Leaving directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp/src/O.linux-x86_64'

make[2]: Leaving directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp/src'

make -C ./Db install

make[2]: Entering directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp/Db'

perl -CSD /usr/local/epics/base-3.15.3/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/epics/scratch/HPE3631A/HPE3631AtestApp/Db/O.linux-x86_64'

make[3]: Nothing to be done for `install'.

make[3]: Leaving directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp/Db/O.linux-x86_64'

make[2]: Leaving directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp/Db'

make[1]: Leaving directory `/home/epics/scratch/HPE3631A/HPE3631AtestApp'

make -C ./iocBoot install

make[1]: Entering directory `/home/epics/scratch/HPE3631A/iocBoot'

make -C ./iocHPE3631Atest install

make[2]: Entering directory `/home/epics/scratch/HPE3631A/iocBoot/iocHPE3631Atest'

perl -CSD /usr/local/epics/base-3.15.3/bin/linux-x86_64/convertRelease.pl -a linux-x86_64 -t /home/epics/scratch/HPE3631A envPaths

make[2]: Leaving directory `/home/epics/scratch/HPE3631A/iocBoot/iocHPE3631Atest'

make[1]: Leaving directory `/home/epics/scratch/HPE3631A/iocBoot'

corvette:~/scratch/HPE3631A>

 

It seems to me that you must have made a typo or some other error.

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of l123173
Sent: Wednesday, July 06, 2016 7:38 AM
To: [email protected]
Subject: error when i do as howtodoserial_stramdevice.html said

 

Hi all,
     I used base3.15.3, synApps_5_8, Fedora 23 (64) for epics.
     I want to do the serial control as HowToDoSerial_StreamDevice.html  in the ASYN document directory.
     I try to do it as the tutorial(  howto do serail_streamdevce.html ) said. But I failed and again and again.
     The same error  and I think it is beyond what I know.
     Could you tell me how to fix it?

Thanks,
Regards
Li Xing    

Here is the information.
***************************
[root@bogon kohzu2]# make

/opt/epics/base/configure/RULES_DIRS:87: target 'configure.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.inc.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.build.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.install.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.buildInstall.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.clean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.realclean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.archclean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.runtests.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'configure.tapfiles.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.inc.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.build.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.install.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.buildInstall.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.clean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.realclean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.archclean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.runtests.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUSup.tapfiles.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.inc.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.build.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.install.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.buildInstall.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.clean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.realclean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.archclean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.runtests.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'KOHZUApp.tapfiles.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.inc.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.build.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.install.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.buildInstall.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.clean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.realclean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.archclean.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.runtests.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_DIRS:87: target 'iocBoot.tapfiles.linux-x86_64' given more than once in the same rule
make -C ./configure install
make[1]: Entering directory '/home/lyx/kohzu2/configure'
/opt/epics/base/configure/RULES_ARCHS:60: target 'inc.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'build.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'install.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'buildInstall.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'runtests.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'tapfiles.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:64: target 'linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:69: target 'O.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:85: target 'clean.linux-x86_64' given more than once in the same rule
perl -CSD /opt/epics/base/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make[1]: Circular install.linux-x86_64 <- install.linux-x86_64 dependency dropped.
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory '/home/lyx/kohzu2/configure/O.linux-x86_64'
perl -CSD /opt/epics/base/bin/linux-x86_64/convertRelease.pl checkRelease
make[2]: Leaving directory '/home/lyx/kohzu2/configure/O.linux-x86_64'
make[1]: Leaving directory '/home/lyx/kohzu2/configure'
make -C ./KOHZUSup install
make[1]: Entering directory '/home/lyx/kohzu2/KOHZUSup'
/opt/epics/base/configure/RULES_ARCHS:60: target 'inc.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'build.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'install.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'buildInstall.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'runtests.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:60: target 'tapfiles.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:64: target 'linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:69: target 'O.linux-x86_64' given more than once in the same rule
/opt/epics/base/configure/RULES_ARCHS:85: target 'clean.linux-x86_64' given more than once in the same rule
perl -CSD /opt/epics/base/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make[1]: Circular install.linux-x86_64 <- install.linux-x86_64 dependency dropped.
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory '/home/lyx/kohzu2/KOHZUSup/O.linux-x86_64'
make[2]: *** No rule to make target 'devKOHZU.db', needed by '../../db/devKOHZU.db'.  Stop.
make[2]: Leaving directory '/home/lyx/kohzu2/KOHZUSup/O.linux-x86_64'
/opt/epics/base/configure/RULES_ARCHS:61: recipe for target 'install.linux-x86_64' failed
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory '/home/lyx/kohzu2/KOHZUSup'
/opt/epics/base/configure/RULES_DIRS:88: recipe for target 'KOHZUSup.install' failed
make: *** [KOHZUSup.install] Error 2
[root@bogon kohzu2]#  Entering directory '/home/lyx/kohzu2/configure'
bash: Entering: command not found...
[root@bogon kohzu2]# /opt/epics/base/confi Entering directory '/home/lyx/kohzu2/configure'
bash: /opt/epics/base/confi: No such file or directory

 

 


References:
error when i do as howtodoserial_stramdevice.html said l123173

Navigate by Date:
Prev: error when i do as howtodoserial_stramdevice.html said l123173
Next: Unreachable code in makeBaseApp.pl? Stephen Molloy
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: error when i do as howtodoserial_stramdevice.html said l123173
Next: Unreachable code in makeBaseApp.pl? Stephen Molloy
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, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·