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.

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.

Thanks for taking the time to read this .

Regards Paul Parkyn

  • **************************************************

[EMAIL PROTECTED] linux]# make

set -e; for i in libtn termnet ; do cd $i; make LEX="flex" CC="gcc" CFLAGS="-I../libtn -DLINUX -Wall" LIBS="-lfl" -f $i.mk; cd ..; done

make[1]: Entering directory `/opt/sena/termnet-3.1/linux/libtn'

gcc -I../libtn -DLINUX -Wall -c -o SocketIO.o SocketIO.c

gcc -I../libtn -DLINUX -Wall -c -o tnlCallBack.o tnlCallBack.c

gcc -I../libtn -DLINUX -Wall -c -o tnlMisc.o tnlMisc.c

tnlMisc.c: In function `openPtyDevice':

tnlMisc.c:56: warning: implicit declaration of function `strlen'

tnlMisc.c:65: warning: implicit declaration of function `strcpy'

gcc -I../libtn -DLINUX -Wall -c -o fsminit.o fsminit.c

ar -rc libtn.a tnlInit.o tnlSelect.o tnlSocket.o tnlOptions.o tnlSubOptions.o tnlVars.o SocketIO.o tnlCallBack.o tnlMisc.o fsminit.o

make[1]: Leaving directory `/opt/sena/termnet-3.1/linux/libtn'

make[1]: Entering directory `/opt/sena/termnet-3.1/linux/termnet'

gcc -I../libtn -DLINUX -Wall -c -o termnet.o termnet.c

gcc -I../libtn -DLINUX -Wall -c -o trnVars.o trnVars.c

gcc -I../libtn -DLINUX -Wall -c -o trnParse.o trnParse.c

gcc -I../libtn -DLINUX -Wall -c -o trnTerminal.o trnTerminal.c

trnTerminal.c: In function `getInput':

trnTerminal.c:92: warning: implicit declaration of function `strcpy'

trnTerminal.c: In function `cmdDevice':

trnTerminal.c:243: warning: implicit declaration of function `strcmp'

trnTerminal.c: In function `doCommands':

trnTerminal.c:469: warning: implicit declaration of function `strlen'

gcc -o termnet termnet.o trnVars.o trnParse.o trnTerminal.o -L../libtn -ltn -lfl

/usr/bin/ld: cannot find -lfl

collect2: ld returned 1 exit status

make[1]: *** [termnet] Error 1

make[1]: Leaving directory `/opt/sena/termnet-3.1/linux/termnet'

make: *** [all] Error 2

[EMAIL PROTECTED] linux]#

Reply via email to