Re: [Exim] Bug in compiling 3.34

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Pierre A. Humblet
Date:  
À: georgek
CC: Phil Pennock, exim-users
Sujet: Re: [Exim] Bug in compiling 3.34
"George R. Kasica" wrote:
>
> On Thu, 27 Dec 2001 13:48:23 +0100, you wrote:


> dns.o: In function `dns_init':
> dns.o(.text+0x8): undefined reference to `__res_state'
> dns.o(.text+0x15): undefined reference to `__res_init'


As noted by others, this has nothing to do with Exim
The following two line program should fail as well:
#include <resolv.h>
main() { res_init(); }

It is possible that your system has a resolv.h file
that doesn't match your resolver library. The mapping
from res_init to __res_init is done in resolv.h
Some systems don't use the __ prefix.

The error about __res_state is weird. I don't find a
reference to it in dns.c I thought it was used in
"struct __res_state { ", not as a symbol. Again
your resolv.h may be acting strangely.


Pierre