[bug-pcl] error compiling ghostpcl on SUSE 9.2
Arne Hinniger
a.hinniger at tu-harburg.de
Thu Feb 10 10:01:20 PST 2005
I finally managed to compile GhostPCL on a SUSE 8.2 box with make
CYGWIN=TRUE but when i Try the same an a SUSE 9.3 Box i recieve the
following error (after a lot of compiler massage before..)
...
gcc -g -O -Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -I./o
bj - I../gs/src -o ./obj/gspaint.o -c
../gs/src/gspaint.c
gcc -g -O -Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -I./o
bj - I../gs/src -o ./obj/gsparam.o -c
../gs/src/gsparam.c
../gs/src/gsparam.c:189:57: macro "return_error" requires 2 arguments, but
only 1 given
../gs/src/gsparam.c: In function `param_coerce_typed':
../gs/src/gsparam.c:189: error: `return_error' undeclared (first use in this
fun ction)
../gs/src/gsparam.c:189: error: (Each undeclared identifier is reported only
onc e
../gs/src/gsparam.c:189: error: for each function it appears in.)
make[2]: *** [obj/gsparam.o] Error 1
make[2]: Leaving directory `/home/download/ghostpcl_1.40/main'
make[1]: *** [obj/ldgs.tr] Error 2
make[1]: Leaving directory `/home/download/ghostpcl_1.40/main'
make: *** [product] Error 2
make product leads to the following error message:
...
../gs/src/gdevx.c:1212: error: `GXand' undeclared (first use in this
function)
../gs/src/gdevx.c:1224: error: `GXor' undeclared (first use in this
function)
../gs/src/gdevx.c:1237: error: `dev' undeclared (first use in this function)
../gs/src/gdevx.c:1251: warning: implicit declaration of function
`XFillRectangles'
../gs/src/gdevx.c:1255: warning: left-hand operand of comma expression has
no effect
../gs/src/gdevx.c:1261: warning: left-hand operand of comma expression has
no effect
/usr/include/bits/string2.h: At top level:
../gs/src/gdevx.h:27: warning: array `gdev_x_resources' assumed to have one
element
../gs/src/gdevx.h:29: warning: array `gdev_x_fallback_resources' assumed to
have one element
../gs/src/gdevx.c:972: warning: `set_tile' defined but not used
make[2]: *** [obj/gdevx.o] Error 1
make[2]: Leaving directory `/home/download/ghostpcl_1.40/main'
make[1]: *** [obj/ldgs.tr] Error 2
make[1]: Leaving directory `/home/download/ghostpcl_1.40/main'
make: *** [product] Error 2
/usr/lib/X11 points to /usr/X11R6/lib/X11
What can i do about this?
Thanks,
Arne
More information about the bug-pcl
mailing list