Bug 689948 - X86_64 compile problem
Summary: X86_64 compile problem
Status: NOTIFIED FIXED
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PCL interpreter (show other bugs)
Version: 1.52
Hardware: PC Windows NT
: P4 major
Assignee: Henry Stiles
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 11:20 UTC by Larry
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry 2008-07-08 11:20:42 UTC
I have tried compiling ghostpcl 1.52 and 1.41 on a Centos 5.2 Linux system 
with gcc-4.1.2-42.el5 with the following failure each time. I have tried 
changing the -O2 flag in ugcc_top.mak to -O with no difference. This program 
is critical to our application so any help would be appreciated greatly. 
This is the 'tail end' of the make result:

../gs/src/gdevx.c:1251: warning: statement with no effect
../gs/src/gdevx.c:1254: error: ‘gc_ptr_element_t’ has no member named 
‘xâ€
™
../gs/src/gdevx.c:1254: error: ‘gc_ptr_element_t’ has no member named 
‘yâ€
™
../gs/src/gdevx.c:1254: warning: left-hand operand of comma expression has no 
ef
fect
../gs/src/gdevx.c:1254: warning: statement with no effect
../gs/src/gdevx.c:1260: error: ‘gc_ptr_element_t’ has no member named 
‘wid
th’
../gs/src/gdevx.c:1260: error: ‘gc_ptr_element_t’ has no member named 
‘hei
ght’
../gs/src/gdevx.c:1260: warning: left-hand operand of comma expression has no 
ef
fect
../gs/src/gdevx.c:1260: warning: statement with no effect
../gs/src/gdevx.c:1261: error: invalid lvalue in increment
../gs/src/gdevx.c:1261: warning: statement with no effect
../gs/src/gdevx.c:1271: error: request for member ‘foreground’ in something
not a structure or union
make[2]: *** [obj/gdevx.o] Error 1
make[2]: Leaving directory `/tmp/ghostpdl-1.52/main'
make[1]: *** [pdl-product] Error 2
make[1]: Leaving directory `/tmp/ghostpdl-1.52/main'
make: *** [pcl] Error 2
Comment 1 Ralph Giles 2008-07-08 11:56:47 UTC
Make sure you have the X11 development packages installed. Otherwise I can't say
what's wrong without seeing more of the log.
Comment 2 Larry 2008-07-08 23:04:27 UTC
Thanks for the advice, Ralph. That did the trick!
I normally install the X devel pkgs as a matter of course but obviously missed 
it this time.
Once again, we greatly appreciate the time and effort you folks have put into 
making this program available.
Regards, Larry