EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: vxStats
From: liushu <[email protected]>
To: [email protected]
Date: Sun, 15 Jan 2006 18:24:37 +0800
Hi :
    I have downloaded vxStats-SNS from Epics soft links,but I found I can't 
use it for it needs configuration instead of config in Epics base.My Epics 
base version is 3.13.8. Can the vxStats-SNS work with base 3.13.8?
    I want to know how to use vxstats.Is is an application that what you need 
to do is just build it and then download it's database to IOC and use its 
medm or edm GUIs?Is it so simple?May I need to make a new application?If I 
create a new application and what to know the IOC status,what shall I do?
     Now I got a older version vxStats313 from 
http://ics-web1.sns.ornl.gov/share/vxStats313.tar.gz,which can work with base 
3.13.5. I did following to try to use it with my IOC:
    1)I edited Makefile in the top directory to point out EPICS_BASE.
    2)I edited config/CONFIG,added CROSS_COMPILER_TARGET_ARCHS=ppc604_long
    3)edited config/RELEASE,commented out EPICS_BASE for I have definded it 
above in Makefile.And added VX_STATS=/path/to/vxstats
    4)edited src/Makefile.Vx,added LIBOBJS 
+=$(VX_STATS)/bin/ppc604_long/vxStatsLib
    5)Then I gmake it,but I got errors,the result is below:
gmake -C vxStatsApp buildInstall
......
gmake[3]: Entering directory 
`/home/liushu/epicsinstall/vxStats/vxStats/vxStatsApp/src/O.Linux'
../../../config/RULES.Db:159: warning: overriding commands for target 
`vxStats.dbd'
/home/liushu/epicsinstall/base3.13.8/base/config/RULES.Host:723: warning: 
ignoring old commands for target `vxStats.dbd'
Making template database dependencies
...
gmake[3]: Entering directory 
`/home/liushu/epicsinstall/vxStats/vxStats/vxStatsApp/src/O.Linux'
../../../config/RULES.Db:159: warning: overriding commands for target 
`vxStats.dbd'
/home/liushu/epicsinstall/base3.13.8/base/config/RULES.Host:723: warning: 
ignoring old commands for target `vxStats.dbd'
gcc -pedantic    -O  -Wall   -D_X86_ -Dlinux   -DUNIX -I. -I..  
-I../../../include -I../../../include/os/Linux 
-I/home/liushu/epicsinstall/base3.13.8/base/include/os/Linux 
-I/home/liushu/epicsinstall/base3.13.8/base/include   -c   ../BSlib.c
../BSlib.c: In function `BSreadUDP':
../BSlib.c:793: warning: pointer targets in passing arg 6 of `recvfrom' differ 
in signedness
../BSlib.c: In function `BStransUDP':
../BSlib.c:890: warning: pointer targets in passing arg 6 of `recvfrom' differ 
in signedness
../BSlib.c: In function `BSgetBroadcastAddr':
../BSlib.c:973: warning: implicit declaration of function `ioctl'
rm -f libBSlib.a
ar -rc libBSlib.a BSlib.o
ranlib -t libBSlib.a;
Installing library ../../../lib/Linux/libBSlib.a
mkdir ../../../lib
mkdir ../../../lib/Linux
ranlib -t  ../../../lib/Linux/libBSlib.a
gcc -pedantic    -O  -Wall   -D_X86_ -Dlinux   -DUNIX -I. -I..  
-I../../../include -I../../../include/os/Linux 
-I/home/liushu/epicsinstall/base3.13.8/base/include/os/Linux 
-I/home/liushu/epicsinstall/base3.13.8/base/include   -c   ../ioc_stats.c
../ioc_stats.c: In function `read_data':
../ioc_stats.c:31: warning: unused variable `i'
......
-I/home/liushu/epicsinstall/base3.13.8/base/include   -c   ../rdbapplist.c
../rdbapplist.c: In function `read_pvs':
../rdbapplist.c:39: warning: unused variable `i'
......
Expanding dbd
msi -I .. -I /home/liushu/epicsinstall/base3.13.8/base/dbd 
../vxStatsInclude.dbd > vxStats.dbd
/bin/sh: line 1: msi: command not found
gmake[3]: *** [vxStats.dbd] Error 127
gmake[3]: Leaving directory 
`/home/liushu/epicsinstall/vxStats/vxStats/vxStatsApp/src/O.Linux'
gmake[2]: *** [buildInstall.Linux] Error 2
gmake[2]: Leaving directory 
`/home/liushu/epicsinstall/vxStats/vxStats/vxStatsApp/src'
gmake[1]: *** [src.buildInstall] Error 2
gmake[1]: Leaving directory 
`/home/liushu/epicsinstall/vxStats/vxStats/vxStatsApp'
gmake: *** [vxStatsApp.buildInstall] Error 2

    Can you tell me how to resolve these errors and warnings?
    And in the README of the software it's said that" In your main 
application's dbd file,include the DBD description:include "vxStats.dbd"".I'm 
not clear that what's "main application's dbd file" and where to add the 
include description.
    Thank you very much!Hope you can help me!

Best regards
Liushu
IHEP


Replies:
Re: vxStats Kay-Uwe Kasemir

Navigate by Date:
Prev: vxstats for Epics 3.13.8 liushu
Next: Re: vxStats Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: vxStats Benjamin Franksen
Next: Re: vxStats Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·