DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457 Compilation fails on HP-UX 10.20 ------- Additional Comments From [EMAIL PROTECTED] 2002-06-27 15:46 ------- Oups, yes sorry, this time I have followed your instruction ;-D 1- modification of the .m4 file, 2- make extraclean 3- ./buildconf 4- ... Unfortunalty, it fails again. It's very strange because when I look inside ./srclib/apr/config.log, every time apr_threads is used, the compilation fails (see my config.log below). But even theses failures, APR continue to configure Apache using thread :-( Perasp I made another mistake ... but I duno where. Don't worry about the time I spend on this : I'm happy to make something different than my day to day borring tasks (by the way, I'm open for every good opportunity near Geneva, in France or in switzerland ;-D). There is a copy of my config.log, if you can discover something ... Bye Laurent ---- [...] configure:10437: checking for iconv in -liconv configure:10456: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -liconv 1>&5 /usr/ccs/bin/ld: Can't find library for -liconv collect2: ld returned 1 exit status configure: failed program was: #line 10445 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iconv(); int main() { iconv() ; return 0; } configure:10484: checking for modf in -lm configure:10503: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 configure:10547: checking for pthread.h configure:10557: gcc -E -D_REENTRANT -w conftest.c >/dev/null 2>conftest.out configure:10677: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 configure: In function `main': configure:10671: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10671: (Each undeclared identifier is reported only once configure:10671: for each function it appears in.) configure:10674: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10659 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10696: checking for pthreads_cflags configure:10729: gcc -o conftest -g -O2 -kthread -D_REENTRANT conftest.c -lm 1>&5 gcc: unrecognized option `-kthread' configure: In function `main': configure:10723: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10723: (Each undeclared identifier is reported only once configure:10723: for each function it appears in.) configure:10726: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10711 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10729: gcc -o conftest -g -O2 -pthread -D_REENTRANT conftest.c -lm 1>&5 gcc: unrecognized option `-pthread' configure: In function `main': configure:10723: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10723: (Each undeclared identifier is reported only once configure:10723: for each function it appears in.) configure:10726: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10711 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10729: gcc -o conftest -g -O2 -pthreads -D_REENTRANT conftest.c -lm 1>&5 gcc: unrecognized option `-pthreads' configure: In function `main': configure:10723: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10723: (Each undeclared identifier is reported only once configure:10723: for each function it appears in.) configure:10726: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10711 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10729: gcc -o conftest -g -O2 -mthreads -D_REENTRANT conftest.c -lm 1>&5 cc1: Invalid option `threads' configure: In function `main': configure:10723: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10723: (Each undeclared identifier is reported only once configure:10723: for each function it appears in.) configure:10726: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10711 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10729: gcc -o conftest -g -O2 -Kthread -D_REENTRANT conftest.c -lm 1>&5 gcc: unrecognized option `-Kthread' configure: In function `main': configure:10723: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10723: (Each undeclared identifier is reported only once configure:10723: for each function it appears in.) configure:10726: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10711 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10729: gcc -o conftest -g -O2 -threads -D_REENTRANT conftest.c -lm 1>&5 configure: In function `main': configure:10723: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10723: (Each undeclared identifier is reported only once configure:10723: for each function it appears in.) configure:10726: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10711 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10729: gcc -o conftest -g -O2 -mt -D_REENTRANT conftest.c -lm 1>&5 cc1: Invalid option `t' configure: In function `main': configure:10723: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10723: (Each undeclared identifier is reported only once configure:10723: for each function it appears in.) configure:10726: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10711 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10759: checking for pthreads_lib configure:10792: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm -lpthread 1>&5 configure: In function `main': configure:10786: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10786: (Each undeclared identifier is reported only once configure:10786: for each function it appears in.) configure:10789: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10774 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10792: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm -lpthreads 1>&5 configure: In function `main': configure:10786: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10786: (Each undeclared identifier is reported only once configure:10786: for each function it appears in.) configure:10789: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10774 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10792: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm -lc_r 1>&5 configure: In function `main': configure:10786: `PTHREAD_ONCE_INIT' undeclared (first use in this function) configure:10786: (Each undeclared identifier is reported only once configure:10786: for each function it appears in.) configure:10789: incompatible type for argument 2 of `pthread_create' configure: failed program was: #line 10774 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; pthread_once_t once_init = PTHREAD_ONCE_INIT; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data);} configure:10835: checking for pthread.h configure:11257: checking whether pthread_getspecific takes two arguments configure:11276: gcc -c -g -O2 -D_REENTRANT conftest.c 1>&5 configure:11304: checking whether pthread_attr_getdetachstate takes one argument configure:11322: gcc -c -g -O2 -D_REENTRANT conftest.c 1>&5 configure:11351: checking for pthread_key_delete configure:11379: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 /usr/ccs/bin/ld: Unsatisfied symbols: pthread_key_delete (code) collect2: ld returned 1 exit status configure: failed program was: #line 11356 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char pthread_key_delete(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_key_delete(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_pthread_key_delete) || defined (__stub___pthread_key_delete) choke me #else pthread_key_delete(); #endif ; return 0; } configure:11351: checking for pthread_rwlock_init configure:11379: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 /usr/ccs/bin/ld: Unsatisfied symbols: pthread_rwlock_init (code) collect2: ld returned 1 exit status configure: failed program was: #line 11356 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char pthread_rwlock_init(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_rwlock_init(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_pthread_rwlock_init) || defined (__stub___pthread_rwlock_init) choke me #else pthread_rwlock_init(); #endif ; return 0; } configure:11502: checking for readdir in -lc_r configure:11521: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lc_r -lm 1>&5 configure:11546: checking for gethostbyname in -lc_r configure:11565: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lc_r -lm 1>&5 configure:11594: checking for gethostbyaddr in -lc_r configure:11613: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lc_r -lm 1>&5 configure:11643: checking for gethostbyname_r configure:11671: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 configure:11643: checking for gethostbyaddr_r configure:11671: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 configure:11728: checking for sigsuspend configure:11756: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 configure:11784: checking for sigwait configure:11812: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 /usr/ccs/bin/ld: Unsatisfied symbols: sigwait (code) collect2: ld returned 1 exit status configure: failed program was: #line 11789 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sigwait(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sigwait(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sigwait) || defined (__stub___sigwait) choke me #else sigwait(); #endif ; return 0; } configure:11850: checking for poll configure:11878: gcc -o conftest -g -O2 -D_REENTRANT conftest.c -lm 1>&5 configure:11906: checking for getpwnam_r [...] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]