GDB a VFS module

'Jelmer Vernooij' jelmer at vernstok.nl
Fri Apr 23 16:07:52 GMT 2004


Hi Jagan,

On Fri, Apr 23, 2004 at 08:59:10AM -0700, Jagan wrote about 'RE: GDB a VFS module':
>    I was able to resolve it by changing
> do_smb_load_module->dlopen to take in RTLD_NOW instead
> of RTLD_LAZY. This made the references resolved at
> load time. Funnily resolving a .a reference at run
> time doesnt seem to work. 
>    Who should i follow up with to possibly change
> dlopen to use this flag. 
I don't think we should change this to RTLD_NOW (I've put RTLD_LAZY 
in there for a good reason), unless you can explain why linking
against a .a doesn't work.

Cheers,

jelmer

> with best regards
> Jagan.
> --- Henrik Nordstrom <hno at squid-cache.org> wrote:
> > On Thu, 22 Apr 2004, Jagan wrote:

> > > -lmysql is also linking in a .so . In my case I am
> > linking in ".a" into a
> > > ".so". Is that a legal thing to do at all.

> > No problem, at least not unless you have many
> > objects using the same .a 
> > file.. (duplication of code).

> > Regards
> > Henrik






> __________________________________
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25?
> http://photos.yahoo.com/ph/print_splash

-- 
Jelmer Vernooij <jelmer at vernstok.nl> - http://jelmer.vernstok.nl/
Todo: 0


More information about the samba-technical mailing list