On Wed, Oct 7, 2009 at 10:06 AM, marcos <chipcmc@xxxxxxxxx> wrote: > Hello, > > I have a problem to active one module_cache in apache: > > > 1.First i compile the module mod_cache, not error founds: > > $/opt/apache2/bin/apxs -c mod_cache.c > /opt/apache2/build/libtool --silent --mode=compile gcc -prefer-pic > -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE > -g -O2 -pthread -I/opt/apache2/include -I/opt/apache2/include > -I/opt/apache2/include -c -o mod_cache.lo mod_cache.c && touch > mod_cache.slo > /opt/apache2/build/libtool --silent --mode=link gcc -o mod_cache.la > -rpath /opt/apache2/modules -module -avoid-version mod_cache.lo For more complicated modules, you need to pass it all the source files that comprise the module, including e.g. cache_storage.c cache_util.c -- see modules.mk in the cache/ directory. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx