#51 network.c compile error on SLES9

open
Eric Rescorla
build (26)
5
2008-10-20
2008-10-20
Anonymous
No

gcc -g -O2 -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o network.o ./base/network.c -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/
In file included from base/network.h:97,
from base/network.c:51:
base/tcpconn.h:53: error: parse error before "tcp_seq"
base/tcpconn.h:53: warning: no semicolon at end of struct or union
base/tcpconn.h:56: error: parse error before '}' token
base/tcpconn.h:56: warning: data definition has no type or storage class
base/tcpconn.h:59: error: parse error before "tcp_seq"
base/tcpconn.h:59: warning: no semicolon at end of struct or union
base/tcpconn.h:60: warning: data definition has no type or storage class
base/tcpconn.h:62: error: parse error before '*' token
base/tcpconn.h:62: warning: data definition has no type or storage class
base/tcpconn.h:63: error: parse error before '}' token
base/tcpconn.h:63: warning: data definition has no type or storage class
base/tcpconn.h:82: error: parse error before "stream_data"
base/tcpconn.h:82: warning: no semicolon at end of struct or union
base/tcpconn.h:83: warning: data definition has no type or storage class
base/tcpconn.h:88: error: parse error before '}' token
base/tcpconn.h:88: warning: data definition has no type or storage class
base/tcpconn.h:90: error: parse error before '*' token
base/tcpconn.h:95: error: parse error before '*' token
base/tcpconn.h:99: error: parse error before '*' token
base/tcpconn.h:100: error: parse error before '*' token
base/tcpconn.h:101: error: parse error before '*' token
In file included from base/network.h:98,
from base/network.c:51:
base/proto_mod.h:60: error: parse error before "tcp_conn"
base/proto_mod.h:66: error: parse error before "segment"
base/proto_mod.h:80: error: parse error before "tcp_conn"
make: *** [network.o] Error 1

Discussion