Experimental Physics and Industrial Control System
|
The fix provided by Freddie Akeroyd:
worked for me. I could compile the module now but did not tested it with a gateway server.
Von: Sintschuk, Michael
Gesendet: Freitag, 20. Dezember 2019 15:53:28
An: [email protected]
Betreff: ca-gateway 2.1.2 compilation error
Hello,
I want to build the newest ca-gateway 2.1.2 module against the newest base-3.15.7, but it fails with the following errors:
/soft/epics/inst-3.15.7/ca-gateway/2.1.2 # make
make -C ./configure install
make[1]: Entering directory '/soft/epics/inst-3.15.7/ca-gateway/2.1.2/configure'
perl -CSD /soft/epics/base-3.15.7/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 install
make[2]: Entering directory '/soft/epics/inst-3.15.7/ca-gateway/2.1.2/configure/O.linux-x86_64'
perl -CSD /soft/epics/base-3.15.7/bin/linux-x86_64/convertRelease.pl checkRelease
make[2]: Leaving directory '/soft/epics/inst-3.15.7/ca-gateway/2.1.2/configure/O.linux-x86_64'
make[1]: Leaving directory '/soft/epics/inst-3.15.7/ca-gateway/2.1.2/configure'
make -C ./src install
make[1]: Entering directory '/soft/epics/inst-3.15.7/ca-gateway/2.1.2/src'
perl -CSD /soft/epics/base-3.15.7/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 install
make[2]: Entering directory '/soft/epics/inst-3.15.7/ca-gateway/2.1.2/src/O.linux-x86_64'
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gateStat.d ../gateStat.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gateAsCa.d ../gateAsCa.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gateAsyncIO.d ../gateAsyncIO.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gateVc.d ../gateVc.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gateAs.d ../gateAs.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gateServer.d ../gateServer.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gateResources.d ../gateResources.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gatePv.d ../gatePv.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -MM -MF gateway.d ../gateway.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -c ../gateway.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -c ../gatePv.cc
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM -DWITH_CAPUTLOG -mtune=generic -m64 -I. -I../O.Common -I.
-I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/soft/epics/inst-3.15.7/caPutLog/3.6//include -I/soft/epics/base-3.15.7/include/compiler/gcc -I/soft/epics/base-3.15.7/include/os/Linux -I/soft/epics/base-3.15.7/include
-I/soft/epics/base-3.15.7/src/cas/generic -I/soft/epics/base-3.15.7/src/ca/legacy/pcas/generic -c ../gateResources.cc
../gateResources.cc: In member function ‘void gateResources::putLog(FILE*, const char*, const char*, const char*, const gdd*, const gdd*)’:
../gateResources.cc:467:24: error: ‘VALUE_to_string’ was not declared in this scope
VALUE_to_string( acOldVal, 20, &oldVal, gddGetOurType(old_value) );
^~~~~~~~~~~~~~~
../gateResources.cc:467:24: note: suggested alternative: ‘dbr_sts_string’
VALUE_to_string( acOldVal, 20, &oldVal, gddGetOurType(old_value) );
^~~~~~~~~~~~~~~
dbr_sts_string
../gateResources.cc:470:16: error: ‘VALUE_to_string’ was not declared in this scope
VALUE_to_string( acNewVal, 20, &newVal, gddGetOurType(new_value) );
^~~~~~~~~~~~~~~
../gateResources.cc:470:16: note: suggested alternative: ‘dbr_sts_string’
VALUE_to_string( acNewVal, 20, &newVal, gddGetOurType(new_value) );
^~~~~~~~~~~~~~~
dbr_sts_string
make[2]: *** [/soft/epics/base-3.15.7/configure/RULES_BUILD:236: gateResources.o] Error 1
make[2]: Leaving directory '/soft/epics/inst-3.15.7/ca-gateway/2.1.2/src/O.linux-x86_64'
make[1]: *** [/soft/epics/base-3.15.7/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[1]: Leaving directory '/soft/epics/inst-3.15.7/ca-gateway/2.1.2/src'
make: *** [/soft/epics/base-3.15.7/configure/RULES_DIRS:84: src.install] Error 2
Does anyone know what is causing that error?
I also compiled caPutLog 3.6 before that succecfully.
Best regards
Michael
|
- Navigate by Date:
- Prev:
Re: StreamDevice not parsing STREAM_PROTOCOL_PATH Gerrit Kühn via Tech-talk
- Next:
Arithmetic calculations before sending a command dmnr infn 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>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Probelm with ethernet interface of Galil controller [DLM=For-Official-Use-Only] CLIFT, Mark via Tech-talk
- Next:
Arithmetic calculations before sending a command dmnr infn 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>
2021
2022
2023
2024
|
ANJ, 20 Jan 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|