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  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re:Re: e_flex.exe error_base7.0.7 in win64
From: lynn via Tech-talk <tech-talk at aps.anl.gov>
To: "Ralph Lange" <ralph.lange at gmx.de>, tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 11 Apr 2023 15:48:08 +0800 (CST)
Hi Ralph,
    Now I tried to install epics using mingw. (success once using Visual Stdio, but then failed, so i want to use msys2 ).
    But  the error "ccl.obj e_flex.exe "still came out.
   1) pacman -S mingw-w64-x86_64-toolchain
   2) export EPICS_HOST_ARCH=windows-x64-mingw
3) others and "make"
4) I uninstalled VS and reboot, nothing changed.

Output of make:
cketLib -I../calc -I../cvtFast -I../cppStd -I../cxxTemplates -I../dbmf -I../ellLib -I../env -I../error -I../fdmgr -I../flex -I../freeList -I../gpHash -I../iocsh -I../log -I../macLib -I../misc -I../osi -I../pool -I../ring -I../taskwd -I../timer -I../yacc -I../yacc -I../yajl -I../../../../include/compiler/msvc -I../../../../include/os/WIN32 -I../../../../include         -c ../flex/ccl.c
make[4]: cl: No such file or directory
make[4]: *** No rule to make target 'ccl.obj', needed by 'e_flex.exe'.  Stop.

make[4]: Leaving directory '/home/dell/base-7.0.7/modules/libcom/src/O.windows-x64'
make[3]: *** [../../../configure/RULES_ARCHS:58: install.windows-x64] Error 2
make[3]: Leaving directory '/home/dell/base-7.0.7/modules/libcom/src'
make[2]: *** [../../configure/RULES_DIRS:85: src.install] Error 2
make[2]: Leaving directory '/home/dell/base-7.0.7/modules/libcom'
make[1]: *** [../configure/RULES_DIRS:85: libcom.install] Error 2
make[1]: Leaving directory '/home/dell/base-7.0.7/modules'

OS:
   Win 11_64 HOME
Msys2:
Base:
  7.0.4.1 and I tried 7.0.7 also

$ gcc --version
gcc.exe (Rev10, Built by MSYS2 project) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.

$ make -version
GNU Make 4.4.1
Built for x86_64-pc-msys
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Regards.
Lynn



At 2023-03-30 20:03:51, "Ralph Lange" <ralph.lange at gmx.de> wrote:

That bug was related to specific versions of the MinGW-w64 compiler and was fixed by switching to a newer compiler version. Probably unrelated.
You're using MSVC, so this doesn't apply, anyway.

Have you set up the environment for the MSVC correctly?
Please check the how-to at https://docs.epics-controls.org/projects/how-tos/en/latest/getting-started/installation-windows.html. You need to run the MSVC-provided batch scripts to set up the environment before running make.

Cheers,
~Ralph


On Thu, 30 Mar 2023 at 12:24, lynn <lynn0703 at yeah.net> wrote:
Hi Ralph,
   I got an error like these when make base 7.0.7 on win64.
   I found you have mentioned it in web https://bugs.launchpad.net/epics-base/+bug/1827225
   But I did not get how to fix it.
   Could you do me a favor.

Output:
************
make (e=2): system can not find the file.
process_begin: CreateProcess(NULL, 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../osi/compiler/msvc -I../osi/compiler/default -I. -I../osi/os/WIN32 -I../osi/os/default -I.. -I../as -I../bucketLib -I../calc -I../cvtFast -I../cppStd -I../cxxTemplates -I../dbmf -I../ellLib -I../env -I../error -I../fdmgr -I../flex -I../freeList -I../gpHash -I../iocsh -I../log -I../macLib -I../misc -I../osi -I../pool -I../ring -I../taskwd -I../timer -I../yacc -I../yacc -I../yajl -I../../../../include/compiler/msvc -I../../../../include/os/WIN32 -I../../../../include -c ../yacc/warshall.c, ...) failed.
make (e=2): system can not find the file.
make[4]: *** No rule to make target 'ccl.obj', needed by 'e_flex.exe'.  Stop.
***************
  
Env:
*****
base 7.0.7,win 64, VS2022
> choco list --local-only
Chocolatey v1.3.1
chocolatey 1.3.1
make 4.3
strawberryperl 5.32.1.1

Thanks,
lynn


Replies:
Re: Re: e_flex.exe error_base7.0.7 in win64 Ralph Lange via Tech-talk
References:
e_flex.exe error_base7.0.7 in win64 lynn via Tech-talk

Navigate by Date:
Prev: pv of Phoebus-product White via Tech-talk
Next: Re: Re: e_flex.exe error_base7.0.7 in win64 Ralph Lange 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  <20232024 
Navigate by Thread:
Prev: Re: e_flex.exe error_base7.0.7 in win64 Ralph Lange via Tech-talk
Next: Re: Re: e_flex.exe error_base7.0.7 in win64 Ralph Lange 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  <20232024 
ANJ, 11 Apr 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·