[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#184573: missing res_search in -lresolv



Bah, disregard my previous comment.  It should be present.

On Thu, Mar 13, 2003 at 10:51:05AM +0100, Robert Millan wrote:
> Package: libc0.3
> Severity: normal
> 
> res_search is not present in -lresolv for libc0.3. from an autoconf test:
> 
> $ cat test.c
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char res_search();
>  
> int main()
> {
>   res_search();
>   return 0;
> }
> $ gcc test.c -o /dev/null -lresolv
> /tmp/cct24sIo.o(.text+0x11): In function `main':
> : undefined reference to `res_search'
> collect2: ld returned 1 exit status
> 
> -- 
> Robert Millan
> 
> make: *** No rule to make target `war'.  Stop.
> 
> Another world is possible - Just say no to genocide
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-glibc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: