[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
also with res_mkquery
From: |
Robert Millan |
Subject: |
also with res_mkquery |
Date: |
Fri, 11 Apr 2003 14:50:00 +0200 |
User-agent: |
Mutt/1.4i |
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
- also with res_mkquery,
Robert Millan <=