When you try to compile flow-tools 0.67 with MySQL,like this:"./configure --with-mysql=PATH",you will get the following error:
----------
flow-export.c: In function `format3':
flow-export.c:761: error: `debug' undeclared (first use in this function)
flow-export.c:761: error: (Each undeclared identifier is reported only once
flow-export.c:761: error: for each function it appears in.)
make[1]: *** [flow_export-flow-export.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/tmp/flow-tools-0.67/src'
make: *** [all-recursive] Error 1
----------
because of the variable 'debug' is declared in main-function, not a global
variable,so format3-function can't use it.edit src/flow-export.c and find the
line of "int debug;", move it before the line of "int main(int argc, char **argv);",
then the variable 'debug' become a global variable.ok,the problem is fix up.
I am sorry my English is not very good.
・1.5G全国最大空间――网易126免费邮箱 http://www.126.com 火热抢注中>>>
_______________________________________________ Flow-tools mailing list [EMAIL PROTECTED] http://mailman.splintered.net/mailman/listinfo/flow-tools
