Thanks, Keenan. That resolved my issue! Qing From: Lang, Keenan C. <klang@ anl. gov> Sent: Monday, February 19, 2024 9: 03 PM To: tech-talk@ aps. anl. gov <tech-talk@ aps. anl. gov>; Qing Ma <q-ma@ northwestern. edu> Subject: Re: Building
Qing
From: Lang, Keenan C. <klang at anl.gov>
Sent: Monday, February 19, 2024 9:03 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>; Qing Ma <q-ma at northwestern.edu>
Subject: Re: Building an IOC using synApp_6_1 on centos 7.
If you are just looking to get this working on CentOS, then you can edit your IOC's
configure/CONFIG_SITE file to set CROSS_COMPILER_TARGET_ARCHS to an empty string. Your build issue is coming up when trying to build against the vxWorks architecture. I'm not exactly certain why that is happening, but it isn't something that you need to build.
Having the line:
CROSS_COMPILER_TARGET_ARCHS =
in your configure/CONFIG_SITE file will set things so that you only build for Linux.
Keenan
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Qing Ma via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, February 19, 2024 4:33 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Building an IOC using synApp_6_1 on centos 7.
This Message Is From an External Sender
This message came from outside your organization.
Hi All,
I try to make synApp_6_1 work on centos 7. I encountered these error messages. The
ioc5bmaVX_registerRecordDeviceDriver part appears at the end of Makefile under /src. I also attched the "make" output file. It will be greatly appreciated if someone can help me out and also let me know any other infos you need.
Thanks,
Qing Ma
at DND-CAT/APS
---------------------------------------------------------
/bin/sh: line 1: 18229 Segmentation fault /APSshare/vw/vxWorks-6.9.4/gnu/4.3.3-vxworks-6.9.4/x86-linux2/bin/ccppc
-DCPU=PPC32 -DvxWorks=vxWorks -include /APSshare/vw/vxWorks-6.9.4/vxworks-6.9.4/target/h/vxWorks.h -O2 -Wall -mstrict-align -mlongcall -fno-builtin -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/vxWorks -I../../../include
-I/APSshare/epics/base-3.15.6/include/compiler/gcc -I/APSshare/epics/base-3.15.6/include/os/vxWorks -I/APSshare/epics/base-3.15.6/include -I/APSshare/epics/synApps_6_1/support/alive-R1-1-1/include -I/APSshare/epics/synApps_6_1/support/asyn-R4-36/include -I/APSshare/epics/synApps_6_1/support/autosave-R5-10/include/os/vxWorks
-I/APSshare/epics/synApps_6_1/support/autosave-R5-10/include -I/APSshare/epics/synApps_6_1/support/busy-R1-7-2/include -I/APSshare/epics/synApps_6_1/support/calc-R3-7-3/include -I/APSshare/epics/synApps_6_1/support/camac-R2-7-1/include -I/APSshare/epics/synApps_6_1/support/dxp-R6-0/include
-I/APSshare/epics/synApps_6_1/support/dxpSITORO-R1-2/include -I/APSshare/epics/synApps_6_1/support/iocStats-3-1-16/include/os/vxWorks -I/APSshare/epics/synApps_6_1/support/iocStats-3-1-16/include -I/APSshare/epics/synApps_6_1/support/etherIP-R3-2/include -I/APSshare/epics/synApps_6_1/support/ipac-2-15/include
-I/APSshare/epics/synApps_6_1/support/ip330-R2-9/include -I/APSshare/epics/synApps_6_1/support/lua-R2-0/include -I/APSshare/epics/synApps_6_1/support/mca-R7-8/include/os/vxWorks -I/APSshare/epics/synApps_6_1/support/mca-R7-8/include -I/APSshare/epics/synApps_6_1/support/measComp-R2-3/include
-I/APSshare/epics/synApps_6_1/support/modbus-R3-0/include -I/APSshare/epics/synApps_6_1/support/motor-R7-1/include -I/APSshare/epics/synApps_6_1/support/optics-R2-13-3/include -I/APSshare/epics/synApps_6_1/support/quadEM-R9-2-1/include -I/APSshare/epics/synApps_6_1/support/softGlue-R2-8-2/include
-I/APSshare/epics/synApps_6_1/support/softGlueZynq-R2-0-2/include -I/APSshare/epics/synApps_6_1/support/sscan-R2-11-3/include -I/APSshare/epics/synApps_6_1/support/std-R3-6/include -I/APSshare/epics/synApps_6_1/support/tpmac-3-12/include -I/APSshare/epics/synApps_6_1/support/StreamDevice-2-8-9/include
-I/APSshare/epics/synApps_6_1/support/vac-R1-9/include -I/APSshare/epics/synApps_6_1/support/vme-R2-9-2/include -I/APSshare/epics/synApps_6_1/support/areaDetector-R3-7/ADCore/include -I/APSshare/epics/synApps_6_1/support/areaDetector-R3-7/ADSupport/include/os/vxWorks
-I/APSshare/epics/synApps_6_1/support/areaDetector-R3-7/ADSupport/include -I/APSshare/epics/synApps_6_1/support/areaDetector-R3-7/ADSimDetector/include -I/APSshare/epics/synApps_6_1/support/seq-2-2-6/include -I/APSshare/epics/synApps_6_1/support/allenBradley-2-3/include
-I/APSshare/vw/vxWorks-6.9.4/vxworks-6.9.4/target/h -I/APSshare/vw/vxWorks-6.9.4/vxworks-6.9.4/target/h/wrn/coreip -MM ioc5bmaVX_registerRecordDeviceDriver.cpp > ioc5bmaVX_registerRecordDeviceDriver.d
make[3]: *** [ioc5bmaVX_registerRecordDeviceDriver.o] Segmentation fault
make[2]: *** [install.vxWorks-ppc32] Error 2
make[1]: *** [src.install] Error 2
make: *** [5bmaApp.install] Error 2