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

Bug#184573: also with res_mkquery



hi!

the same problem applies here: res_mkquery is unresolved in -lresolv

maybe this is a bug in gcc or binutils?

test code from autoconf follows:

// gcc -o test1 -g -O2 test1.c -lresolv

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char res_mkquery ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
res_mkquery ();
  ;
  return 0;
}

-- 
Robert Millan

make: *** No rule to make target `war'.  Stop.

Another world is possible - Just say no to genocide



Reply to: