Yes, I saw it last week and Andrew Johnson came up with a patch which
works:
Here it is:
Index: medm/utils.c
===================================================================
RCS file:
/net/phoebus/epicsmgr/cvsroot/epics/extensions/src/medm/medm/utils.c,v
retrieving revision 1.134
diff -d -u -b -B -p -r1.134 utils.c
--- medm/utils.c 18 Nov 2008 17:52:32 -0000 1.134
+++ medm/utils.c 4 Feb 2009 16:58:35 -0000
@@ -4759,8 +4759,8 @@ void printWindowAttributes(Display *disp
char *getEventName(int type)
{
-#if LASTEvent != 35
-#error getEventType only works for LASTEvent=35 (See X.h)
+#if ((LASTEvent < 35) || (LASTEvent > 36))
+#error getEventType only works for LASTEvent=35 or 36 (See X.h)
#endif
/* These types are from X11/X.h */
static char *eventNames[LASTEvent+2]={
@@ -4799,6 +4799,9 @@ char *getEventName(int type)
"ColormapNotify",
"ClientMessage",
"MappingNotify",
+#if (LASTEvent == 36)
+ "GenericEvent",
+#endif
"LASTEvent",
"Unknown"
};
Mark
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dropp, Christopher
Sent: Friday, February 13, 2009 3:46 PM
To: [email protected]
Subject: compile error with medm 3.1.3 on fedora 10
Greetings,
I get the following error when trying to compile medm 3.1.3 on fedora
10:
../utils.c: In function 'parseAndExecCommand':
../utils.c:4288: warning: the address of 'command' will always evaluate
as 'true'
../utils.c:4763:2: error: #error getEventType only works for
LASTEvent=35 (See X.h)
Then it exits with 9 make statements. Has anyone seen this or tried
using medm 3.1.3 on f10?
Thanks in advance!!
Chris
Christopher Dropp
Biology Department
Brookhaven National Laboratory
Upton, NY 11973
Phone: 631-344-3421
Pager: 631-344-3456 pgr #: 7408
Fax: 631-344-2741
E-Mail: [email protected]
- References:
- compile error with medm 3.1.3 on fedora 10 Dropp, Christopher
- Navigate by Date:
- Prev:
compile error with medm 3.1.3 on fedora 10 Dropp, Christopher
- Next:
Re: compile error with medm 3.1.3 on fedora 10 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
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
compile error with medm 3.1.3 on fedora 10 Dropp, Christopher
- Next:
Re: compile error with medm 3.1.3 on fedora 10 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
2016
2017
2018
2019
2020
2021
2022
2023
2024
|