[cups.bugs] [MOD] STR #4060: Compilation of cups-1.5.2 fails with --disable-threads
Andreas K. Hüttel
dilfridge at gentoo.org
Thu Apr 19 09:11:37 PDT 2012
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
This is a clone of https://bugs.gentoo.org/show_bug.cgi?id=401323
When passing --disable-threads, compilation fails reproducibly with
Making all in cups...
Compiling adminutil.c...
In file included from cups-private.h:33:0,
from adminutil.c:33:
thread-private.h:87:50: error: expected ')' before 'func'
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
make[1]: *** [adminutil.o] Error 1
make: *** [all] Error 1
Looking at the source line,
extern int _cupsThreadCreate(_cups_thread_func_t func, void *arg);
tries to use _cups_thread_func_t, which is as far as I understand defined
inside #ifdef HAVE_PTHREAD_H ...
For more info see the link above
Link: http://www.cups.org/str.php?L4060
Version: 1.5.2
More information about the cups-devel
mailing list