httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [mod_fcgid] can't find apr headers
Date Wed, 09 Dec 2009 16:54:51 GMT
On Wed, Dec 9, 2009 at 10:44 AM, Jeff Trawick <trawick@gmail.com> wrote:
> On Wed, Dec 9, 2009 at 9:02 AM, Carsten Wiedmann <carsten_sttgt@gmx.de> wrote:

>>>> in config.apxs.log I have 2 errors for "conftest_sys_mutex.h.c".  Maybe
>>>> that's normal and can happen?
>>>
>>> That shouldn't affect a build for httpd 2.2, but what are those errors?
>>
>> | /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include
>>  -O2 -pipe -I/usr/include -fno-strict-aliasing
>> -I/usr/local/include/apache22 -I. -I/var/ports/usr/ports/www/apache22
>> | In file included from /usr/include/sys/mutex.h:37,
>> |                  from conftest_sys_mutex_h.c:1:
>> | /usr/include/sys/_lock.h:36: error: expected specifier-qualifier-list
>> before 'u_int'
>> | In file included from /usr/include/sys/mutex.h:38,
>> |                  from conftest_sys_mutex_h.c:1:
>> | /usr/include/sys/_mutex.h:39: error: expected ':', ',', ';', '}' or
>> '__attribute__' before 'mtx_lock'
>> | *** Error code 1
>
> Ahhh, I see these in my FreeBSD builds and will try to fix (maybe we
> have to include <sys/types.h> first).  This never hurt me since I
> didn't try to build for httpd 2.0 on FreeBSD.  Thanks!

No, not a problem...  FreeBSD ends up not including <sys/mutex.h>
since <sys/types.h> isn't included first, but <sys/mutex.h> is
probably only needed on some odd SysV-derived system.

The <sys/mutex.h> popped up in the APR code copied into mod_fcgid code
here: http://svn.apache.org/viewvc?view=revision&revision=64544
(no obvious sys/types.h there either)

Mime
View raw message