From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 08:24:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8369F1065679 for ; Thu, 13 Nov 2008 08:24:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 6511C8FC1A for ; Thu, 13 Nov 2008 08:24:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id eYLg1a0050FhH24A3YQ37Q; Thu, 13 Nov 2008 08:24:03 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id eYQ21a0022P6wsM8UYQ2Mo; Thu, 13 Nov 2008 08:24:02 +0000 X-Authority-Analysis: v=1.0 c=1 a=_jwf7xEnl2UA:10 a=uO20VAJa9lgA:10 a=QycZ5dHgAAAA:8 a=QMH5OMuw9wf2sBR7BgAA:9 a=bC29bDWoh6p-dCYPRkYkbSS2drMA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 37E685C19; Thu, 13 Nov 2008 00:24:02 -0800 (PST) Date: Thu, 13 Nov 2008 00:24:02 -0800 From: Jeremy Chadwick To: Markus Hoenicka Message-ID: <20081113082402.GA14906@icarus.home.lan> References: <18715.28127.306511.577084@yeti.mininet> <20081113042912.GA10018@icarus.home.lan> <20081113090021.less3h5iwwsgwsg4@webmail.df.eu> <20081113081456.GA14564@icarus.home.lan> <20081113092059.gjjufgrxss0gwww0@webmail.df.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081113092059.gjjufgrxss0gwww0@webmail.df.eu> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@FreeBSD.org Subject: Re: dlsym can't use handle returned by dlopen? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2008 08:24:03 -0000 On Thu, Nov 13, 2008 at 09:20:59AM +0100, Markus Hoenicka wrote: > Quoting Jeremy Chadwick : > >> When I looked at the resulting symbol names using nm or objdump, certain >> characters were prepended to them. There's a gcc or ld flag which >> disables this behaviour. I'll have to dig around to remind myself what >> it is. Once I read about it, it made perfect sense. >> >> Again, if you want me to write some code and provide some output of >> what I'm talking about, I can do so. >> > > I'd greatly appreciate any help here. I feel what I'm doing now is > writing ugly hacks to make things work somehow. I'd prefer to do it > properly. No problem. I'll try to get something small/simple written up tonight (I'm at work right now) and send it out. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |