httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41617] New: - undefined reference to `ap_cache_generate_name'
Date Thu, 15 Feb 2007 04:46:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41617>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41617

           Summary: undefined reference to `ap_cache_generate_name'
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: brain@eucoders.com


I tried to compila apache 2.2.4 starting with:
./configure --with-included-apr --enable-file-cache --enable-disk-cache --
enable-mem-cache --enable-deflate --enable-rewrite --enable-so

then make.
On the line:
gcc -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE    -I/root/apache/httpd-2.2.4/srclib/pcre -I. -
I/root/apache/httpd-2.2.4/os/unix -I/root/apache/httpd-
2.2.4/server/mpm/prefork -I/root/apache/httpd-2.2.4/modules/http -
I/root/apache/httpd-2.2.4/modules/filters -I/root/apache/httpd-
2.2.4/modules/proxy -I/root/apache/httpd-2.2.4/include -I/root/apache/httpd-
2.2.4/modules/generators -I/root/apache/httpd-2.2.4/modules/mappers -
I/root/apache/httpd-2.2.4/modules/database -I/root/apache/httpd-
2.2.4/srclib/apr/include -I/root/apache/httpd-2.2.4/srclib/apr-util/include -
I/root/apache/httpd-2.2.4/modules/proxy/../generators -I/root/apache/httpd-
2.2.4/modules/ssl -I/root/apache/httpd-2.2.4/modules/dav/main  -
c /root/apache/httpd-2.2.4/server/buildmark.c
/root/apache/httpd-2.2.4/srclib/apr/libtool --silent --mode=link gcc -g -O2 -
pthread        -o httpd  modules.lo buildmark.o -export-dynamic 
server/libmain.la modules/aaa/libmod_authn_file.la 
modules/aaa/libmod_authn_default.la modules/aaa/libmod_authz_host.la 
modules/aaa/libmod_authz_groupfile.la modules/aaa/libmod_authz_user.la 
modules/aaa/libmod_authz_default.la modules/aaa/libmod_auth_basic.la 
modules/cache/libmod_file_cache.la modules/cache/libmod_disk_cache.la 
modules/cache/libmod_mem_cache.la modules/filters/libmod_include.la 
modules/filters/libmod_filter.la modules/filters/libmod_deflate.la 
modules/loggers/libmod_log_config.la modules/metadata/libmod_env.la 
modules/metadata/libmod_setenvif.la modules/http/libmod_http.la 
modules/http/libmod_mime.la modules/generators/libmod_status.la 
modules/generators/libmod_autoindex.la modules/generators/libmod_asis.la 
modules/generators/libmod_cgi.la modules/mappers/libmod_negotiation.la 
modules/mappers/libmod_dir.la modules/mappers/libmod_actions.la 
modules/mappers/libmod_userdir.la modules/mappers/libmod_alias.la 
modules/mappers/libmod_rewrite.la modules/mappers/libmod_so.la 
server/mpm/prefork/libprefork.la os/unix/libos.la -lm /root/apache/httpd-
2.2.4/srclib/pcre/libpcre.la /root/apache/httpd-2.2.4/srclib/apr-
util/libaprutil-1.la -lexpat /root/apache/httpd-2.2.4/srclib/apr/libapr-1.la -
luuid -lrt -lcrypt -lpthread -ldl

I got the following errors:
modules/cache/.libs/libmod_disk_cache.a(mod_disk_cache.o)(.text+0x73): In 
function `header_file':
/root/apache/httpd-2.2.4/modules/cache/mod_disk_cache.c:73: undefined reference 
to `ap_cache_generate_name'
modules/cache/.libs/libmod_disk_cache.a(mod_disk_cache.o)(.text+0xf3): In 
function `data_file':
/root/apache/httpd-2.2.4/modules/cache/mod_disk_cache.c:91: undefined reference 
to `ap_cache_generate_name'
modules/cache/.libs/libmod_disk_cache.a(mod_disk_cache.o)(.text+0x12cb): In 
function `store_headers':
/root/apache/httpd-2.2.4/modules/cache/mod_disk_cache.c:925: undefined 
reference to `ap_cache_cacheable_hdrs_out'
modules/cache/.libs/libmod_disk_cache.a(mod_disk_cache.o)
(.text+0x133b):/root/apache/httpd-2.2.4/modules/cache/mod_disk_cache.c:903: 
undefined reference to `ap_cache_cacheable_hdrs_out'
modules/cache/.libs/libmod_mem_cache.a(mod_mem_cache.o)(.text+0x862): In 
function `store_headers':
/root/apache/httpd-2.2.4/modules/cache/mod_mem_cache.c:591: undefined reference 
to `ap_cache_cacheable_hdrs_out'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/root/apache/httpd-2.2.4'
make: *** [all-recursive] Error 1

But it is strange because in the file mod_disk_cache.c I already found 
#include "mod_cache.h" which should be enough for the erroneous line: 
if (!dobj->hashfile) { dobj->hashfile = ap_cache_generate_name(p, conf-
>dirlevels, conf->dirlength, name); }

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

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


Mime
View raw message