Hi all,
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