Bug 689357

Summary: Failure to build under cygwin
Product: GhostPCL Reporter: Ken Foskey <foskey>
Component: PCL interpreterAssignee: Henry Stiles <henry.stiles>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

Description Ken Foskey 2007-07-13 05:50:55 UTC
estack.h:#define esp (e_stack.p)

conflicts with

MYPC: /usr/include/cygwin 
$ grep -w esp *.h 
signal.h:  unsigned long esp;

Causing an error in the cygwin compile

In file included from /usr/include/sys/signal.h:107, 
                 from /usr/include/signal.h:5, 
                 from /usr/include/time.h:140, 
                 from /usr/include/sys/stat.h:9, 
                 from ../gs/src/stat_.h:27, 
                 from ../gs/src/gxiodev.h:21, 
                 from ../gs/src/stream.h:22, 
                 from ../gs/src/zfile.c:36: 
/usr/include/cygwin/signal.h:54: error: parse error before '->' token 
/usr/include/cygwin/signal.h:58: error: parse error before '}' token 
../gs/src/zfile.c: In function `lib_file_open': 
../gs/src/zfile.c:919: warning: cast discards qualifiers from pointer target type 
../gs/src/zfile.c:935: warning: cast discards qualifiers from pointer target type 
../gs/src/zfile.c:971: warning: cast discards qualifiers from pointer target type 
../gs/src/zfile.c:986: warning: cast discards qualifiers from pointer target type 
make[3]: *** [obj/zfile.o] Error 1 
make[3]: Leaving directory `/cygdrive/c/data/opensource/ghostpcl-r2858+8093/lang 
uage_switch' 
make[2]: *** [obj/ldgs.tr] Error 2 
make[2]: Leaving directory `/cygdrive/c/data/opensource/ghostpcl-r2858+8093/lang 
uage_switch' 
make[1]: *** [product] Error 2 
make[1]: Leaving directory `/cygdrive/c/data/opensource/ghostpcl-r2858+8093/lang 
uage_switch'
Comment 1 Ken Foskey 2007-07-13 06:01:42 UTC
Forgot to add snapshot  30 jun 07

Trying this because PCL6 is crashing on pcl xl file.
Comment 2 Alex Cherepanov 2007-07-13 07:44:35 UTC
Please get the current revision.
This problem was fixed on 2007-07-01.


*** This bug has been marked as a duplicate of 689276 ***