I've been trying serveral things with no success. I added -lresolv but I get
this message
collect2: ld returned 255 exit status
ld: 0706-006 Cannot find or open library file: -l resolv
        ld:open(): No such file or directory
make: The error code from the last command is 1.

If I redifine the symbols in dns.c then I get an error that the symbols are
already defiened... so I don't know which file is sending this problem...

Any ideas? help....

Guillermo Villasana Cardoza wrote:

> Hello I am trying to compile qmail in an AIX 4.2.1 with gcc  but  it
> stops and sends the following:
>
> ./load qmail-remote control.o constmap.o timeoutread.o  timeoutwrite.o t
>
> imeoutconn.o tcpto.o now.o dns.o ip.o  ipalloc.o ipme.o quote.o ndelay.a
> case.a
> sig.a open.a  lock.a seek.a getln.a stralloc.a alloc.a substdio.a
> error.a  str.a
>  fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`
> collect2: ld returned 8 exit status
> ld: 0711-317 ERROR: Undefined symbol: __res_query
> ld: 0711-317 ERROR: Undefined symbol: .__dn_expand
> ld: 0711-317 ERROR: Undefined symbol: .__res_init
> ld: 0711-317 ERROR: Undefined symbol: __res_search
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make: The error code from the last command is 1.
>
> Can somebody help me?

Reply via email to