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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: synApps_5_7 build error on Windows 8.1 x64 |
From: | Alireza Panna <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Fri, 29 Aug 2014 07:51:30 -0700 |
I just tried building the following versions of the sequencer on windows-x64 (Windows 7, Visual Studio 2010, GNUWin32 make).
seq-2.1.10
seq-2.1.13
seq-2.2.0.1
2.1.10 built with no errors.
2.1.13 did not have the error with lemon.exe that was the subject of this thread. Here is the output when lemon.exe is being used:
make[3]: Entering directory `J:/epics/devel/seq-2-1-13/src/snc/O.windows-x64'
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
..\\..\\..\\bin\\windows-x64\\lemon.exe o=. ../snl.lem3 parsing conflicts.
re2c.exe -s -b -o lexer.c ../snl.remake[3]: Leaving directory `J:/epics/devel/seq-2-1-13/src/snc/O.windows-x64'
make[3]: Entering directory `J:/epics/devel/seq-2-1-13/src/snc/O.windows-x64'
However, 2.1.13 did fail much later in the build with the following error:
"converting userfuncEf.i"
../../../bin/windows-x64/snc.exe +m -i userfuncEf.i -o userfuncEf.c.tmp
perl -MExtUtils::Command -e mv userfuncEf.c.tmp userfuncEf.c
cl -c /favor:blend /nologo /D__STDC__=0 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /Ox /GL /W3 /w44355 /MT -DEPICS_DLL_NO -I. -I..\\O.Common
-I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include -IH:\\epics\\base-3.14.12.4\\include\\os\\WIN32 -IH:\\epics\\base-3.14.12.4\\include userfuncEf.c
userfuncEf.c
userfuncEf.c(13) : error C2016: C requires that a struct or union has at least one member
../userfuncEf.st(26) : error C2059: syntax error : '}'
make[3]: *** [userfuncEf.obj] Error 2
make[3]: Leaving directory `J:/epics/devel/seq-2-1-13/test/validate/O.windows-x64'
make[2]: *** [install.windows-x64] Error 2
make[2]: Leaving directory `J:/epics/devel/seq-2-1-13/test/validate'
make[1]: *** [validate.install] Error 2
make[1]: Leaving directory `J:/epics/devel/seq-2-1-13/test'
make: *** [test.install] Error 2
2.2.0.1 failed very early in the build with the following error:
"Installing generic include file ../../../include/seq_prim_types.h"
cl -c /favor:blend /nologo /D__STDC__=0 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /Ox /GL /W3 /w44355 /MT -DEPICS_DLL_NO -I. -I..\\O.Common
-I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include -IH:\\epics\\base-3.14.12.4\\include\\os\\WIN32 -IH:\\epics\\base-3.14.12.4\\include ..\\seq_main.c
seq_main.c
..\seq_main.c(282) : error C2124: divide or mod by zero
make[3]: *** [seq_main.obj] Error 2
make[3]: Leaving directory `J:/epics/devel/seq-2-2-0-1/src/seq/O.windows-x64'
make[2]: *** [install.windows-x64] Error 2
make[2]: Leaving directory `J:/epics/devel/seq-2-2-0-1/src/seq'
make[1]: *** [seq.install] Error 2
make[1]: Leaving directory `J:/epics/devel/seq-2-2-0-1/src'
make: *** [src.install] Error 2
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Benjamin Franksen
Sent: Friday, August 29, 2014 4:56 AM
To: [email protected]
Cc: Alireza Panna
Subject: Re: synApps_5_7 build error on Windows 8.1 x64
On Thursday 28 August 2014 16:54:00 Alireza Panna wrote:
> Hello all,
>
> I am having trouble building the sequencer module. base compiles fine
> under windows-x64, however when i try to build the sequencer module
> in synApps-5-7, I get the following error:
>
> make[3]: Entering directory `C:/Epics/support/seq-2-1-13/src/snc'
> make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64
> install make[4]: Entering directory
> `C:/Epics/support/seq-2-1-13/src/snc/O.windows-x64'
> ..\\..\\..\\bin\\windows-x64\\lemon.exe o=. ../snl.lem
> re2c.exe -s -b -o lexer.c ../snl.re
> make[4]: Leaving directory
> `C:/Epics/support/seq-2-1-13/src/snc/O.windows-x64'
> make[4]: Entering directory
> `C:/Epics/support/seq-2-1-13/src/snc/O.windows-x64'
> ..\\..\\..\\bin\\windows-x64\\lemon.exe o=. ../snl.lem
> cl -c /favor:blend /nologo /D__STDC__=0
> /D_CRT_SECURE_NO_DEPRECATE
> /D_CRT_NONSTDC_NO_DEPRECATE /Ox /GL /W3 /w44355 /MD -I.
> -I..\\O.C
> ommon -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include
> -IC:\\Epic
> s\\base\\include\\os\\WIN32 -IC:\\Epics\\base\\include lexer.c
> lexer.c
> ../snl.re (16) : fatal error C1083: Cannot open include file: 'snl.h':
> No such fi
> le or directory
> make[4]: *** [lexer.obj] Error 2
> make[4]: Leaving directory
> `C:/Epics/support/seq-2-1-13/src/snc/O.windows-x64'
> make[3]: *** [install.windows-x64] Error 2
> make[3]: Leaving directory `C:/Epics/support/seq-2-1-13/src/snc'
> make[2]: *** [snc.install] Error 2
> make[2]: Leaving directory `C:/Epics/support/seq-2-1-13/src'
> make[1]: *** [src.install] Error 2
> make[1]: Leaving directory `C:/Epics/support/seq-2-1-13'
> make: *** [C:/Epics/support/seq-2-1-13.install] Error 2
>
> Before this error occurs, I get a pop up saying lemon.exe has stopped
> working.
Hm, that sounds like the bundled version of lemon crashes (or otherwise
misbehaves) when compiled as a win64 executable. In this case it would
not generate snl.h which is what the error message says.
To clarify this, please
> cd C:/Epics/support/seq-2-1-13/src/snc/O.windows-x64
> make clean
and then
> ..\\..\\..\\bin\\windows-x64\\lemon.exe o=. ../snl.lem
It should say "3 parsing conflicts." and there should now exist files
named snl.c, snl.h, and snl.out in this directory. If not (or if one of
these files is empty), then lemon is broken on win64 and I will see
whether the upstream version has a fix for the problem.
Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de