Date: Wed, 28 Jan 1998 18:21:58 -0700 From: Nate Williams <nate@mt.sri.com> To: John Polstra <jdp@polstra.com> Cc: Nate Williams <nate@mt.sri.com>, hackers@FreeBSD.ORG Subject: Re: dladdr: Hel-lo-o-o? Message-ID: <199801290121.SAA07719@mt.sri.com> In-Reply-To: <199801290120.RAA01616@austin.polstra.com> References: <199801290113.SAA07616@mt.sri.com> <199801290120.RAA01616@austin.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Let me try this one. Is there any include files I need to get the > > definitions for dl_info and dladdr? > > Will you always be building on a machine that has dladdr? Yep. > If so, > then you can get rid of the lines: > > struct dl_info; > extern int dladdr(void *, struct dl_info *); > > and include <dlfcn.h> instead. Cool. I have a machine with the patches, and without. So, if/when I get 20 free minutes I'll try it out. :) Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801290121.SAA07719>