LINUX.ORG.RU

ошибка компиляции rblsmtpd


0

0

При компиляции выдает следуещее # make ./load rblsmtpd txt.o commands.o ip.o getopt.a strerr.a \ substdio.a stralloc.a alloc.a error.a case.a env.a str.a \ fs.a `cat dns.lib` `cat socket.lib` rblsmtpd.o: In function `main': rblsmtpd.o(.text+0x3db): undefined reference to `res_init' txt.o: In function `txt': txt.o(.text+0xd1): undefined reference to `__res_query' txt.o(.text+0x144): undefined reference to `__dn_expand' txt.o(.text+0x195): undefined reference to `__dn_expand' collect2: ld returned 1 exit status make: *** [rblsmtpd] Ошибка 1

Добавление в conf-ld -lresolv Приводит к следующему # make ./load rblsmtpd txt.o commands.o ip.o getopt.a strerr.a \ substdio.a stralloc.a alloc.a error.a case.a env.a str.a \ fs.a `cat dns.lib` `cat socket.lib` rblsmtpd.o: In function `main': rblsmtpd.o(.text+0x3db): undefined reference to `res_init' collect2: ld returned 1 exit status make: *** [rblsmtpd] Ошибка 1

anonymous

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.