[asterisk-bugs] [JIRA] (ASTERISK-21795) failed compilation - dns.c references res_nsearch which is not available on uclibc
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Thu Mar 16 10:23:03 CDT 2023
[ https://issues.asterisk.org/jira/browse/ASTERISK-21795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261571#comment-261571 ]
Friendly Automation commented on ASTERISK-21795:
------------------------------------------------
Change 19965 merged by Friendly Automation:
configure: fix detection of re-entrant resolver functions
[https://gerrit.asterisk.org/c/asterisk/+/19965|https://gerrit.asterisk.org/c/asterisk/+/19965]
> failed compilation - dns.c references res_nsearch which is not available on uclibc
> ----------------------------------------------------------------------------------
>
> Key: ASTERISK-21795
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-21795
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/Portability
> Affects Versions: SVN
> Environment: Alpine
> µClibc 0.9.33.2
> Reporter: Julius Schwartzenberg
> Assignee: Fabrice Fontaine
>
> Compiling Asterisk on Alpine which uses µClibc gives the following compilation error:
> dns.o: In function `ast_search_dns':
> /root/asterisk/asterisk-trunk/main/dns.c:272: undefined reference to `res_nsearch'
> collect2: error: ld returned 1 exit status
> make[1]: *** [asterisk] Error 1
> make: *** [main] Error 2
> It seems HAVE_RES_NINIT does not imply that res_nsearch is there as well.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list