You are not logged in.

#1 2010-02-09 23:36:14

eviltoaster
Member
Registered: 2009-09-23
Posts: 17
Website

-ltermcap error!

Hi, im trying to compile avrdude with FT232RL BitBang Mode but i get this error i cant solve, and all i find at google is "delete -ltermcap and replace it with -lncurses" but -lncurses are there already and when i take -ltermcap away it gives me error again.

/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
make[2]: *** [avrdude] Error 1

Is is possible to get -ltermcap to work or not, cuz i cant find any thing about it :S

Last edited by eviltoaster (2010-02-09 23:37:14)


arrowhead south backbone

Offline

#2 2010-02-09 23:39:19

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: -ltermcap error!

-ltermcap means the linker is looking for the libtermcap.a file to link against, and it isn't installed. When you say you remove the '-ltermcap', what error do you get then?

Offline

#3 2010-02-09 23:55:20

eviltoaster
Member
Registered: 2009-09-23
Posts: 17
Website

Re: -ltermcap error!

jdarnold wrote:

-ltermcap means the linker is looking for the libtermcap.a file to link against, and it isn't installed. When you say you remove the '-ltermcap', what error do you get then?

b_libusb.o -lusb -lreadline -lncurses  ./libftd2xx.a.0.4.16 -lrt
./libftd2xx.a.0.4.16(ftd2xx.o): In function `DeinitCheckDevice':
/home/amiller/Desktop/Linux_D2XX/ftd2xx.c:283: undefined reference to `dlclose'
./libftd2xx.a.0.4.16(ftd2xx.o): In function `InitCheckDevice':
/home/amiller/Desktop/Linux_D2XX/ftd2xx.c:345: undefined reference to `dlopen'
/home/amiller/Desktop/Linux_D2XX/ftd2xx.c:348: undefined reference to `dlopen'
/home/amiller/Desktop/Linux_D2XX/ftd2xx.c:355: undefined reference to `dlsym'
/home/amiller/Desktop/Linux_D2XX/ftd2xx.c:356: undefined reference to `dlerror'
./libftd2xx.a.0.4.16(ftd2xx.o): In function `check_device':
/home/amiller/Desktop/Linux_D2XX/ftd2xx.c:424: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [avrdude] Error 1


arrowhead south backbone

Offline

Board footer

Powered by FluxBB