httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Rumph <mike.ru...@oracle.com>
Subject Re: [users@httpd] error: 'ap_document_root_check' undeclared
Date Fri, 12 Jul 2013 17:07:41 GMT
Hello Don,

ap_document_root_check is declared in httpd-2.2.25/include/http_main.h
This was introduced in httpd 2.2.17.
You have several include directories ahead of 
/sw/sources/httpd-2.2.25/include.
Perhaps one of these has an older version of http_main.h.

Thanks,

Mike Rumph

On 7/12/2013 7:27 AM, Mike Rumph wrote:
> Hello Don,
>
> What configure options are you using?
>
> Thanks,
>
> Mike Rumph
>
> On 7/12/2013 5:53 AM, Don Fike wrote:
>> Using 2.2.25, when running make I get the following error, would like 
>> help resolving this,
>>
>> Thanks,
>>
>> /sw/build-1/libtool --silent --mode=compile gcc -pthread  -fPIC 
>> -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/sw/apps/mysql/include/mysql 
>> -I/sw/apps/apache2/include -I/sw/apps/python/include/python2.7 
>> -I/sw/include/openssl -I/sw/include -fPIC  
>> -I/sw/sources/httpd-2.2.25/srclib/pcre -I. 
>> -I/sw/sources/httpd-2.2.25/os/unix 
>> -I/sw/sources/httpd-2.2.25/server/mpm/prefork 
>> -I/sw/sources/httpd-2.2.25/modules/http 
>> -I/sw/sources/httpd-2.2.25/modules/filters 
>> -I/sw/sources/httpd-2.2.25/modules/proxy 
>> -I/sw/sources/httpd-2.2.25/include 
>> -I/sw/sources/httpd-2.2.25/modules/generators 
>> -I/sw/sources/httpd-2.2.25/modules/mappers 
>> -I/sw/sources/httpd-2.2.25/modules/database -I/sw/include/apr-1 
>> -I/sw/include/ -I/sw/lib/include -I/sw/sources/httpd-2.2.25/server 
>> -I/sw/sources/httpd-2.2.25/modules/proxy/../generators -I/sw/include 
>> -I/sw/sources/httpd-2.2.25/modules/ssl 
>> -I/sw/sources/httpd-2.2.25/modules/dav/main  -prefer-non-pic -static 
>> -c main.c && touch main.lo
>> main.c: In function 'main':
>> main.c:591: error: 'ap_document_root_check' undeclared (first use in 
>> this function)
>> main.c:591: error: (Each undeclared identifier is reported only once
>> main.c:591: error: for each function it appears in.)
>> make[2]: *** [main.lo] Error 1
>> make[2]: Leaving directory `/sw/sources/httpd-2.2.25/server'
>> make[1]: *** [all-recursive] Error 1
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message