httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kimmy Lin" <kimmy...@cs.umb.edu>
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
commands. 

% ./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
function)
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
function)
make[4]: *** [proc_mutex.lo] Error 1
make[4]: Leaving directory
`/groups/efg/kimmylin/httpd-2.0.48/srclib/apr/locks/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/groups/efg/kimmylin/httpd-2.0.48/srclib/apr/locks/unix'
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....

Kimmy




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message