httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Reder" <rede...@remulak.net>
Subject Re: Compile error in module mod_disk_cache
Date Mon, 11 Nov 2002 16:34:05 GMT
Try running
"make distclean"

and then running buildconf, configure (or config.nice), and make again.

I removed the postconfig hook code from mod_disk_cache. You may have some
files still hanging around from before then.

Head builds fine for me, let me know if you still have a problem after
doing the above.

Thanks,

Paul J. Reder


Magnus Määttä wrote:

> Hi!
> 
>>>From latest CVS i get this compile error.
> 
> 
> /bin/sh /opt/DEV/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=link gcc  -g -O2
-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread    -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER
  -I/opt/DEV/Apache/httpd-2.0/srclib/apr/include -I/opt/DEV/Apache/httpd-2.0/srclib/apr-util/include
-I. -I/opt/DEV/Apache/httpd-2.0/os/unix -I/opt/DEV/Apache/httpd-2.0/server/mpm/worker -I/opt/DEV/Apache/httpd-2.0/modules/http
-I/opt/DEV/Apache/httpd-2.0/modules/filters -I/opt/DEV/Apache/httpd-2.0/modules/proxy -I/opt/DEV/Apache/httpd-2.0/include
-I/usr/include/openssl -I/opt/DEV/Apache/httpd-2.0/modules/dav/main -export-dynamic    -o
httpd  modules.lo  modules/aaa/mod_authn_file.la modules/aaa/mod_authn_default.la modules/aaa/mod_authz_host.la
modules/aaa/mod_authz_groupfile.la modules/aaa/mod_authz_user.la modules/aaa/mod_authz_default.la
modules/aaa/mod_auth_basic.la modules/ex
perimental/mod_disk_cache.la modules/experimental/mod_mem_cache.la modules/filters/mod_include.la
modules/filters/mod_deflate.la modules/loggers/mod_log_config.la modules/metadata/mod_env.la
modules/metadata/mod_mime_magic.la modules/metadata/mod_expires.la modules/metadata/mod_headers.la
modules/metadata/mod_usertrack.la modules/metadata/mod_unique_id.la modules/metadata/mod_setenvif.la
modules/ssl/mod_ssl.la modules/http/mod_http.la modules/http/mod_mime.la modules/dav/main/mod_dav.la
modules/generators/mod_status.la modules/generators/mod_autoindex.la modules/generators/mod_asis.la
modules/generators/mod_info.la modules/generators/mod_cgid.la modules/generators/mod_cgi.la
modules/dav/fs/mod_dav_fs.la modules/mappers/mod_vhost_alias.la modules/mappers/mod_negotiation.la
modules/mappers/mod_dir.la modules/mappers/mod_imap.la modules/mappers/mod_actions.la modules/mappers/mod_speling.la
modules/mappers/mod_userdir.la modules/mappers/mod_alias.la modules/mappers/mod_rewrite.la
 modules/mappers/mod_so.la server/mpm/worker/libworker.la server/libmain.la os/unix/libos.la
-lz -lssl -lcrypto /opt/DEV/Apache/httpd-2.0/srclib/pcre/libpcre.la /opt/DEV/Apache/httpd-2.0/srclib/apr-util/libaprutil-0.la
-lgdbm -ldb -lexpat /opt/DEV/Apache/httpd-2.0/srclib/apr/libapr-0.la -lm -lcrypt -lnsl -ldl
> modules/experimental/.libs/mod_disk_cache.al(mod_disk_cache.lo): In function `header_file':
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:138: undefined reference
to `generate_name'
> modules/experimental/.libs/mod_disk_cache.al(mod_disk_cache.lo): In function `data_file':
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:146: undefined reference
to `generate_name'
> modules/experimental/.libs/mod_disk_cache.al(mod_disk_cache.lo): In function `file_cache_read_mydata':
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:244: undefined reference
to `ap_cache_hex2usec'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:246: undefined reference
to `ap_cache_hex2usec'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:248: undefined reference
to `ap_cache_hex2usec'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:250: undefined reference
to `ap_cache_hex2usec'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:252: undefined reference
to `ap_cache_hex2usec'
> modules/experimental/.libs/mod_disk_cache.al(mod_disk_cache.lo): In function `file_cache_write_mydata':
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:293: undefined reference
to `ap_cache_usec2hex'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:294: undefined reference
to `ap_cache_usec2hex'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:295: undefined reference
to `ap_cache_usec2hex'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:296: undefined reference
to `ap_cache_usec2hex'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:297: undefined reference
to `ap_cache_usec2hex'
> modules/experimental/.libs/mod_disk_cache.al(mod_disk_cache.lo): In function `disk_cache_register_hook':
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:884: undefined reference
to `cache_hook_create_entity'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_disk_cache.c:885: undefined reference
to `cache_hook_open_entity'
> modules/experimental/.libs/mod_mem_cache.al(mod_mem_cache.lo): In function `register_hooks':
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_mem_cache.c:1131: undefined reference
to `cache_hook_create_entity'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_mem_cache.c:1132: undefined reference
to `cache_hook_open_entity'
> /opt/DEV/Apache/httpd-2.0/modules/experimental/mod_mem_cache.c:1133: undefined reference
to `cache_hook_remove_url'
> collect2: ld returned 1 exit status
> make[1]: *** [httpd] Error 1
> make[1]: Leaving directory `/opt/DEV/Apache/httpd-2.0'
> make: *** [all-recursive] Error 1
> 
> 
> Regards
> Magnus Määttä
> 
> 
> 


-- 
Paul J. Reder
-----------------------------------------------------------
"The strength of the Constitution lies entirely in the determination of each
citizen to defend it.  Only if every single citizen feels duty bound to do
his share in this defense are the constitutional rights secure."
-- Albert Einstein



Mime
View raw message