httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kimmy Lin" <>
Subject [users@httpd] Problem building httpd 2.0.48 on Solaris 2.8
Date Fri, 20 Feb 2004 19:02:21 GMT
I am simply installing httpd-2.0.48 on Solaris 2.8. I gave the following

% ./configure --prefix=/tools/apache-2.0.48 --enable-module=so
% make

then got this error

proc_mutex.c: In function `proc_mutex_proc_pthread_create':
proc_mutex.c:372: `PTHREAD_MUTEX_ROBUST_NP' undeclared (first use in this
proc_mutex.c:372: (Each undeclared identifier is reported only once
proc_mutex.c:372: for each function it appears in.)
proc_mutex.c:379: `PTHREAD_PRIO_INHERIT' undeclared (first use in this
make[4]: *** [proc_mutex.lo] Error 1
make[4]: Leaving directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/groups/efg/kimmylin/httpd-2.0.48/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/groups/efg/kimmylin/httpd-2.0.48/srclib'
make: *** [all-recursive] Error 1

So I added the header file explicitly at the beginning of proc_mutex.c

#include </usr/include/pthread.h>

and it procceed to build and install. 
Anyone has similar problems? Is it safe to do this? 
Replies will be appreciated....


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message