On both SL7.9 (Make 3.82) and Alma 9 (Make 4.3) , I can reproduce the problem by going to the areaDetector directory and executing make
jad22@lnx201 $ pwd
/nfs/chess/epics/det/support_flir/areaDetector-R3-13
jad22@lnx201 $ make
Makefile:265: *** recipe commences before first target. Stop.
This Makefile is the same as the Makefile from areaDetector-R3-12 which I know works.
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of John Dobbins via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, June 3, 2024 1:05 PM
To: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: asyn master, base 7.0.3 build error from devAsynXXXArray.cpp
A related problem. Running make in areaDetector-R3-13 directory produces:
Makefile:265: *** recipe commences before first target. Stop.
Not sure what it is trying to tell me here.
John
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Monday, June 3, 2024 12:36 PM
To: John Dobbins <john.dobbins at cornell.edu>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: RE: asyn master, base 7.0.3 build error from devAsynXXXArray.cpp
-
Alma 9 is the other option. gcc 11.4.1 , libc.so.6
-
That should work?
Yes, that should work.
Mark
From: John Dobbins <john.dobbins at cornell.edu>
Sent: Monday, June 3, 2024 11:34 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov
Subject: Re: asyn master, base 7.0.3 build error from devAsynXXXArray.cpp
Alma 9 is the other option. gcc 11.4.1 , libc.so.6
That should work?
John
Hi John,
-
Switching to base 7.0.6 appears to have fixed that problem.
Good news, I was about to test that asyn still works with gcc 4.8.5.
-
I am trying to build the latest asyn with base-7.0.3 (with a goal of building the latest ADSpinnaker) on linux , Scientific Linux 7.9 , gcc version 4.8.5
Unfortunately, you won’t be able to run ADSpinnaker with gcc 4.8.5. The ADSpinnaker documentation says this:
As it name implies,
ADSpinnaker uses
the FLIR/Point Grey Spinnaker library.
It runs on Windows, and on Linux versions with gcc 7.5 and higher (e.g. Ubuntu 18, RHEL 8, Centos 8, Debian 10) It does not run on older Linux versions (e.g. Centos 7/RHEL 7) because the FLIR Spinnaker SDK is compiled on Ubuntu 18 and thus requires newer versions
of GLIBC and GLIBCXX.
Mark
Switching to base 7.0.6 appears to have fixed that problem. John
Tech-talkers,
I am trying to build the latest asyn with base-7.0.3 (with a goal of building the latest ADSpinnaker) on linux , Scientific Linux 7.9 , gcc version 4.8.5
I get the error messages shown below from devAsynXXXArray.cpp
Any help is appreciated. Thanks,
John Dobbins
Research Support Specialist
Cornell High Energy Synchrotron Source
Cornell University
www.chess.cornell.edu
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -DUSE_TYPED_DSET -DUSE_TYPED_DRVET -DBUILDING_asyn_API -D_X86_64_ -DUNIX -Dlinux -O3 -g
-Wall -DHAVE_DEVINT64 -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I../../asyn/drvAsynSerial/os/Linux -I../../asyn/drvAsynSerial/os/default -I.. -I../../asyn/asynDriver -I../../asyn/asynGpib -I../../asyn/drvAsynSerial -I../../asyn/interfaces
-I../../asyn/miscellaneous -I../../asyn/asynPortDriver/exceptions -I../../asyn/asynPortDriver -I../../asyn/asynPortClient -I../../asyn/devEpics -I../../asyn/asynRecord -I../../asyn/vxi11 -I../../asyn/drvPrologixGPIB -I../../asyn/ni1014 -I../../asyn/devGpib
-I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/nfs/chess/epics/det/support_flir/seq-R2-2-9/include -I/nfs/chess/epics/det/support_flir/calc-R3-7-5/include -I/nfs/chess/epics/det/base-7.0.3/include/compiler/gcc -I/nfs/chess/epics/det/base-7.0.3/include/os/Linux
-I/nfs/chess/epics/det/base-7.0.3/include -c ../../asyn/devEpics/devAsynXXXArray.cpp
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:18:0:
/nfs/chess/epics/det/base-7.0.3/include/dbCommon.h:47:12: error: using typedef-name ‘dset’ after ‘struct’
struct dset *dset; /* DSET address */
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:0:
/nfs/chess/epics/det/base-7.0.3/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
typedef typed_dset dset;
^
In file included from /nfs/chess/epics/det/base-7.0.3/include/dbAccess.h:19:0,
from ../../asyn/devEpics/devAsynXXXArray.cpp:19:
/nfs/chess/epics/det/base-7.0.3/include/dbBase.h:43:9: error: using typedef-name ‘dset’ after ‘struct’
struct dset *pdset;
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:0:
/nfs/chess/epics/det/base-7.0.3/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
typedef typed_dset dset;
^
In file included from /nfs/chess/epics/det/base-7.0.3/include/dbAccess.h:23:0,
from ../../asyn/devEpics/devAsynXXXArray.cpp:19:
/nfs/chess/epics/det/base-7.0.3/include/dbAccessDefs.h:242:67: error: using typedef-name ‘dset’ after ‘struct’
epicsShareFunc devSup* dbDSETtoDevSup(dbRecordType *prdes, struct dset *pdset);
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:0:
/nfs/chess/epics/det/base-7.0.3/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
typedef typed_dset dset;
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:27:0:
/nfs/chess/epics/det/base-7.0.3/include/waveformRecord.h:54:12: error: using typedef-name ‘dset’ after ‘struct’
struct dset *dset; /* DSET address */
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:0:
/nfs/chess/epics/det/base-7.0.3/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
typedef typed_dset dset;
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:28:0:
/nfs/chess/epics/det/base-7.0.3/include/aaoRecord.h:54:12: error: using typedef-name ‘dset’ after ‘struct’
struct dset *dset; /* DSET address */
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:0:
/nfs/chess/epics/det/base-7.0.3/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
typedef typed_dset dset;
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:29:0:
/nfs/chess/epics/det/base-7.0.3/include/aaiRecord.h:54:12: error: using typedef-name ‘dset’ after ‘struct’
struct dset *dset; /* DSET address */
^
In file included from ../../asyn/devEpics/devAsynXXXArray.cpp:17:0:
/nfs/chess/epics/det/base-7.0.3/include/devSup.h:153:20: note: ‘dset’ has a previous declaration here
typedef typed_dset dset;
^
make[3]: *** [devAsynXXXArray.o] Error 1
make[3]: Leaving directory `/nfs/chess/epics/det/support_flir/asyn-R4-45/asyn/O.linux-x86_64'
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory `/nfs/chess/epics/det/support_flir/asyn-R4-45/asyn'
make[1]: *** [asyn.install] Error 2
make[1]: Leaving directory `/nfs/chess/epics/det/support_flir/asyn-R4-45'
make: *** [/nfs/chess/epics/det/support_flir/asyn-R4-45.install] Error 2
|