Faris Hassani writes: 

> Hi, 
> 
> I'm having problem in compiling and loading the librfc1035.a. The culprit 
> is rfc1035_default_resolver. rfc1035_default_resolver seems to be 
> undefined. 
> 
> The only way I can think of to solve this is by redefining 
> 
> rfc1035_res.h : struct rfc1035_res rfc1035_default_resolver;
> rfc1035_res.c : extern struct rfc1035_res rfc1035_default_resolver; 
> 
> originally 
> 
> rfc1035_res.c : extern struct rfc1035_res rfc1035_default_resolver;
> rfc1035_res.h : struct rfc1035_res rfc1035_default_resolver; 
> 
> This seems to solve the problem of compiling and loading the library. Is 
> this ok?

No, it's not OK.  Instantiating rfc1035_default_resolver in every module is 
plainly wrong. 

-- 
Sam 


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to