[cups.bugs] [MOD] STR #2050: FD_SETSIZE redefined; compilation fails

John A. Murdie john at cs.york.ac.uk
Mon Oct 23 05:05:16 PDT 2006


[STR New]

This didn't happen on Solaris with gcc 3.4.6 in 1.2.* before 1.2.5:

# make
Making all in cups...
Compiling adminutil.c...
gcc: _POSIX_PTHREAD_SEMANTICS: No such file or directory
In file included from globals.h:35,
                 from adminutil.c:47:
http-private.h:43:1: warning: "FD_SETSIZE" redefined
In file included from
/usr/local/pkg/gcc-3.4.6/lib/gcc/sparc-sun-solaris2.8/3.4.6/include/sys/types.h:569,
                 from /usr/include/time.h:19,
                 from http.h:36,
                 from ipp.h:35,
                 from cups.h:34,
                 from adminutil.h:38,
                 from adminutil.c:46:
/usr/include/sys/select.h:34:1: warning: this is the location of the
previous definition
make[1]: *** [adminutil.o] Error 1
make: *** [all] Error 1
#

Odd that it says "warning" and yet stops the make.

John A. Murdie

Link: http://www.cups.org/str.php?L2050
Version: 1.2.5





More information about the cups-devel mailing list