Re: compilation fails with WANT_PLUGPLAY_DNS undefined

Felix von Leitner <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
> When compiling vanilla dietlibc without WANT_PLUGPLAY_DNS defined in
> dietfeatures.h, compilation fails with:

> libcruft/res_query.c: In function 'res_query':
> libcruft/res_query.c:134: error: label 'nxdomain' used but not defined
> make: *** [bin-i386/res_query.o] Error 1

Uh, my vanilla gcc 4.4.0 does not even warn about unused labels unless
you explicitly tell it to, much less it is an error.

Are you using some custom gcc version there?

> http://jusa.telco-tech.de/patches/dietlibc-nxdomain.patch

Thanks!

Felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.