Bug 57035 - httpd-2.2.29 compile error (mod_deflate) with openssl 1.0.1h or i
Summary: httpd-2.2.29 compile error (mod_deflate) with openssl 1.0.1h or i
Status: RESOLVED WORKSFORME
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.2.29
Hardware: All Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-29 02:26 UTC by zzori
Modified: 2014-09-29 06:13 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zzori 2014-09-29 02:26:08 UTC
OS : CentOS release 5.10 (Final)
openssl : 1.0.1h, 1.0.1i, install /usr/local/openssl

configure :
./configure --prefix=/usr/local/apache2 --enable-mods-shared=most --enable-ssl --with-ssl=/usr/local/openssl --enable-unique-id

............
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  -I/usr/local/openssl/include/openssl  -I/root/archive/httpd-2.2.29/srclib/pcre -I. -I/root/archive/httpd-2.2.29/os/unix -I/root/archive/httpd-2.2.29/server/mpm/prefork -I/root/archive/httpd-2.2.29/modules/http -I/root/archive/httpd-2.2.29/modules/filters -I/root/archive/httpd-2.2.29/modules/proxy -I/root/archive/httpd-2.2.29/include -I/root/archive/httpd-2.2.29/modules/generators -I/root/archive/httpd-2.2.29/modules/mappers -I/root/archive/httpd-2.2.29/modules/database -I/usr/include/apr-1 -I/root/archive/httpd-2.2.29/modules/proxy/../generators -I/usr/local/openssl/include -I/root/archive/httpd-2.2.29/modules/ssl -I/root/archive/httpd-2.2.29/modules/dav/main -prefer-pic -c mod_deflate.c && touch mod_deflate.slo
mod_deflate.c: In function 'deflate_out_filter':
mod_deflate.c:790: error: 'APR_INT32_MAX' undeclared (first use in this function)
mod_deflate.c:790: error: (Each undeclared identifier is reported only once
mod_deflate.c:790: error: for each function it appears in.)
mod_deflate.c: In function 'deflate_in_filter':
mod_deflate.c:1165: error: 'APR_INT32_MAX' undeclared (first use in this function)
mod_deflate.c: In function 'inflate_out_filter':
mod_deflate.c:1550: error: 'APR_INT32_MAX' undeclared (first use in this function)
make[4]: *** [mod_deflate.slo] Error 1
make[4]: Leaving directory `/root/archive/httpd-2.2.29/modules/filters'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/root/archive/httpd-2.2.29/modules/filters'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/root/archive/httpd-2.2.29/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/root/archive/httpd-2.2.29'
make: *** [all-recursive] Error 1
[root@sms httpd-2.2.29]#
Comment 1 Rainer Jung 2014-09-29 05:51:09 UTC
What is the version of the APR library you are using? APR_INT32_MAX was introduced in version 1.3. Could it be you are using 1.2 or older?
Comment 2 zzori 2014-09-29 05:55:21 UTC
(In reply to Rainer Jung from comment #1)
> What is the version of the APR library you are using? APR_INT32_MAX was
> introduced in version 1.3. Could it be you are using 1.2 or older?

CentOS based use.
version : apr-1.2.7-11.el5_6.5
Comment 3 zzori 2014-09-29 06:13:24 UTC
Thanks very much.
I use APR 1.5.1, APR-UTIL 1.5.4 good work now.

(In reply to Rainer Jung from comment #1)
> What is the version of the APR library you are using? APR_INT32_MAX was
> introduced in version 1.3. Could it be you are using 1.2 or older?