Experimental Physics and Industrial Control System
|
That error was removed back in 2009. You are using a very old
version of the alarm handler.
../force.c:1028:21: error: ‘YES’
undeclared
(first use in this function)
pforcePV->disabled=YES;
This can be changed to:
pforcePV->disabled=1;
Everything else just looks like warnings.
--Bob Soliday
On 11/27/13 06:08, Swati Soni2 wrote:
As suggested, I have installed
motif...but
again on compiling it shows this error:
../alLog.c: In function
‘filePrintf’:
../alLog.c:440:7: warning:
variable
‘status’ set but not used [-Wunused-but-set-variable]
int status;
^
../awAlh.c: In function
‘startDrag’:
../awAlh.c:472:5: warning:
variable
‘status’ set but not used [-Wunused-but-set-variable]
int status, n;
^
../awAlh.c: In function ‘drag’:
../awAlh.c:511:5: warning:
variable
‘stat’ set but not used [-Wunused-but-set-variable]
int stat;
^
../awView.c: In function
‘singleClickArrowGroupW_callback’:
../awView.c:297:21: warning:
variable
‘treeWindow’ set but not used [-Wunused-but-set-variable]
struct subWindow *treeWindow;
^
../axSubW.c: In function
‘exposeResizeCallback’:
../axSubW.c:396:12: warning:
variable
‘oldViewHeight’ set but not used [-Wunused-but-set-variable]
Dimension oldViewHeight;
^
../browser.c: In function
‘callBrowser’:
../browser.c:71:6: warning:
variable
‘status’ set but not used [-Wunused-but-set-variable]
int status;
^
../current.c: In function
‘currentAlarmHistoryWindow’:
../current.c:53:21: warning:
variable
‘title’ set but not used [-Wunused-but-set-variable]
Widget
popup_shell,title,button;
^
../dialog.c: In function
‘errMsg’:
../dialog.c:277:12: warning:
variable
‘len’ set but not used [-Wunused-but-set-variable]
size_t len;
^
../force.c: In function
‘alForcePVSetNotConnected’:
../force.c:985:19: warning:
variable
‘pcalc’ set but not used [-Wunused-but-set-variable]
FORCEPV_CALC* pcalc;
^
../force.c: In function
‘forcePVUpdateFields’:
../force.c:1028:21: error: ‘YES’
undeclared
(first use in this function)
pforcePV->disabled=YES;
^
../force.c:1028:21: note: each
undeclared
identifier is reported only once for each function it appears in
make[1]: *** [force.o] Error 1
make: *** [install.linux-x86_64]
Error
2
Thanks & Regards
Swati Soni
Hi Swati,
You may end up with several of these errors. Your best bet to
is
use yum to pick up the
appropriate libraries to which you will need to link. You will
need
the "devel" versions
so that you pick up the header files ".h". For this header
file, you will need openmotif.
As an example:
> yum list "*motif*"
will list what you have installed and what there is in the
repositories
to install
You should see openmotif-devel.i686 which is not installed.
> yum install openmotif-devel
This should take care of the first header file error.
Pierrick
On 11/27/2013 10:50 AM, Swati Soni2 wrote:
Thanks Janet..
But I was using alh_1_24 for Alarm handler for base 3.14.12.3.
I had created extension directory into which I copied the
content of alh_1_24
and renamed it as src as described in http://www.aps.anl.gov/epics/extensions/config/index.php
When I compiled it (by make on src), it got terminated ...fatal
error:
Xm/Xm.h :No such File or directory
Thanks & Regards
Swati Soni
The optional
ALARMHANDLER
environment variable should specify the directory where your
Alarm Handler
input configuration files reside and where the Alarm Handler
output log
files should be written. The
PATH environment variable should include
the
directory of the alarm handler executable.
Janet
From: [email protected]
[[email protected]]
on behalf of Swati Soni2 [[email protected]]
Sent: Tuesday, November 26, 2013 6:04 AM
To: [email protected]
Subject: Fw: Alarm Handler
Hi
I am using EPICS 3.14.12.3 on fedora..I want to install Alarm
handler extension.
Can anyone tell me how to set environment ?
I had used
setenv ALARMHANDLER
/<path name of alh1_3_31>
Bt it throws error commnad not found....Is there any other
command to get
it installed??
I am following http://www.aps.anl.gov/epics/EpicsDocumentation/ExtensionsManuals/AlarmHandler/alhUserGuide-1.2.33/ALHUserGuide.html
Thanks & Regards
Swati Soni
=====-----=====-----=====
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
--
"Whether you think you can or think you can't, either way, you
are
correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+44-(0)1235-44-5550 (RAL)
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-(0)79-48-860-197 (US/UK mobile)
|
- References:
- Fw: Alarm Handler Swati Soni2
- Navigate by Date:
- Prev:
Fw: Alarm Handler Swati Soni2
- Next:
RE: Alarm Handler Anderson, Janet B.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Fw: Alarm Handler Swati Soni2
- Next:
RE: Alarm Handler Anderson, Janet B.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|