|
From: ZhangPu <zh...@fj...> - 2005-02-10 06:36:58
|
Thanks for you supplied this tool. I'm compiling it now. But I got the error fllowing when did 'make': fncmalloc.c: In function `hx_init_malloc': fncmalloc.c:34: error: `RTLD_NEXT' undeclared (first use in this function) fncmalloc.c:34: error: (Each undeclared identifier is reported only once fncmalloc.c:34: error: for each function it appears in.) checked dlfcn.h [isdev@ipf124 fnccheck]$ rpm -qf /usr/include/dlfcn.h glibc-headers-2.3.3-73 [isdev@ipf124 fnccheck]$ grep RTLD_NEXT /usr/include/* 2> /dev/null /usr/include/dlfcn.h:/* If the first argument of `dlsym' or `dlvsym' is set to RTLD_NEXT /usr/include/dlfcn.h:# define RTLD_NEXT ((void *) -1l) Any ideas? Thanks & Regards Pu On Wed, 09 Feb 2005 21:40:33 -0800 Howard Chu <hy...@sy...> wrote: > Robert Walsh wrote: > > >>So what can I do? I want to test memory leak for our ia64 application. > >>Do you know other tool can be used on ia64? > >> > >> > > > >Sorry - I can't think of any. You might want to try porting to x86 and > >testing there, but it won't be perfect. > > > I think FunctionCheck should work. I have an update to correct some > int/long portability issues I encountered on an x86_64 test, still need > to get that posted onto my web site. (See the HighlandSun link in my > .sig...) > > -- > -- Howard Chu > Chief Architect, Symas Corp. Director, Highland Sun > http://www.symas.com http://highlandsun.com/hyc > Symas: Premier OpenSource Development and Support |