[Asterisk-Dev] compile problems with db

Dinesh Nair dinesh at alphaque.com
Mon Oct 10 21:29:07 MST 2005



On 10/11/05 12:06 Jason Pyeron said the following:
> dns.o: In function `ast_search_dns':
> /tmp/asterisk/dns.c:199: undefined reference to `___res_ninit'
> /tmp/asterisk/dns.c:200: undefined reference to `___res_nsearch'
> /tmp/asterisk/dns.c:219: undefined reference to `___res_nclose'
> utils.o: In function `ast_gethostbyname':
> /tmp/asterisk/utils.c:195: undefined reference to `_gethostbyname_r'
> collect2: ld returned 1 exit status
> make: *** [asterisk] Error 1

looks like a missing -L for library paths somewhere.

-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



More information about the asterisk-dev mailing list