1.3 not compiling on solaris 10 sparc

chbeyer fritz.honka at gmx.de
Thu Aug 16 02:01:31 PDT 2007


Hi,

I try to compile the latest cups version on solaris 10 (sparc) with gcc version 2.95.3 20010315 and I get:

Compiling auth.c...
In file included from cupsd.h:127,
                 from auth.c:57:
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 `*'
job.h:108: warning: type defaults to `int' in declaration of `cupsdFindJob'
job.h:108: warning: data definition has no type or storage class
job.h:109: parse error before `*'
job.h:113: parse error before `*'
job.h:115: parse error before `*'
job.h:116: parse error before `*'
job.h:117: parse error before `*'
job.h:118: parse error before `*'
job.h:120: parse error before `*'
job.h:121: parse error before `*'
job.h:122: parse error before `*'
job.h:124: parse error before `*'
job.h:125: parse error before `*'
In file included from cupsd.h:128,
                 from auth.c:57:
conf.h:227: parse error before `*'
In file included from cupsd.h:132,
                 from auth.c:57:
subscriptions.h:77: parse error before `cupsd_job_t'
subscriptions.h:77: warning: no semicolon at end of struct or union
subscriptions.h:78: warning: type defaults to `int' in declaration of `cupsd_event_t'
subscriptions.h:78: warning: data definition has no type or storage class
subscriptions.h:91: parse error before `cupsd_job_t'
subscriptions.h:91: warning: no semicolon at end of struct or union
subscriptions.h:93: `pipe' redeclared as different kind of symbol
/usr/include/unistd.h:406: previous declaration of `pipe'
subscriptions.h:100: parse error before `*'
subscriptions.h:100: warning: type defaults to `int' in declaration of `events'
subscriptions.h:100: warning: data definition has no type or storage class
subscriptions.h:101: parse error before `}'
subscriptions.h:101: warning: type defaults to `int' in declaration of `cupsd_subscription_t'
subscriptions.h:101: warning: data definition has no type or storage class
subscriptions.h:139: parse error before `cupsd_job_t'
subscriptions.h:140: parse error before `*'
subscriptions.h:142: parse error before `cupsd_job_t'
subscriptions.h:143: warning: type defaults to `int' in declaration of `cupsdAddSubscription'
subscriptions.h:143: warning: data definition has no type or storage class
subscriptions.h:145: parse error before `*'
subscriptions.h:151: parse error before `*'
subscriptions.h:152: warning: type defaults to `int' in declaration of `cupsdFindSubscription'
subscriptions.h:152: warning: data definition has no type or storage class
subscriptions.h:154: parse error before `cupsd_job_t'
In file included from auth.c:57:
cupsd.h:163: parse error before `KerberosContext'
cupsd.h:163: warning: type defaults to `int' in declaration of `KerberosContext'
cupsd.h:163: warning: data definition has no type or storage class
cupsd.h:209: warning: declaration of `pid' shadows global declaration
cupsd.h:210: warning: declaration of `pid' shadows global declaration
cupsd.h:214: warning: declaration of `pid' shadows global declaration
In file included from auth.c:69:
/usr/include/security/pam_appl.h:160: warning: declaration of `status' shadows global declaration
gmake[1]: *** [auth.o] Error 1
gmake: *** [all] Error 1

Any hints someone ???

thanks

fritz

PS: please put my e-mail address in the reply if possible




More information about the cups mailing list