Ethereal-dev: [Ethereal-dev] Sun C cannot build packet-rx.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Sun, 19 Aug 2001 19:33:09 -0500
>From packet-rx.h:

#define RX_MAXCALLS     4
struct rxkad_response {
        guint32 version;
        guint32 unused;
        struct {
                guint32 epoch;
                guint32 cid;
                guint32 cksum;
                guint32 security_index;
                guint32 call_numbers[RX_MAXCALLS];
                guint32 inc_nonce;
                guint32 level;
        } encrypted;
        guint32 kvno;
        guint32 ticket_len;
        u_char  the_ticket[0];
};

Sun C says:

cc -DHAVE_CONFIG_H -I. -I. -I.   -I. -I./wiretap -I./epan
-I/opt/TWWfsw/libpcap/include -I/opt/TWWfsw/zlib11/include
-I/opt/TWWfsw/ucdsnmp42/include  -mr -Qn -xstrconst -xO2
-xtarget=generic -I. -I./wiretap -I./epan
-I/opt/TWWfsw/gtk+12/include/gtk-1.2
-I/opt/TWWfsw/glib12/include/glib-1.2
-I/opt/TWWfsw/glib12/lib/glib/include -I/usr/openwin/include
-I/opt/TWWfsw/ucdsnmp42/include -c packet-afs.c
"./packet-rx.h", line 105: zero or negative subscript

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)