On Oct 26, "Jee Kay" wrote:

> I'm trying to compile flow-tools (0.68) on Solaris, but it is
> complaining about the use of u_int8_t in ftxlate.c:
> 
> gcc -I. -I./lib -I. -I. -I.     -g -Wall -g -Wall -c `test -f
> 'ftxlate.c' || echo './'`ftxlate.c
> ftxlate.c:69: parse error before `u_int8_t'
> ftxlate.c:69: warning: no semicolon at end of struct or union
> ftxlate.c:70: warning: type defaults to `int' in declaration of `m_pad'
> ftxlate.c:70: warning: data definition has no type or storage class
> 
> The rest of the code, using u_int8, seems to compile fine. Is there
> any reason to not just replace u_int8_t with uint_8? If that is
> horribly stupid, what is the correct way to fix this?

I think the author just hasn't gotten around to fixing it yet.  I searched
on some of the compiler error text and came to this:

http://mailman.splintered.net/pipermail/flow-tools/2005-June/002800.html

Mike
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to