[asterisk-bugs] [JIRA] (ASTERISK-21795) failed compilation - dns.c references res_nsearch which is not available on uclibc
Fabrice Fontaine (JIRA)
noreply at issues.asterisk.org
Wed Mar 8 12:49:03 CST 2023
[ https://issues.asterisk.org/jira/browse/ASTERISK-21795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261534#comment-261534 ]
Fabrice Fontaine commented on ASTERISK-21795:
---------------------------------------------
I sent the patch that we're using on buildroot: https://gerrit.asterisk.org/c/asterisk/+/19964
> 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
>
> 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