apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@apache.org>
Subject Re: cvs commit: apr CHANGES STATUS
Date Sat, 12 Jan 2002 01:41:46 GMT
Jeff Trawick wrote:
> ianh@apache.org writes:
> 
> 
>>ianh        02/01/11 13:01:20
>>
>>  Modified:    include  apr_pools.h
>>               memory/unix apr_pools.c
>>               .        CHANGES STATUS
>>  Log:
>>  add a new define APR_POOL_DEBUG_VERBOSE
>>  which will print out where pools are created and their
>>  children in the destroy function
>>
> 
> So what changed w.r.t. APR_POOL_DEBUG?
> 
> I was defining it at the top of apr_pools.c...
> 
> Undefined                       first referenced
>  symbol                             in file
> apr_pool_create_ex                  htpasswd.o
> apr_pool_destroy
>  /export/home/trawick/apache/httpd-2.0/srclib/apr/.libs/libapr.so
> ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd
> make[2]: *** [htpasswd] Error 1
> make[2]: Leaving directory `/export/home/trawick/apache/httpd-2.0/support'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/home/trawick/apache/httpd-2.0/support'
> make: *** [all-recursive] Error 1
> [trawick@amadeus httpd-2.0]$
> 
> Ouch!!!!!!!!!

the include file changed.
you need to run make depend to get your dependancies right.

BTW turning on&off APR_POOL_DEBUG/
requires a recompile now as well, as other functions are not
defined like apr_pool_join.


> 
> Why can't APR_POOL_DEBUG do what it used to do (relatively quick to
> switch on and off) and some other define (APR_POOL_DEBUG_VERBOSE
> perhaps?) switch to saving __FILE__ and __LINE__?
> 
> 


Mime
View raw message