[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] libreadline.so problem



Hi,
 
I finally got the libtermcap.a from cygwin (I cannot find it in mandrake) and put it to usr/lib/
Now the compilation does not give me the error - cannot find -ltermcap
 
However, I got the following error:
 
make[2]: Entering directory `/home/eecow/openbt/apps/bluetooth/experimental'
cc -Wall -O0 -g -fno-omit-frame-pointer -DHAVE_READLINE_READLINE
-I/home/eecow/openbt/target/host/include -DCONFIG_BLUETOOTH_UNPLUG_TEST -MMD
   -c -o btd.o btd.c
cc -Wall -O0 -g -fno-omit-frame-pointer -DHAVE_READLINE_READLINE
-I/home/eecow/openbt/target/host/include -DCONFIG_BLUETOOTH_UNPLUG_TEST -MMD
   -c -o bt_ipa.o bt_ipa.c
cc -Wall -O0 -g -fno-omit-frame-pointer -DHAVE_READLINE_READLINE
-I/home/eecow/openbt/target/host/include -DCONFIG_BLUETOOTH_UNPLUG_TEST -MMD
   -c -o bt_vendor.o bt_vendor.c
cc -Wall -O0 -g -fno-omit-frame-pointer -DHAVE_READLINE_READLINE
-I/home/eecow/openbt/target/host/include -DCONFIG_BLUETOOTH_UNPLUG_TEST -MMD
   -c -o bt_if.o bt_if.c
cc -Wall -O0 -g -fno-omit-frame-pointer -DHAVE_READLINE_READLINE
-I/home/eecow/openbt/target/host/include -DCONFIG_BLUETOOTH_UNPLUG_TEST -MMD
   -c -o bt_misc.o bt_misc.c
cc  btd.o bt_ipa.o bt_vendor.o bt_if.o bt_misc.o -lreadline -ltermcap -o
btdm
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `tgetnum'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `tgoto'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `tgetflag'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `BC'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `tputs'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `PC'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `tgetent'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `UP'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libreadline.so:
undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [btdm] Error 1
make[2]: Leaving directory `/home/eecow/openbt/apps/bluetooth/experimental'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/home/eecow/openbt/apps/bluetooth'
make: *** [all] Error 2
 
But I have install the readline rpm already (that's why compilation does not say -lreadline not found)
 
Can anyone help me solve this problem?
I think it's something about my libreadline.  Somehow it's looking at the /usr/lib/gcc-lib/ directory but I know that there's no such file in that directory.  I only have this file under /usr/lib/ .
 
Thanks,
Victor