You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kimmy Lin <ki...@cs.umb.edu> on 2004/02/20 20:02:21 UTC
[users@httpd] Problem building httpd 2.0.48 on Solaris 2.8
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
Re: [users@httpd] Problem building httpd 2.0.48 on Solaris 2.8
Posted by Joe Orton <jo...@redhat.com>.
On Fri, Feb 20, 2004 at 02:02:21PM -0500, Kimmy Lin wrote:
> 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)
Can you file a bug at
http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=APR&component=APR&version=0.9.4
and attach:
1) the complete output of the configure command
2) the srclib/apr/config.log file created by configure.
Regads,
joe
---------------------------------------------------------------------
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