|
|||||||||||
|
DO NOT REPLY [Bug 9457] - Compilation fails on HP-UX 10.20
From: <bugzilla(at)apache.org>
Date: Thu Jun 27 2002 - 11:46:45 EDT
Compilation fails on HP-UX 10.20
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 -liconvcollect2: 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() {
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
which can conflict with char pthread_key_delete(); below. */
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. */
; 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)
which can conflict with char pthread_rwlock_init(); below. */
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. */
; return 0; }
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)
which can conflict with char sigwait(); below. */
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. */
; 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: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Thu Jun 27 15:46:37 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:41 EDT |
||||||||||
|
|||||||||||