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: synApps_5_8 compilation error
From: Mrinal Kanti Bera <[email protected]>
To: [email protected]
Date: Tue, 21 Nov 2017 10:00:19 -0600

Hi,

I am trying to compile synApps_5_8 with epics_base (base-2.14.12.6). I am getting the following error which is coming from the compilation of motor module I think.

/usr/bin/g++ -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include    -I/home/mrinal/Downloads/synApps_5_8/support/asyn-4-26/include  -I/home/mrinal/Downloads/synApps_5_8/support/seq-2-2-1/include  -I/home/mrinal/Downloads/synApps_5_8/support/busy-1-6-1/include -I/home/mrinal/Downloads/base-3.14.12.6/include/os/Linux -I/home/mrinal/Downloads/base-3.14.12.6/include  -I/home/mrinal/Downloads/synApps_5_8/support/ipac-2-13/include        ../motordevCom.cc
In file included from /usr/include/bits/types/stack_t.h:23:0,
                 from /usr/include/signal.h:299,
                 from /usr/include/sys/param.h:28,
                 from /home/mrinal/Downloads/base-3.14.12.6/include/os/Linux/osdWireConfig.h:16,
                 from /home/mrinal/Downloads/base-3.14.12.6/include/epicsEndian.h:24,
                 from ../motor.h:66,
                 from ../motordevCom.cc:76:
../motordevCom.cc: In function ‘long int motor_start_trans_com(motorRecord*, board_stat**)’:
../motordevCom.cc:467:37: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
     motor_call->postmsgptr = (char) NULL;
                                     ^
../motordevCom.cc:468:37: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
     motor_call->termstring = (char) NULL;
                                     ^
make[4]: *** [/home/mrinal/Downloads/base-3.14.12.6/configure/RULES_BUILD:218: motordevCom.o] Error 1
make[4]: Leaving directory '/home/mrinal/Downloads/synApps_5_8/support/motor-6-9/motorApp/MotorSrc/O.linux-x86_64'
make[3]: *** [/home/mrinal/Downloads/base-3.14.12.6/configure/RULES_ARCHS:61: install.linux-x86_64] Error 2
make[3]: Leaving directory '/home/mrinal/Downloads/synApps_5_8/support/motor-6-9/motorApp/MotorSrc'
make[2]: *** [/home/mrinal/Downloads/base-3.14.12.6/configure/RULES_DIRS:83: MotorSrc.install] Error 2
make[2]: Leaving directory '/home/mrinal/Downloads/synApps_5_8/support/motor-6-9/motorApp'
make[1]: *** [/home/mrinal/Downloads/base-3.14.12.6/configure/RULES_DIRS:83: motorApp.install] Error 2
make[1]: Leaving directory '/home/mrinal/Downloads/synApps_5_8/support/motor-6-9'
make: *** [/home/mrinal/Downloads/base-3.14.12.6/configure/RULES_DIRS:83: /home/mrinal/Downloads/synApps_5_8/support/motor-6-9.install] Error 2


I would appreciate if anyone can help me out here.

Thanks and regards,

Mrinal

--
Mrinal Kanti Bera, PhD
Scientist
Center for Advanced Radiation Sources,
The University of Chicago,
9700 S Cass Ave Bldg 434D
Argonne, IL-60439
Phone: +1-630-252-0472
Fax: +1-630-252-0443

Replies:
RE: synApps_5_8 compilation error Mark Rivers

Navigate by Date:
Prev: Re: issue with either camonitor or pcaspy in 3.15? Jameson Graef Rollins
Next: RE: synApps_5_8 compilation error 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: Possible bug in areaDetector/ADSupport/supportApp/nexusSrc/Makefile? Mark Rivers
Next: RE: synApps_5_8 compilation error 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