On Thu, 28 Jul 2005 22:44, Nick Rout wrote:
> On Thu, 2005-07-28 at 22:15 +1200, Paul Parkyn wrote:
> > Hello, I am trying to install Termnet-3.1 program, I have managed to
> > sort out a few problems but cannot complete the linking stage.
> >
> > The distro is Mandrake 10.1 official
> >
> > below is the error output when running make.
> >
> > /usr/bin/ld: cannot find -lfl
> >
> > What does -lfl refer to ?
> >
> > In the libtn directory there are no files with lfl or ltn in the
> > filename, trying to figure out where to look, and for what.
>
> It means use library (-l) fl, which should be found associated with or
> in a file called libfl.a
>
> Searching my system shows that libfl.a belongs to the flex package.
>
> Look for the file libfl.a. If it is not on your system consider looking
> for a package called flex.
Agreed.

> > The other warnings such as :- tnlMisc.c:56: warning: implicit
> > declaration of function `strlen' not sure exactly what is meant or how
> > to fix these warnings.
>
> if it is only a warning don't do anything. They usually do not matter.
> AFAIK it is an overly anal retentive compiler telling the programmer to
> cross his t's and dot his i's.

While that is true in this particular case, it is far from always the case.

To fix these warnings add the line:-
#include <string.h>
in the files which produce warnings about the str* functions.
or add it to a header file which is included by them all.

--
CS

Reply via email to