Open lerwys opened 6 years ago
current master commit (512865e) can compile with base-3.14, base-3.15 with synapps. base-3.16 and base-7.0 still requiring changing synapps modules versions
I don't know if it is the same issue, but I tried to install epics in branch base-3.16
and I got this error:
/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../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/opt/epics/synApps-lnls-R0-0-2/support/asyn-R4-33/include -I/opt/epics/synApps-lnls-R0-0-2/support/seq-2-2-6/include -I/opt/epics/synApps-lnls-R0-0-2/support/busy-R1-7/include -I/opt/epics/base/include/compiler/gcc -I/opt/epics/base/include/os/Linux -I/opt/epics/base/include -I/opt/epics/synApps-lnls-R0-0-2/support/ipac-2-15/include -c ../PIE516Register.cc
/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../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/opt/epics/synApps-lnls-R0-0-2/support/asyn-R4-33/include -I/opt/epics/synApps-lnls-R0-0-2/support/seq-2-2-6/include -I/opt/epics/synApps-lnls-R0-0-2/support/busy-R1-7/include -I/opt/epics/base/include/compiler/gcc -I/opt/epics/base/include/os/Linux -I/opt/epics/base/include -I/opt/epics/synApps-lnls-R0-0-2/support/ipac-2-15/include -c ../devPIE517.cc
../devPIE517.cc: In function ‘RTN_STATUS PIE517_build_trans(motor_cmnd, double*, motorRecord*)’:
../devPIE517.cc:309:58: error: ‘errlogMessage’ was not declared in this scope
errlogMessage("PIE517_build_trans(): buffer overflow.\n");
^
/opt/epics/base/configure/RULES_BUILD:234: recipe for target 'devPIE517.o' failed
make[4]: *** [devPIE517.o] Error 1
make[4]: Leaving directory '/opt/epics/synApps-lnls-R0-0-2/support/motor-R6-10/motorApp/PiSrc/O.linux-x86_64'
/opt/epics/base/configure/RULES_ARCHS:58: recipe for target 'install.linux-x86_64' failed
make[3]: *** [install.linux-x86_64] Error 2
make[3]: Leaving directory '/opt/epics/synApps-lnls-R0-0-2/support/motor-R6-10/motorApp/PiSrc'
/opt/epics/base/configure/RULES_DIRS:84: recipe for target 'PiSrc.install' failed
make[2]: *** [PiSrc.install] Error 2
make[2]: Leaving directory '/opt/epics/synApps-lnls-R0-0-2/support/motor-R6-10/motorApp'
/opt/epics/base/configure/RULES_DIRS:84: recipe for target 'motorApp.install' failed
make[1]: *** [motorApp.install] Error 2
make[1]: Leaving directory '/opt/epics/synApps-lnls-R0-0-2/support/motor-R6-10'
/opt/epics/base/configure/RULES_DIRS:84: recipe for target '/opt/epics/synApps-lnls-R0-0-2/support/motor-R6-10.install' failed
make: *** [/opt/epics/synApps-lnls-R0-0-2/support/motor-R6-10.install] Error 2
I ran the script with the following options:
./run-all.sh -e yes -r yes -t yes -s yes -i -o -c
My OS is ubuntu 16.04.
Hi @fernandohds564 ,
Yes, this is the same issue you're having. In my docker build I get the following error for base-3.16:
../devPIE517.cc: In function 'RTN_STATUS PIE517_build_trans(motor_cmnd, double*, motorRecord*)':
../devPIE517.cc:309:58: error: 'errlogMessage' was not declared in this scope
errlogMessage("PIE517_build_trans(): buffer overflow.\n");
This is from epics module "motor" and is maybe fixed in version R6-10-1
Problem: Current synapps release provides some old epics-modules that do not compile with newer versions of EPICS base (3.15, 3.16. 7.0).
Solution: Install the epics-modules separately, as it's already done with stream-device and ioc-stats, or release a newer version of synapps (stripping out old/unused modules) by using the script provided here: https://github.com/EPICS-synApps