ObexFTP compile (make) error

Help
2008-05-24
2013-05-01
  • turpin patrick
    turpin patrick
    2008-05-24

    Hi,
    We wan to install the ObexFTP on and Ubuntu 8 , using  the source.
    We use this command :
    ./configure --disable-python 
    --> all it ok, no error ...
    but when we wan to "make" we give somme errors in apps folder:
    --------------------------------------------------------------
    bt_discovery.o: In function `discover_bt':
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:45: undefined reference to `hci_inquiry'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:53: undefined reference to `hci_open_dev'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:70: undefined reference to `baswap'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:79: undefined reference to `batostr'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:64: undefined reference to `hci_read_remote_name'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:74: undefined reference to `batostr'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:90: undefined reference to `hci_devinfo'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:97: undefined reference to `sdp_connect'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:105: undefined reference to `baswap'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:106: undefined reference to `batostr'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:110: undefined reference to `sdp_uuid16_create'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:112: undefined reference to `sdp_list_append'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:113: undefined reference to `sdp_list_append'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:116: undefined reference to `sdp_service_search_attr_req'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:123: undefined reference to `sdp_list_free'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:124: undefined reference to `sdp_list_free'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:134: undefined reference to `sdp_get_access_protos'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:138: undefined reference to `sdp_get_proto_port'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:144: undefined reference to `sdp_list_free'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:145: undefined reference to `sdp_close'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:42: undefined reference to `str2ba'
    /home/turpin/Bureau/dev/obexftp-0.20/apps/bt_discovery.c:119: undefined reference to `sdp_close'
    collect2: ld returned 1 exit status
    make[2]: *** [obexftp] Erreur 1
    make[1]: *** [all-recursive] Erreur 1
    make: *** [all] Erreur 2
    ----------------------------------

    Could some one help me please ?
    Regards

     
    • thomasx
      thomasx
      2008-05-24

      It seems that the bluez libs are missing, www.bluez.org. But you said that during ./configure everything was fine and nothing was missing. Check in /usr/lib if you have libbluetooth* libs.