[gs-bugs] [Bug 690658] New: error: `cups_array_t' undeclared

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Mon Jul 27 11:15:43 PDT 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690658

           Summary: error: `cups_array_t' undeclared
           Product: Ghostscript
           Version: 8.64
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: Build Process
        AssignedTo: ralph.giles at artifex.com
        ReportedBy: faxguy at howardsilvan.com
         QAContact: gs-bugs at ghostscript.com


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 at 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)



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list