Title: RE: [Flow-tools] error when making flow-tools on aix5.3 with gcc4.0

About a month ago soundom wrote:
> When installing flow-tools-0.68 on AIX5.3 with gcc4.02 ,
> something is wrong;
> I have searched the maillist and finded
> this:http://www.mail-archive.com/[EMAIL PROTECTED]
t/msg00646.html
> I changed  ./lib/ftchash.c ./lib/ftio.c ./lib/fttlv.c;  But
> it doesn't solve all my problems.
> Any thoughts or opinions is appreciated.

FWIW flow-tools compiles on AIX5.1 via "gcc version 2.9-aix43-010414". You still have to  comment out  the #include <netinet/udp.h> but everything else compiles.

<snip>

> [EMAIL PROTECTED]:/netflow/flow-tools-0.68]make
> Making all in lib
>         make  all-am
>         source='ftio.c' object='ftio.o' libtool=no 
> depfile='.deps/ftio.Po' tmpdepfile='.deps/ftio.TPo' 
> depmode=gcc3 /bin/sh ../depcomp  gcc -I. -I./lib -I. -I. -I. 
>    -g -Wall -g -Wall -c `test -f 'ftio.c' || echo './'`ftio.c
> In file included from ftio.c:30:
> ftlib.h:477: warning: no semicolon at end of struct or union
> ftlib.h:477: error: syntax error before '.' token
> ftlib.h:494: error: syntax error before '}' token
> make: 1254-004 The error code from the last command is 1.

Can you double check that you have not edited ftlib.h as I can't see how you can get the "syntax error before '.' token". There is no "." in this section of the code to complain about.

Cheers

Alistair


**********************************************************************

Registered Office:

Marks and Spencer plc

Waterside House

35 North Wharf Road

London

W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422

Facsimile (020) 7487 2670

<<www.marksandspencer.com>>

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful.

2005

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

Reply via email to