EPICS Home

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  2016  <20172018  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  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: motor module compile problems
From: Jörn Dreyer <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 08 Nov 2017 15:12:50 +0100
Hi,

I have had some trouble compiling the motor module (from git) on a openSuSE 
Tumbleweed system with gcc 7.2.1. It fails in all motor drivers at the calls 
of send_message where the last parameter is passed as (char) NULL. But in the 
definition of send_message the last parameter is defined as char*.
What would be the correct fix for this? One could
1. modify all calls to send_message(..,..,(char) NULL) to 
send_message(..,..,(char*) NULL), or
2. modify the definition of send_message(..,..,char*)to 
send_message(..,..,char), but then other calls may fail.

I chose  the first solution to get it compiled.  If needed I can send a patch 
file to correct all necessary lines.

Regards,

Jörn



Replies:
RE: motor module compile problems Mark Rivers

Navigate by Date:
Prev: Re: caLab and real time os Luca Cavalli
Next: RE: motor module compile problems Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: caLab and real time os Mazanec Tomáš
Next: RE: motor module compile problems Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024