Compiling obexftp under FreeBSD fail

Help
2007-07-08
2013-05-01
  • Andrew R. Muhametshin

    Hi, I am trying to compile obexftp-0.22-rc5 or obexftp-0.20, but nothing turns out:

    ==================obexftp-0.22-rc5===================================
    $ make
    make  all-recursive
    Making all in bfb
    Making all in multicobex
    Making all in obexftp
    /usr/local/bin/bash ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include    -I..  -I../includes   -I/usr/local/include  -g -O2 -W -Wundef -Wmissing-declarations -Wmissing-prototypes -Wall -MT client.lo -MD -MP -MF .deps/client.Tpo -c -o client.lo client.c
    gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../includes -I/usr/local/include -g -O2 -W -Wundef -Wmissing-declarations -Wmissing-prototypes -Wall -MT client.lo -MD -MP -MF .deps/client.Tpo -c client.c  -fPIC -DPIC -o .libs/client.o
    client.c: In function `obexftp_connect_src':
    client.c:608: error: `BDADDR_ANY' undeclared (first use in this function)
    client.c:608: error: (Each undeclared identifier is reported only once
    client.c:608: error: for each function it appears in.)
    client.c:614: warning: implicit declaration of function `hci_devba'
    *** Error code 1

    Stop in /SHARED/external/obexftp-0.22/obexftp.
    *** Error code 1

    Stop in /SHARED/external/obexftp-0.22.
    *** Error code 1

    Stop in /SHARED/external/obexftp-0.22.
    ==================obexftp-0.22-rc5===================================

    ==================obexftp-0.20===================================
    $ make
    make  all-recursive
    Making all in bfb
    Making all in multicobex
    Making all in obexftp
    if /usr/local/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include    -I..  -I../includes    -g -O2 -W -Wundef -Wmissing-declarations -Wmissing-prototypes -Wall -MT client.lo -MD -MP -MF ".deps/client.Tpo"  -c -o client.lo `test -f 'client.c' || echo './'`client.c;  then mv -f ".deps/client.Tpo" ".deps/client.Plo";  else rm -f ".deps/client.Tpo"; exit 1;  fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I.. -I../includes -g -O2 -W -Wundef -Wmissing-declarations -Wmissing-prototypes -Wall -MT client.lo -MD -MP -MF .deps/client.Tpo -c client.c  -fPIC -DPIC -o .libs/client.o
    client.c: In function `obexftp_connect_uuid':
    client.c:563: error: `BDADDR_ANY' undeclared (first use in this function)
    client.c:563: error: (Each undeclared identifier is reported only once
    client.c:563: error: for each function it appears in.)
    *** Error code 1

    Stop in /SHARED/external/obexftp-0.20/obexftp.
    *** Error code 1

    Stop in /SHARED/external/obexftp-0.20.
    *** Error code 1

    Stop in /SHARED/external/obexftp-0.20.
    ==================obexftp-0.20===================================

    $ uname -a
    FreeBSD inspirra.localdomain 6.2-STABLE FreeBSD 6.2-STABLE #7: Tue Jun 19 08:38:32 MSD 2007     root@inspirra.localdomain:/SHARED/obj.inspirra/usr/src/sys/INSPIRRA  i386

    $ pkg_info -E \*obex\*
    obexapp-1.4.7
    openobex-1.3

    Whether probably it to correct?

    With best regards
    Andrew M.

     
    • Christian W. Zuckschwerdt

      Thanks for testing this. It's now fixed in rc6.
      Until everything is fixed and running, you'll need to configure with
      --disable-perl --disable-python --disable-ruby --disable-tcl --without-libiconv-prefix

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks