Awesome!  Thanks Jonathan, worked like a charm!

 

 

 


From: Jonathan Glass [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 4:42 PM
To: 'John Hally'; [email protected]
Subject: RE: [Flow-tools] Make error

 

Gee! I think I've seen this one before...

 

On Feb 03, "Aaron Thomas" wrote:

> Hi List,

>

> I am attempting to compile flow-tools on an AMD64 in Gentoo 2.6.9-r14.

> The error I get is:

>

> 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

>

> The source in question is:

>

> 550: if (done)

> 551: break;

> 552:

> 553: next_file:

> 554:

> 555: } /* FOREACH filename in dir */

> 556:

> 557: } /* foreach dir bundle */

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.

Mike

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hally
Sent: Wednesday, March 16, 2005 4:41 PM
To: '[email protected]'
Subject: [Flow-tools] Make error

Hello All,

 

I'm a total newbie to flow-tools so I hope this isn't somewhere already, but during the make portion of the install of ver .67 I'm getting:

 

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

 

 

 

I'm running on RH fedora Core3.  Any help would be greatly appreciated.

 

Thanks!

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

Reply via email to