http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1708
Summary: packet-ber.h does not compile on solaris with sun c
Product: Wireshark
Version: SVN
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Major
Priority: Medium
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: io@xxxxxxxxxxxx
Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
packet-ber.h on SVN 22401 does not build on solaris with sun c due to the
following errors:
"packet-ber.h", line 26: warning: invalid white space character in directive
"packet-ber.h", line 27: warning: invalid white space character in directive
"packet-ber.h", line 29: warning: invalid white space character in directive
"packet-ber.h", line 30: warning: invalid white space character in directive
"packet-ber.h", line 31: warning: invalid white space character in directive
"packet-ber.h", line 33: warning: invalid white space character in directive
"packet-ber.h", line 34: syntax error before or at: 0
"packet-ber.h", line 34: warning: function prototype parameters must have types
"packet-ber.h", line 34: warning: old-style declaration or incorrect type for:
p
roto_tree_add_text
"packet-ber.h", line 34: identifier redeclared: proto_tree_add_text
current : function() returning int
previous: function(pointer to struct _proto_node {pointer to struct
_pro
to_node {..} first_child, pointer to struct _proto_node {..} last_child,
pointer
to struct _proto_node {..} next, pointer to struct _proto_node {..} parent,
poi
nter to struct field_info {..} finfo, pointer to struct {..} tree_data},
pointe
r to struct tvbuff {enum {TVBUFF_COMPOSITE(2), TVBUFF_SUBSET(1),
TVBUFF_REAL_DA
TA(0)} type, int initialized, unsigned int usage_count, pointer to struct
tvbuff
{..} ds_tvb, pointer to struct _GSList {..} used_in, union {..} tvbuffs,
point
er to const unsigned char real_data, unsigned int length, unsigned int
reported_
length, int raw_offset, pointer to function(..) returning void free_cb}, int,
in
t, pointer to const char, ...) returning pointer to struct _proto_node {pointer
to struct _proto_node {..} first_child, pointer to struct _proto_node {..}
last_
child, pointer to struct _proto_node {..} next, pointer to struct _proto_node
{.
.} parent, pointer to struct field_info {..} finfo, pointer to struct {..}
tree
_data} : "../../epan/proto.h", line 497
"packet-ber.h", line 34: invalid source character: '\'
"packet-ber.h", line 35: syntax error before or at: (
"packet-ber.h", line 35: warning: old-style declaration or incorrect type for:
f
printf
"packet-ber.h", line 35: warning: identifier redeclared: fprintf
current : function() returning int
previous: function(pointer to struct __FILE {int _cnt, pointer to
unsign
ed char _ptr, pointer to unsigned char _base, unsigned char _flag, unsigned
char
_file, unsigned int __orientation :2, unsigned int __ionolock :1, unsigned int
__filler :5}, pointer to const char, ...) returning int :
"/usr/include/iso/stdi
o_iso.h", line 175
"packet-ber.h", line 35: warning: old-style declaration or incorrect type for:
p
info
"packet-ber.h", line 35: warning: old-style declaration or incorrect type for:
f
d
"packet-ber.h", line 35: warning: old-style declaration or incorrect type for:
n
um
"packet-ber.h", line 35: warning: old-style declaration or incorrect type for:
x
"packet-ber.h", line 35: syntax error before or at: )
"packet-ber.h", line 35: warning: syntax error: empty declaration
"packet-ber.h", line 35: invalid source character: '\'
"packet-ber.h", line 36: syntax error before or at: ->
"packet-ber.h", line 36: warning: old-style declaration or incorrect type for:
c
heck_col
"packet-ber.h", line 36: warning: no explicit type given for parameter:
COL_INFO
"packet-ber.h", line 36: warning: Prototype mismatch in arg 1 for function
check
_col:
function : old style declaration int
prototype: pointer to struct _column_info {int num_cols, pointer to int
col_fmt, pointer to pointer to int fmt_matx, pointer to int col_first, pointer
t
o int col_last, pointer to pointer to char col_title, pointer to pointer to
cons
t char col_data, pointer to pointer to char col_buf, pointer to int col_fence,
p
ointer to pointer to char col_expr, pointer to pointer to char col_expr_val,
int
writable, int columns_changed}
"packet-ber.h", line 36: warning: parameter mismatch: 2 declared, 1 defined
"packet-ber.h", line 36: invalid source character: '\'
"packet-ber.h", line 37: left operand of "->" must be pointer to struct/union
"packet-ber.h", line 37: invalid source character: '\'
"packet-ber.h", line 38: cannot recover from previous errors
cc: acomp failed for packet-cops.c
gmake[4]: *** [packet-cops.lo] Error 1
NOTE: packet-ber.* from SVN 20946 builds fine.
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.