Can't file transfer via Bluetooth in FreeBSD

2004-08-01 Thread Edwin D. Vinas
Hi,

I recently shifted to FreeBSD-5.2 from Windows XP because I know there is a 
bluetooh support in these new 5.x versions. I was so glad that FreeBSD have 
improved a lot! However, I have a problem with installing or making the 
bluetooth file transfer work. Here are the details below:

I followed the documentation by Pav on http://www.oook.cz/bsd/bluetooth.html. 
I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI 
bluetooth dongle. I was able to discover other devices, and execute other 
built-in commands such as hccontrol, l2ping, l2control, sdptool  etc. But, I 
noticed that the the basic file transfer called OBEX was not yet incorporated 
in the FreeBSD-5.2 and that I have to install an openobex or something. I 
have succesfully installed openobex from sourceforge, but it doesn't have the 
"obexapp" command. The i tried installing the "obexapp" from sourceforge too. 
The problem is that I cant install it.

tar -zxvf obexapp-1.2.tar.gz
(extracts two directories openobex-1.0.1/ and obexapp/)

cd openobex-1.0.1
./configure
/usr/local/bin/make
/usr/local/bin/make install

cd obexapp
(no ./configure and NO README!!!)
so i tried, "make" or "/usr/local/bin/make"
when i tried "make":
banao# make
Warning: Object directory not changed from original /usr/home/misoy/EDV/
Bluetooth/src/obexapp
cc -I/usr/local/include  -I/usr/local/include/openobex -g -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c main.c
cc -I/usr/local/include  -I/usr/local/include/openobex -g -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c client.c
cc -I/usr/local/include  -I/usr/local/include/openobex -g -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c event.c
cc -I/usr/local/include  -I/usr/local/include/openobex -g -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c sdp.c
cc -I/usr/local/include  -I/usr/local/include/openobex -g -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c server.c
server.c: In function `obexapp_server':
server.c:118: error: too many arguments to function `sdp_open_local'
*** Error code 1

Stop in /usr/home/misoy/EDV/Bluetooth/src/obexapp.

using /usr/local/bin/make:
banao# /usr/local/bin/make
Makefile:23: *** missing separator.  Stop.

-Edwin

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't file transfer via Bluetooth in FreeBSD

2004-08-02 Thread Matthew Seaman
On Mon, Aug 02, 2004 at 01:21:31PM +0800, Edwin D. Vinas wrote:

> I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI 
> bluetooth dongle. I was able to discover other devices, and execute other 
> built-in commands such as hccontrol, l2ping, l2control, sdptool  etc. But, I 
> noticed that the the basic file transfer called OBEX was not yet incorporated 
> in the FreeBSD-5.2 and that I have to install an openobex or something. I 
> have succesfully installed openobex from sourceforge, but it doesn't have the 
> "obexapp" command. The i tried installing the "obexapp" from sourceforge too. 
> The problem is that I cant install it.
> 
> tar -zxvf obexapp-1.2.tar.gz
> (extracts two directories openobex-1.0.1/ and obexapp/)

[...]

Instead of trying to fix the compilation yourself, you can leverage
the work of those who have gone before you by installing the
comms/openobex port.  In fact, with this software I think that some
quite significant patching of code is required:

% cd /usr/ports/comms/openobex
% ls files/
patch-Makefile.in   patch-src-obex.c
patch-aclocal.m4patch-src-obex.h
patch-configure.in  patch-src-obex_const.h
patch-ltmain.sh patch-src-obex_main.c
patch-src-btobex.c  patch-src-obex_transport.h
patch-src-netbuf.h

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpMNBl6TwEPC.pgp
Description: PGP signature


Re: Can't file transfer via Bluetooth in FreeBSD

2004-08-02 Thread Edwin D. Vinas
On Monday 02 August 2004 03:40 pm, you wrote:
> On Mon, Aug 02, 2004 at 01:21:31PM +0800, Edwin D. Vinas wrote:
> > I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI
> > bluetooth dongle. I was able to discover other devices, and execute other
> > built-in commands such as hccontrol, l2ping, l2control, sdptool  etc.
> > But, I noticed that the the basic file transfer called OBEX was not yet
> > incorporated in the FreeBSD-5.2 and that I have to install an openobex or
> > something. I have succesfully installed openobex from sourceforge, but it
> > doesn't have the "obexapp" command. The i tried installing the "obexapp"
> > from sourceforge too. The problem is that I cant install it.
> >
> > tar -zxvf obexapp-1.2.tar.gz
> > (extracts two directories openobex-1.0.1/ and obexapp/)
>
> [...]
>
> Instead of trying to fix the compilation yourself, you can leverage
> the work of those who have gone before you by installing the
> comms/openobex port.  In fact, with this software I think that some
> quite significant patching of code is required:
>
> % cd /usr/ports/comms/openobex
> % ls files/
> patch-Makefile.in   patch-src-obex.c
> patch-aclocal.m4patch-src-obex.h
> patch-configure.in  patch-src-obex_const.h
> patch-ltmain.sh patch-src-obex_main.c
> patch-src-btobex.c  patch-src-obex_transport.h
> patch-src-netbuf.h
>

Thanks Matthew for the reply. But, its sad to say that I can't find any 
"openobex" ports in my machine.

banao# ls /usr/ports/comms/openobex
ls: /usr/ports/comms/openobex: No such file or directory

I thought of actually using this openobex port but do you know how to find the 
ports if its not in the distribution? Im using FreeBSD-5.2 and KDE 3.0. Im 
actually searching the web for it but some sites dont have a link to the 
files to be downloaded. In case you know where to find the installer that 
would really work for FreeBSD-5.2, please send the link to me.

Thanks again!
-edwin


>   Cheers,
>
>   Matthew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't file transfer via Bluetooth in FreeBSD

2004-08-02 Thread Matthew Seaman
On Mon, Aug 02, 2004 at 06:04:14PM +0800, Edwin D. Vinas wrote:
 
> Thanks Matthew for the reply. But, its sad to say that I can't find any 
> "openobex" ports in my machine.
> 
> banao# ls /usr/ports/comms/openobex
> ls: /usr/ports/comms/openobex: No such file or directory
> 
> I thought of actually using this openobex port but do you know how to find the 
> ports if its not in the distribution? Im using FreeBSD-5.2 and KDE 3.0. Im 
> actually searching the web for it but some sites dont have a link to the 
> files to be downloaded. In case you know where to find the installer that 
> would really work for FreeBSD-5.2, please send the link to me.
>

You have an out of date ports tree: openobex has been in ports for
some 4 months now:

http://www.freebsd.org/ports/comms.html#openobex-1.0.1

You're also running a deprecated version of FreeBSD -- there were some
serious bugs in version 5.2 which necessitated the release of 5.2.1
shortly afterwards.

I advise you to install cvsup --

# pkg_add -r cvsup-without-gui

and then use that to get an up to date copy of the ports tree.  While
you're at it, also install portupgrade(1) as that will make
maintaining your installed ports into a doddle.

Instructions from the Handbook are here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

and a series of articles which give some very useful hints and tips
are here:

http://www.oreillynet.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html
http://www.oreillynet.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
http://www.oreillynet.com/pub/a/bsd/2003/09/18/FreeBSD_Basics.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpjyEzWca09e.pgp
Description: PGP signature