[netflow-tools] Solaris 10 softflowd build

Canell, Stephen E (2240) stephen.e.canell at jpl.nasa.gov
Thu Aug 2 03:23:18 EST 2012


Tried to compile softflowd-0.9.9 on Solaris 10 using gcc and got the following:

This is just the start of the error messages….

make
gcc -g -O2 -I. -c  softflowd.c
In file included from softflowd.h:31,
                 from softflowd.c:48:
treetype.h:52:2: #error No flow tree type defined
treetype.h:80:2: #error No expiry tree type defined
In file included from softflowd.c:48:
softflowd.h:90: error: syntax error before "FLOW_HEAD"
softflowd.h:90: warning: no semicolon at end of struct or union
softflowd.h:91: error: syntax error before "expiries"
softflowd.h:91: warning: data definition has no type or storage class
softflowd.h:149: error: syntax error before '}' token
softflowd.h:162: error: syntax error before "FLOW_ENTRY"
softflowd.h:162: warning: no semicolon at end of struct or union
softflowd.h:181: error: conflicting types for 'octets'
softflowd.h:126: error: previous declaration of 'octets' was here
softflowd.h:182: error: conflicting types for 'packets'
softflowd.h:127: error: previous declaration of 'packets' was here
softflowd.h:183: error: syntax error before '}' token
softflowd.h:200: error: syntax error before "EXPIRY_ENTRY"
softflowd.h:200: warning: no semicolon at end of struct or union
softflowd.h:208: error: syntax error before '}' token
In file included from softflowd.c:49:
treetype.h:52:2: #error No flow tree type defined
treetype.h:80:2: #error No expiry tree type defined
softflowd.c: In function `flow_compare':
softflowd.c:142: error: dereferencing pointer to incomplete type
softflowd.c:142: error: dereferencing pointer to incomplete type
softflowd.c:143: error: dereferencing pointer to incomplete type
softflowd.c:143: error: dereferencing pointer to incomplete type
softflowd.c:145: error: dereferencing pointer to incomplete type
softflowd.c:145: error: dereferencing pointer to incomplet……………………………….

-=Steve
--

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mindrot.org/pipermail/netflow-tools/attachments/20120801/7fb0e982/attachment.html>


More information about the netflow-tools mailing list