Hi Andreas,
Do not you have defined any macro FILE_OPEN_ERROR or NO_DATA somewhere
else?
Try only to preprocess tap_rtp.c and look into the result at the
suspcious place.
There is some error in the error_type_t definition and all following
errors are consequence of it.
regards,
Tom
andreas.sikkema@xxxxxxxxxxx wrote:
>
> rpc_stat.c
> rpc_progs.c
> smb_stat.c
> tap_rtp.c
> tap_rtp.c(147) : error C2059: syntax error : '('
> tap_rtp.c(199) : error C2061: syntax error : identifier 'error_type_t'
> tap_rtp.c(200) : error C2061: syntax error : identifier 'r_error_type'
> tap_rtp.c(200) : error C2059: syntax error : ';'
> tap_rtp.c(203) : error C2059: syntax error : '}'
> tap_rtp.c(210) : error C2065: 'info_stat' : undeclared identifier
> tap_rtp.c(210) : error C2065: 'rs' : undeclared identifier
> tap_rtp.c(210) : error C4047: '=' : 'int ' differs in levels of
> indirection from 'void *'
> tap_rtp.c(210) : error C2106: '=' : left operand must be l-value
> tap_rtp.c(212) : error C2223: left of '->f_first_packet' must point to
> struct/union
> tap_rtp.c(213) : error C2223: left of '->r_first_packet' must point to
> struct/union
> tap_rtp.c(214) : error C2223: left of '->f_max_delay' must point to
> struct/union
> tap_rtp.c(215) : error C2223: left of '->r_max_delay' must point to
> struct/union
> tap_rtp.c(216) : error C2223: left of '->f_max_nr' must point to
> struct/union
> tap_rtp.c(217) : error C2223: left of '->r_max_nr' must point to
> struct/union
> tap_rtp.c(218) : error C2223: left of '->f_total_nr' must point to
> struct/union
> tap_rtp.c(219) : error C2223: left of '->r_total_nr' must point to
> struct/union
> tap_rtp.c(220) : error C2223: left of '->f_sequence' must point to
> struct/union
> tap_rtp.c(221) : error C2223: left of '->r_sequence' must point to
> struct/union
> tap_rtp.c(222) : error C2223: left of '->f_start_seq_nr' must point to
> struct/union
> tap_rtp.c(223) : error C2223: left of '->r_start_seq_nr' must point to
> struct/union
> tap_rtp.c(224) : error C2223: left of '->f_stop_seq_nr' must point to
> struct/union
> tap_rtp.c(225) : error C2223: left of '->r_stop_seq_nr' must point to
> struct/union
>
> Aynone any ideas? I think something is very wrong, but I am unsure what it
> is.
> The error messages are not very helpful :-(
>
> There is nog "(" on line 147....
>
> --
> Andreas Sikkema
> andreas.sikkema@xxxxxxxxxxx
> "While you're waiting, read the free novel we sent you.
> It's a Spanish story about a guy named `Manual'" - Dilbert
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev