parse error on job.h

gary hsin-cheng.g.huang at dom.com
Fri Jan 25 12:01:45 PST 2008


I just started to use CUPS for printing.
The  version downloaded is 1.3.5 and above.
The host is SUN E3000 on Solaris 8.
i have installed gcc, make, autoconf, m4 from GNU.

when "make", it stops in compiling auth.c with the following error,

job.h:60: parse error before `krb5_ccache'
job.h:60: warning: no semicolon at end of struct or union
job.h:63: parse error before `}'
job.h:63: warning: type defaults to `int' in declaration of `cupsd_job_t'
job.h:63: warning: data definition has no type or storage class
job.h:100: parse error before `*'
job.h:100: warning: type defaults to `int' in declaration of `cupsdAddJob'
job.h:100: warning: data definition has no type or storage class
job.h:101: parse error before `*'
job.h:107: parse error before `*'
job.h:108: parse error before `*'

line 60 of /scheduler/job.h has the following lines,

#ifdef HAVE_GSSAPI
  krb5_ccache           ccache;         /* Kerberos credential cache */
  char                  *ccname;        /* KRB5CCNAME environment variable */
#endif /* HAVE_GSSAPI */
} cupsd_job_t;

I do not see anything wrong with that "ifdef......."

What have I missed ?





More information about the cups mailing list