gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj -I./base `cups-config --image --libs` -DBINDIR='"/usr/local/bin"' -DGS='"gs"' -o bin/pdftoraster cups/pdftoraster.c cups/pdftoraster.c:62: warning: no previous prototype for `parseOpts' cups/pdftoraster.c: In function `parseOpts': cups/pdftoraster.c:76: warning: implicit declaration of function `cupsRasterInterpretPPD' cups/pdftoraster.c: At top level: cups/pdftoraster.c:80: warning: no previous prototype for `parsePDFTOPDFComment' cups/pdftoraster.c: In function `main': cups/pdftoraster.c:114: error: `cups_array_t' undeclared (first use in this function) cups/pdftoraster.c:114: error: (Each undeclared identifier is reported only once cups/pdftoraster.c:114: error: for each function it appears in.) cups/pdftoraster.c:114: error: `gs_args' undeclared (first use in this function) cups/pdftoraster.c:115: warning: ISO C90 forbids mixed declarations and code cups/pdftoraster.c:178: warning: implicit declaration of function `cupsArrayNew' cups/pdftoraster.c:188: warning: implicit declaration of function `cupsArrayAdd' cups/pdftoraster.c:422: warning: implicit declaration of function `cupsArrayCount' cups/pdftoraster.c:424: warning: implicit declaration of function `cupsArrayFirst' cups/pdftoraster.c:425: warning: implicit declaration of function `cupsArrayNext' make: *** [bin/pdftoraster] Error 1 [root@gollum ghostscript-8.64]# gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
Grabbing a Ralph's bugs.
(In reply to comment #0) > [root@gollum ghostscript-8.64]# gcc -v > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --enable-shared --enable-threads=posix > --disable-checking --disable-libunwind-exceptions --with-system-zlib > --enable-__cxa_atexit --host=i386-redhat-linux > Thread model: posix > gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) That's a fairly old gcc and therefore likely a fairly old redhat system shipped with cups 1.1. The error message looks the same as bug 690270, which in turn is a duplicate of 690262, which were fixed. *** This bug has been marked as a duplicate of bug 690270 ***