[cups.bugs] error compiling cups-1.4.3 on Solaris/SPARC 5.10
Michael Sweet
msweet at apple.com
Mon Jun 21 08:50:11 PDT 2010
Use --disable-gssapi or update your Solaris system with the latest dev tools and patches (which will fix that particular header...)
On Jun 21, 2010, at 5:45 AM, Matthias Apitz wrote:
> -bash-3.00$ uname -a
> SunOS pluto 5.10 Generic_142900-03 sun4u sparc SUNW,SPARC-Enterprise
> -bash-3.00$ gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
> Thread model: posix
> gcc version 3.3.2
> -bash-3.00$ pwd
> /export/home/sisis/guru/cups-1.4.3
> -bash-3.00$ ./configure
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking for gcc... gcc
> ..
> -bash-3.00$ gmake
> Using ARCHFLAGS=
> Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5 -I/usr/include/kerberosv5 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -
> D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> Using CC=gcc
> Using CXX=gcc
> Using DSOFLAGS=-L../cups -Wl,-hall -G -Wall -Wno-format-y2k -fPIC -Os -g
> Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -Wall -Wno-format-y2k -fPIC -Os -g
> Using LIBS=-lcups -lpthread -lresolv -lnsl -lsocket -lm
> Making all in cups...
> Compiling adminutil.c...
> In file included from http-private.h:60,
> from globals.h:26,
> from adminutil.c:37:
> /usr/include/kerberosv5/krb5.h:11: warning: ignoring #pragma ident
> In file included from /usr/include/sys/signal.h:34,
> from /usr/include/thread.h:22,
> from /usr/include/kerberosv5/krb5.h:111,
> from http-private.h:60,
> from globals.h:26,
> from adminutil.c:37:
> /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
> /usr/include/sys/siginfo.h:292: error: parse error before '}' token
> /usr/include/sys/siginfo.h:294: error: parse error before '}' token
> /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
> /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
> /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
> /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
> /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
> /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
> /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
> /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
> /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
> /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
> /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
> /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
> /usr/include/sys/siginfo.h:426: error: parse error before '}' token
> /usr/include/sys/siginfo.h:428: error: parse error before '}' token
> /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
> /usr/include/sys/siginfo.h:437: error: parse error before '}' token
> In file included from /usr/include/thread.h:22,
> from /usr/include/kerberosv5/krb5.h:111,
> from http-private.h:60,
> from globals.h:26,
> from adminutil.c:37:
> /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
> In file included from adminutil.c:45:
> /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
> gmake[1]: *** [adminutil.o] Error 1
> gmake: *** [all] Error 1
>
> Any ideas?
>
> Thanks
>
> Matthias
> _______________________________________________
> cups-bugs mailing list
> cups-bugs at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-bugs
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups-devel
mailing list