|
From: ZhangPu <zh...@fj...> - 2005-02-10 06:51:52
|
/usr/include/dlfcn.h #ifdef __USE_GNU =2E.. # define RTLD_NEXT ((void *) -1l) =2E.. #endif Need a GNU make? On Thu, 10 Feb 2005 15:36:16 +0900 ZhangPu <zh...@fj...> wrote: >=20 > Thanks for you supplied this tool. > I'm compiling it now. >=20 > 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.) >=20 > 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 s= et to RTLD_NEXT > /usr/include/dlfcn.h:# define RTLD_NEXT ((void *) -1l) >=20 > Any ideas? >=20 > Thanks & Regards > Pu > On Wed, 09 Feb 2005 21:40:33 -0800 > Howard Chu <hy...@sy...> wrote: >=20 > > Robert Walsh wrote: > >=20 > > >>So what can I do? I want to test memory leak for our ia64 application.= =20 > > >>Do you know other tool can be used on ia64?=20 > > >> =20 > > >> > > > > > >Sorry - I can't think of any. You might want to try porting to x86 an= d > > >testing there, but it won't be perfect. > > > > > I think FunctionCheck should work. I have an update to correct some=20 > > int/long portability issues I encountered on an x86_64 test, still need= =20 > > to get that posted onto my web site. (See the HighlandSun link in my=20 > > .sig...) > >=20 > > --=20 > > -- Howard Chu > > Chief Architect, Symas Corp. Director, Highland Sun > > http://www.symas.com http://highlandsun.com/hyc > > Symas: Premier OpenSource Development and Support >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |