EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: FW: synApps_6_1 build error on windows-x64 with EPICS 7
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 17 Dec 2020 16:46:50 +0000

I forgot to CC tech-talk.

 

From: Mark Rivers
Sent: Thursday, December 17, 2020 9:01 AM
To: Markus Huber <markus.huber11 at gmx.de>
Subject: Re: synApps_6_1 build error on windows-x64 with EPICS 7

 

Hi Markus,

 

The error is this:

> re2c.exe -s -b -o lexer.c ../snl.re
> process_begin: CreateProcess(NULL, re2c.exe -s -b -o lexer.c ../snl.re,...) failed.
> make (e=2): Das System kann die angegebene Datei nicht finden.
> [Translation: The System cannot find the specified file.]

 

The problem is that you need to install re2c on your Windows system. Look at the section on re2c on this page:

 

This error:

make[4]: *** No rule to make target 'ipSNCServer.obj', needed by
'testIPServerSupport.dll'.  Stop.

 

is because you did not build the sequencer, but you did not comment out the line for the sequence in asyn/configure/RELEASE.

 

Mark

 

 

 


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Markus Huber via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, December 17, 2020 7:17 AM
To: tech-talk at aps.anl.gov
Subject: synApps_6_1 build error on windows-x64 with EPICS 7

 

Dear EPICS community,

I am quite new to EPICS and currently trying to get some synApps_6_1
modules running.
I want to use EPICS for building a SCADA system for an experimental
sectorcoupled microgird.
So far i have built EPICS 7 and tested it successfully with a simple
example application and with CSS (Phoebus).
Now i want to build synApps for using further modules.

When i try to build synApps_6_1 i get the following error after a while
(from line 2359 after 'make rebuild'):
"C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C ./snc
install
make[3]: Entering directory
'C:/Installationen/synApps_6_1/support/seq-2-2-6/src/snc'
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/makeMakefile.pl
O.windows-x64 ../../..
perl -CSD -MExtUtils::Command -e mkpath O.Common
C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C
O.windows-x64 -f ../Makefile TOP=../../.. \
     T_A=windows-x64 install
make[4]: Entering directory
'C:/Installationen/synApps_6_1/support/seq-2-2-6/src/snc/O.windows-x64'
C:/Installationen/synApps_6_1/support/seq-2-2-6/bin/windows-x64/lemon.exe
o=. ../snl.lem
2 parsing conflicts.
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m snl.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc
-I../../../include/os/WIN32 -I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include snl.obj snl.c
re2c.exe -s -b -o lexer.c ../snl.re
process_begin: CreateProcess(NULL, re2c.exe -s -b -o lexer.c ../snl.re,
...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m type_check.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include
type_check.obj ../type_check.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m builtin.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include builtin.obj
../builtin.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m sym_table.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include
sym_table.obj ../sym_table.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m gen_tables.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include
gen_tables.obj ../gen_tables.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m gen_ss_code.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include
gen_ss_code.obj ../gen_ss_code.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m gen_code.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include
gen_code.obj ../gen_code.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m analysis.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include
analysis.obj ../analysis.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m var_types.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include
var_types.obj ../var_types.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m node.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include node.obj
../node.c
perl -CSD
C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/bin/windows-x64/mkmf.pl
-m main.d -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include main.obj
../main.c
re2c.exe -s -b -o lexer.c ../snl.re
process_begin: CreateProcess(NULL, re2c.exe -s -b -o lexer.c ../snl.re,
...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
[Translation: The System cannot find the specified file.]
"Installing generic include file ../../../include/seqMain.c"
make[4]: *** No rule to make target 'lexer.c', needed by 'lexer.obj'.  Stop.
make[4]: Leaving directory
'C:/Installationen/synApps_6_1/support/seq-2-2-6/src/snc/O.windows-x64'
make[3]: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_ARCHS:58:
install.windows-x64] Error 2
make[3]: Leaving directory
'C:/Installationen/synApps_6_1/support/seq-2-2-6/src/snc'
make[2]: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_DIRS:85:
snc.install] Error 2
make[2]: Leaving directory
'C:/Installationen/synApps_6_1/support/seq-2-2-6/src'
make[1]: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_DIRS:85:
src.install] Error 2
make[1]: Leaving directory 'C:/Installationen/synApps_6_1/support/seq-2-2-6'
make: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_DIRS:85:
C:/Installationen/synApps_6_1/support/seq-2-2-6.install] Error 2"



The specification of my "building-environment":
* Windows 10, 64-bit, ProcessorArchitecture: AMD64
* x64 Native Tools Command Prompt for VS 2019
* make --version outputs: GNU Make 4.3 Built for Windows32
* perl --version outputs: This is perl 5, version 32, subversion 0
(v5.32.0) built for MSWin32-x64-multi-thread

I followed the instructions in
synApps_6_1/support/documentation/synApps.html. Point 2.4 in this
documentation says: "synApps is tested with the architectures
linux-x86_64, win32-x86, and win64-x86". Does it also run with windows-x64?

In support\configure\RELEASE SUPPORT and EPICS_BASE are set as follows:
* SUPPORT=C:/Installationen/synApps_6_1/support
* EPICS_BASE=C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1

Do i need to install/build something else before? Except from EPICS Base
7 i have built nothing else from the EPICS framework.

A search for "lexer.c" in the Windows-explorer is not successful.

When i comment seq-2-2-6 in support/configure/RELEASE, i get another Error:
"[...]
cl               -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE    -Ox -GL -Oy-   -W3        -MD
-DEPICS_BUILD_DLL -DEPICS_CALL_DLL   -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include
-IC:/Installationen/synApps_6_1/support/ipac-2-15/include
-IC:/Installationen/synApps_6_1/support/seq-2-2-6/include
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/compiler/msvc
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include/os/WIN32
-IC:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/include -c
../ipEchoServer2.c
ipEchoServer2.c
make[4]: *** No rule to make target 'ipSNCServer.obj', needed by
'testIPServerSupport.dll'.  Stop.
make[4]: Leaving directory
'C:/Installationen/synApps_6_1/support/asyn-R4-36/testIPServerApp/src/O.windows-x64'
make[3]: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_ARCHS:58:
install.windows-x64] Error 2
make[3]: Leaving directory
'C:/Installationen/synApps_6_1/support/asyn-R4-36/testIPServerApp/src'
make[2]: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_DIRS:85:
src.install] Error 2
make[2]: Leaving directory
'C:/Installationen/synApps_6_1/support/asyn-R4-36/testIPServerApp'
make[1]: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_DIRS:85:
testIPServerApp.install] Error 2
make[1]: Leaving directory
'C:/Installationen/synApps_6_1/support/asyn-R4-36'
make: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_DIRS:85:
C:/Installationen/synApps_6_1/support/asyn-R4-36.install] Error 2"



After that, i commented ipac-2-15 in support/configure/RELEASE, did
"make release", did "make rebuild": This results in a similar error:
"[...]
make[4]: *** No rule to make target 'ipSNCServer.obj', needed by
'testIPServerSupport.dll'.  Stop.
make[4]: Leaving directory
'C:/Installationen/synApps_6_1/support/asyn-R4-36/testIPServerApp/src/O.windows-x64'
make[3]: ***
[C:/Installationen/EPICS/base-7.0.4.1/base-R7.0.4.1/configure/RULES_ARCHS:58:
install.windows-x64] Error 2"



Since i need asyn, i cannot comment it in support/configure/RELEASE.

Do you have any ideas, what i could have done wrong? Should I use EPICS
Base 3.15?

Thank you very much and kind regards,
Markus

--
Markus Huber
MSc Student, Technical University Munich, Germany
markus.huber11 at gmx.de, mark.huber at tum.de


References:
synApps_6_1 build error on windows-x64 with EPICS 7 Markus Huber via Tech-talk

Navigate by Date:
Prev: Re: synApps_6_1 build error on windows-x64 with EPICS 7 Johnson, Andrew N. via Tech-talk
Next: Splitting a string in a protocol file Wang, Andrew 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: synApps_6_1 build error on windows-x64 with EPICS 7 Markus Huber via Tech-talk
Next: Splitting a string in a protocol file Wang, Andrew 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  <20202021  2022  2023  2024 
ANJ, 18 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·