Hi --

I'm trying to install qmail on a Solaris box, and when running "make setup
check" I'm getting the following string:

... [happy compile messages] ...
./compile dns.c
"/usr/include/arpa/nameser.h", line 127: warning: const is a keyword in
ANSI C
"/usr/include/arpa/nameser.h", line 127: syntax error before or at: const
"/usr/include/arpa/nameser.h", line 127: cannot recover from previous
errors
make: *** [dns.o] Error 10
#

The relevant lines of /usr/include/arpa/nameser.h are:

typdef struct __ns_msg {
        const uchar_t   *_msg, *_eom;
        uint16_t        _id, _flags, _counts[ns_s_max];
        const uchar_t   *_sections[ns_s_max];
        ns_sect         _sect;
        int             _rrnum;
        const uchar_t   *_ptr;
} ns_msg;

Does anyone have any pointers on how to resolve this?

Thanks,

Fish Flowers.

Reply via email to