[JDEV] Server 1.2 on Solaris 2.6

Scott Nestor scott_nestor at fanniemae.com
Wed Jan 10 09:39:40 CST 2001


Anybody run into this on Solaris 2.6 .. I can't make libxode-1.2
(libxode-1.0 was fine).  Here's the message:

In file included from ../include/libxode.h:17,
                 from xstream.c:20:
/usr/include/resolv.h:140: `MAXDNAME' undeclared here (not in a
function)
make[1]: *** [xstream.lo] Error 1
make[1]: Leaving directory `/home/g3ustn/libxode-1.2/src'
make: *** [all-recursive] Error 1

Yes, I'm using gnu make (v3.76.1)

Here's a snipit from the resolv.h file (file date is 1997):

#define nsaddr  nsaddr_list[0]          /* for backward compatibility */

        u_short id;                     /* current packet id */
        char    *dnsrch[MAXDNSRCH+1];   /* components of domain to
search */
        char    defdname[MAXDNAME];     /* default domain */
        u_long  pfcode;                 /* RES_PRF_ flags - see below.
*/
        unsigned ndots:4;               /* threshold for initial abs.
query */
        unsigned nsort:4;               /* number of elements in
sort_list[] */
        char    unused[3];

fyi ... I don't know C






More information about the JDev mailing list