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  <20092010  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  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: compile error with medm 3.1.3 on fedora 10
From: "Dropp, Christopher" <[email protected]>
To: "Andrew Johnson" <[email protected]>
Cc: [email protected]
Date: Thu, 19 Feb 2009 11:48:52 -0500
Greetings,

After patching the 'correct' utils.c file it compiled without a hitch...Many Thanks!

Hope you have a great day!

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]



-----Original Message-----
From: Andrew Johnson [mailto:[email protected]]
Sent: Fri 2/13/2009 4:02 PM
To: [email protected]
Cc: Dropp, Christopher
Subject: Re: compile error with medm 3.1.3 on fedora 10
 
Hi Chris,

On Friday 13 February 2009 15:46:02 Dropp, Christopher wrote:
>
> 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?

Yes, the X.org guys added a new event type, for the first time since almost 
never.  Apply the attached patch to the medm/utils.c file to get something 
that builds on both old and new versions of X11.

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harold Welte



References:
compile error with medm 3.1.3 on fedora 10 Dropp, Christopher
Re: compile error with medm 3.1.3 on fedora 10 Andrew Johnson

Navigate by Date:
Prev: Re: cap5 Perl library Andrew Johnson
Next: Diamond software releases Cobb, TM (Tom)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: compile error with medm 3.1.3 on fedora 10 Andrew Johnson
Next: Re: compile error with medm 3.1.3 on fedora 10 J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·