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  2017  2018  2019  2020  <20212022  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  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: motor module make error
From: 网易邮件中心 via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 21 Oct 2021 11:22:53 +0800 (CST)
Hi all,
     I use centos8, base 7.0.6.1, motor ( https://github.com/epics-modules/motor ), seq-2.2.6, and some other module from https://github.com/epics-modules/.

    I got the error message.
--------------------Error----------------------------------------
make -C ./modules install
make[1]: Entering directory '/home/liangyx/synApps/support/motor-master/modules'
make -C ./motorOms install
make[2]: Entering directory '/home/liangyx/synApps/support/motor-master/modules/motorOms'
make -C ./configure install
make[3]: Entering directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/configure'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
    T_A=linux-x86_64 install
make[4]: Entering directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/configure/O.linux-x86_64'
perl -CSD /home/liangyx/base-7.0.6.1/bin/linux-x86_64/convertRelease.pl checkRelease
make[4]: Leaving directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/configure/O.linux-x86_64'
make[3]: Leaving directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/configure'
make -C ./omsApp install
make[3]: Entering directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/omsApp'
make -C ./src install
make[4]: Entering directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/omsApp/src'
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[5]: Entering directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/omsApp/src/O.linux-x86_64'
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux      -O3 -g   -Wall      -mtune=generic      -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I/home/liangyx/synApps/support/motor-master/include/compiler/gcc -I/home/liangyx/synApps/support/motor-master/include/os/Linux -I/home/liangyx/synApps/support/motor-master/include   -I/home/liangyx/synApps/support/motor-master/include   -I/home/liangyx/synApps/support/asyn-master/include   -I/home/liangyx/synApps/support/seq-2.2.6/include   -I/home/liangyx/synApps/support/busy-master/include   -I/home/liangyx/synApps/support/ipac-master/include -I/home/liangyx/base-7.0.6.1/include/compiler/gcc -I/home/liangyx/base-7.0.6.1/include/os/Linux -I/home/liangyx/base-7.0.6.1/include           -c ../drvOmsPC68.cc
In file included from /home/liangyx/base-7.0.6.1/include/dbAccess.h:20,
                 from ../drvOmsPC68.cc:72:
/home/liangyx/base-7.0.6.1/include/dbBase.h:164:22: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]
     rset            *prset;
                      ^~~~~
In file included from /home/liangyx/base-7.0.6.1/include/dbBase.h:22,
                 from /home/liangyx/base-7.0.6.1/include/dbAccess.h:20,
                 from ../drvOmsPC68.cc:72:
/home/liangyx/base-7.0.6.1/include/recSup.h:89:21: note: declared here
 typedef struct rset rset EPICS_DEPRECATED;
                     ^~~~
In file included from /home/liangyx/base-7.0.6.1/include/dbAccess.h:24,
                 from ../drvOmsPC68.cc:72:
/home/liangyx/base-7.0.6.1/include/dbAccessDefs.h:210:55: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]
 DBCORE_API rset * dbGetRset(const struct dbAddr *paddr);
                                                       ^
In file included from /home/liangyx/base-7.0.6.1/include/dbBase.h:22,
                 from /home/liangyx/base-7.0.6.1/include/dbAccess.h:20,
                 from ../drvOmsPC68.cc:72:
/home/liangyx/base-7.0.6.1/include/recSup.h:89:21: note: declared here
 typedef struct rset rset EPICS_DEPRECATED;
                     ^~~~
../drvOmsPC68.cc:110:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 static char *oms_axis[] = {"X", "Y", "Z", "T", "U", "V", "R", "S"};
                                                                  ^
../drvOmsPC68.cc:110:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../drvOmsPC68.cc:110:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../drvOmsPC68.cc:110:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../drvOmsPC68.cc:110:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../drvOmsPC68.cc:110:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../drvOmsPC68.cc:110:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../drvOmsPC68.cc:110:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
../drvOmsPC68.cc:148:1: error: invalid conversion from ‘RTN_STATUS (*)(int, const char*, char*)’ {aka ‘RTN_VALUES (*)(int, const char*, char*)’} to ‘RTN_STATUS (*)(int, const char*, const char*)’ {aka ‘RTN_VALUES (*)(int, const char*, const char*)’} [-fpermissive]
 };
 ^
../drvOmsPC68.cc:148:1: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
../drvOmsPC68.cc: In function ‘void asynCallback(void*, asynUser*, char*, size_t, int)’:
../drvOmsPC68.cc:687:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
     if( stat & STAT_DONE )
       ^
make[5]: *** [/home/liangyx/base-7.0.6.1/configure/RULES_BUILD:263: drvOmsPC68.o] Error 1
make[5]: Leaving directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/omsApp/src/O.linux-x86_64'
make[4]: *** [/home/liangyx/base-7.0.6.1/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[4]: Leaving directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/omsApp/src'
make[3]: *** [/home/liangyx/base-7.0.6.1/configure/RULES_DIRS:85: src.install] Error 2
make[3]: Leaving directory '/home/liangyx/synApps/support/motor-master/modules/motorOms/omsApp'
make[2]: *** [/home/liangyx/base-7.0.6.1/configure/RULES_DIRS:85: omsApp.install] Error 2
make[2]: Leaving directory '/home/liangyx/synApps/support/motor-master/modules/motorOms'
make[1]: *** [/home/liangyx/base-7.0.6.1/configure/RULES_DIRS:85: motorOms.install] Error 2
make[1]: Leaving directory '/home/liangyx/synApps/support/motor-master/modules'
make: *** [/home/liangyx/base-7.0.6.1/configure/RULES_DIRS:85: modules.install] Error 2
--------------------End----------------------------------------

I could not find the problem
Could someone give me some advice.

Regards,
Liang
    



 


Replies:
Re: motor module make error Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: stream install error Ralph Lange via Tech-talk
Next: QuadEM operation with parameters "Queued" Iain Marcuson via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: stream install error Ralph Lange via Tech-talk
Next: Re: motor module make error Johnson, Andrew N. via Tech-talk
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  <20212022  2023  2024