[flow-tools] Problems compiling flow-tools

Kevin Welch kevinw@iserv.net
Thu, 2 May 2002 11:31:57 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1F1EE.7EAEA12E
Content-Type: text/plain;
	charset="iso-8859-1"

I get the follow errors when compiling flow-tools on Mandrake 8.2.  Any
ideas?

gcc  -I../lib -L../lib    -g -Wall -c aclyacc.c
y.tab.c: In function `yyparse':
y.tab.c:417: warning: implicit declaration of function `yylex'
y.tab.c:458: warning: implicit declaration of function `yyerror'
gcc  -I../lib -L../lib    -g -Wall -c acllex.c
lex.yy.c:1225: warning: `yyunput' defined but not used
gcc  -I../lib -L../lib    -g -Wall -c acl2.c
gcc  -g -Wall  -o flow-filter -L../lib flow-filter.o aclyacc.o acllex.o
acl2.o -lft   -lnsl -lz 
acllex.o: In function `yylex':
/home/cflow/flow-tools-0.57/src/lex.yy.c:958: undefined reference to
`yywrap'
acllex.o: In function `input':
/home/cflow/flow-tools-0.57/src/lex.yy.c:1307: undefined reference to
`yywrap'
collect2: ld returned 1 exit status
make[1]: *** [flow-filter] Error 1
make[1]: Leaving directory `/home/cflow/flow-tools-0.57/src'
make: *** [all-recursive] Error 1

------_=_NextPart_001_01C1F1EE.7EAEA12E
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.61">
<TITLE>Problems compiling flow-tools</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I get the follow errors when compiling flow-tools on =
Mandrake 8.2.&nbsp; Any ideas?</FONT>
</P>

<P><FONT SIZE=3D2>gcc&nbsp; -I../lib -L../lib&nbsp;&nbsp;&nbsp; -g =
-Wall -c aclyacc.c</FONT>
<BR><FONT SIZE=3D2>y.tab.c: In function `yyparse':</FONT>
<BR><FONT SIZE=3D2>y.tab.c:417: warning: implicit declaration of =
function `yylex'</FONT>
<BR><FONT SIZE=3D2>y.tab.c:458: warning: implicit declaration of =
function `yyerror'</FONT>
<BR><FONT SIZE=3D2>gcc&nbsp; -I../lib -L../lib&nbsp;&nbsp;&nbsp; -g =
-Wall -c acllex.c</FONT>
<BR><FONT SIZE=3D2>lex.yy.c:1225: warning: `yyunput' defined but not =
used</FONT>
<BR><FONT SIZE=3D2>gcc&nbsp; -I../lib -L../lib&nbsp;&nbsp;&nbsp; -g =
-Wall -c acl2.c</FONT>
<BR><FONT SIZE=3D2>gcc&nbsp; -g -Wall&nbsp; -o flow-filter -L../lib =
flow-filter.o aclyacc.o acllex.o acl2.o -lft&nbsp;&nbsp; -lnsl -lz =
</FONT>
<BR><FONT SIZE=3D2>acllex.o: In function `yylex':</FONT>
<BR><FONT SIZE=3D2>/home/cflow/flow-tools-0.57/src/lex.yy.c:958: =
undefined reference to `yywrap'</FONT>
<BR><FONT SIZE=3D2>acllex.o: In function `input':</FONT>
<BR><FONT SIZE=3D2>/home/cflow/flow-tools-0.57/src/lex.yy.c:1307: =
undefined reference to `yywrap'</FONT>
<BR><FONT SIZE=3D2>collect2: ld returned 1 exit status</FONT>
<BR><FONT SIZE=3D2>make[1]: *** [flow-filter] Error 1</FONT>
<BR><FONT SIZE=3D2>make[1]: Leaving directory =
`/home/cflow/flow-tools-0.57/src'</FONT>
<BR><FONT SIZE=3D2>make: *** [all-recursive] Error 1</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1F1EE.7EAEA12E--