You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/02/08 19:19:11 UTC

DO NOT REPLY [Bug 50735] New: mod_socache_dc won't compile in httpd-2.3.10

https://issues.apache.org/bugzilla/show_bug.cgi?id=50735

           Summary: mod_socache_dc won't compile in httpd-2.3.10
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mark@catseye.org
                CC: mark@catseye.org


mod_socache_dc fails to compile with the following error:

/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread 
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic    -Wl,-z,relro,-z,now    -o
mod_file_cache.la -rpath /usr/lib64/httpd/modules -module -avoid-version 
mod_file_cache.lo 
/home/markmont/httpd/httpd-2.3.10/modules/cache/mod_socache_dc.c: In function
'socache_dc_store':
/home/markmont/httpd/httpd-2.3.10/modules/cache/mod_socache_dc.c:103:15: error:
expected expression before 'apr_time_t'
/home/markmont/httpd/httpd-2.3.10/modules/cache/mod_socache_dc.c:106:29:
warning: implicit declaration of function 'apr_time_in_msec'
/home/markmont/httpd/httpd-2.3.10/modules/cache/mod_socache_dc.c:106:55: error:
expected ')' before '{' token
/home/markmont/httpd/httpd-2.3.10/modules/cache/mod_socache_dc.c:112:1: error:
expected expression before '}' token
/home/markmont/httpd/httpd-2.3.10/modules/cache/mod_socache_dc.c:112:1:
warning: no return statement in function returning non-void
make[4]: *** [mod_socache_dc.slo] Error 1

Relevant information:

httpd-2.3.10-alpha
apr-1.4.2
apr-util-1.3.10
Fedora 14
gcc-4.5.1

./configure --prefix=/etc/httpd --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --mandir=/usr/share/man --libdir=/usr/lib64
--sysconfdir=/etc/httpd/conf --includedir=/usr/include/httpd
--libexecdir=/usr/lib64/httpd/modules --datadir=/var/www
--with-installbuilddir=/usr/lib64/httpd/build --with-mpm=prefork
--with-apr=/usr --with-apr-util=/usr --enable-suexec --with-suexec
--with-suexec-caller=apache --with-suexec-docroot=/var/www
--with-suexec-logfile=/var/log/httpd/suexec.log
--with-suexec-bin=/usr/sbin/suexec --with-suexec-uidmin=500
--with-suexec-gidmin=100 --enable-pie --with-pcre --enable-mods-shared=all
--enable-ssl --with-ssl --enable-distcache --enable-proxy --enable-cache
--enable-disk-cache --enable-socache-dc --enable-ldap --enable-authnz-ldap
--enable-cgid --enable-authn-anon --enable-authn-alias --enable-session
--enable-session-cookie --enable-session-dbd --enable-lua --enable-dav-lock
--disable-imagemap

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 50735] mod_socache_dc won't compile in httpd-2.3.10

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50735

--- Comment #2 from Mark Montague <ma...@catseye.org> 2011-02-08 13:21:41 EST ---
Patch attached.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 50735] mod_socache_dc won't compile in httpd-2.3.10

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50735

--- Comment #1 from Mark Montague <ma...@catseye.org> 2011-02-08 13:21:14 EST ---
Created an attachment (id=26625)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26625)
Patch to fix compilation error in mod_socache_dc

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 50735] mod_socache_dc won't compile in httpd-2.3.10

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50735

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Ruediger Pluem <rp...@apache.org> 2011-02-09 03:03:54 EST ---
Thanks for the patch. Fixed in r1068778.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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