[Centos] error compiling flow-tools! :-(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>From the flow-tools mailing list...

-----

There's a problem with the source and newer versions of gcc. You can get
around this problem by adding little:

do{}while(0);

statements after the labels (like on line 554 in your case) to pacify the
compiler. You need to add about half a dozen and then things work again.

-----

For more help, I'd suggest joining the flow-tools mailing list.

Robert S. Galloway
Chief Network Security Engineer
IKANO Communications
Network Operations Department
...the team behind the machines

"You have enemies? Good. That means you've stood up for something,
some time in your life." -- Winston Churchill
 
 
 -----Original Message-----
From: centos-bounces@xxxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxxx] On
Behalf Of israel.garcia@xxxxxxxxxxxx
Sent: Wednesday, March 23, 2005 1:04 PM
To: centos@xxxxxxxxxxx
Subject: [Centos] error compiling flow-tools! :-(

I am trying to compile flow-tools.0.66 or flow-tools.0.67 and I got this
error
with the make command:

[root@razor flow-tools-0.67]# ./configure ---> OK
[root@razor flow-tools-0.67]# make
Making all in lib
make[1]: Entering directory `/usr/local/src/flow-tools-0.67/lib'
make  all-am
make[2]: Entering directory `/usr/local/src/flow-tools-0.67/lib'
make[2]: Leaving directory `/usr/local/src/flow-tools-0.67/lib'
make[1]: Leaving directory `/usr/local/src/flow-tools-0.67/lib'
Making all in src
make[1]: Entering directory `/usr/local/src/flow-tools-0.67/src'
if gcc -I./../lib -L./../lib  -I. -I. -I../lib    -g -Wall -g -Wall -MT
flow-cat.o -MD -MP -MF ".deps/flow-cat.Tpo" \
  -c -o flow-cat.o `test -f 'flow-cat.c' || echo './'`flow-cat.c; \
then mv ".deps/flow-cat.Tpo" ".deps/flow-cat.Po"; \
else rm -f ".deps/flow-cat.Tpo"; exit 1; \
fi
flow-cat.c: In function `main':
flow-cat.c:555: error: label at end of compound statement
make[1]: *** [flow-cat.o] Error 1
make[1]: Leaving directory `/usr/local/src/flow-tools-0.67/src'
make: *** [all-recursive] Error 1
[root@razor flow-tools-0.67]#

can you help me?

regards
israel

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxxx
http://lists.caosity.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux