On Monday, July 09, 2012, Jeffrey Gebhardt wrote:
> After applying your fix I now get the following error:
>
> ..\\..\\..\\bin\\win32-x86\\lemon.exe o=. ../snl.lem
> 3 parsing conflicts.
> # empty recipy needed to work around make bug #35455
> process_begin: CreateProcess(NULL, # empty recipy needed to work around
> make bug #35455, ...) failed.
> make (e=2): The system cannot find the file specified.
> gmake[4]: *** [snl.h] Error 2
Oh my. Why does it have to be so &@#^$&#^%$* difficult to get this rule to
work in a portable way?
I intended the '#' character to be a comment for make, not for the shell. My
mistake, the gnu make manual is clear on that: A comment sign in a recipy is
passed to the shell. The idea was to document that there must be an empty
recipy here, because I thought a simple dependency declaration (without any
recipy at all) would suffice, but due to make bug #35455 is doesn't.
> However, changing:
>
> snl.h: snl.c
> # empty recipy needed to work around make bug #35455
>
> to:
>
> snl.h: snl.c
> echo "empty recipy needed to work around make bug #35455"
>
> in src/snc/Makefile seems to fix the problem. Now both make and make -j
> work.
I'd rather not have the echo command here. Can you please check if the
following lines work, too? According to the make manual it should.
# empty recipy needed to work around make bug #35455
snl.h: snl.c ;
Cheers
Ben
> On 7/9/2012 5:33 AM, Benjamin Franksen wrote:
> > On Friday, July 06, 2012, you wrote:
> >> I am trying to build seq-2.1.8 on Windows XP. When I do a parallel
> >> make (make -j) it builds with out error.
> >> But if I build with no makeflags set, I get the following error:
> >>
> >> re2c.exe -s -b -o lexer.c ../snl.re
> >> cl -c /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
> >> -IC:\\SVN\\base\\in clude\\os\\WIN32 -IC:\\SVN\\base\\include
> >> lexer.c
> >> lexer.c
> >> ../snl.re(16) : fatal error C1083: Cannot open include file: 'snl.h':
> >> No such file or directory
> >> gmake[4]: *** [lexer.obj] Error 2
> >>
> >>
> >> Only lexer.c and lexer.d are in src/snc/O.win32-x86. During the
> >> parallel build snl.h is created.
> >> I'd appreciate any help you can provide.
> >
> > I made a stupid mistake when adding the dependency
> >
> > lexer.o: snl.h
> >
> > to src/snc/Makefile. Of course this should be
> >
> > lexer$(OBJ): snl.h
> >
> > This should solve your build problem. Please tell me if it does not.
> > Otherwise I will make this change and provide a new release.
> >
> > Cheers
> > Ben
Attachment:
signature.asc
Description: This is a digitally signed message part.
- Replies:
- Re: Problem in seq-2.1.8 Andrew Johnson
- References:
- Problem in SNL santosh aditya
- Re: Problem in seq-2.1.8 Benjamin Franksen
- Navigate by Date:
- Prev:
Re: stream device string/hex parsing Gerrit Kühn
- Next:
Re: Problem in seq-2.1.8 Andrew Johnson
- 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
- Navigate by Thread:
- Prev:
Re: Problem in seq-2.1.8 Benjamin Franksen
- Next:
Re: Problem in seq-2.1.8 Andrew Johnson
- 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
|