[gnome-bluetooth] Nearing release

Edd Dumbill edd at usefulinc.com
Sun Jun 6 09:38:38 BST 2004


On Sun, 2004-06-06 at 09:24 +0100, Cam wrote:
> Edd
> 
> > % cvs -z4 co libbtctl gnome-bluetooth
> > 
> > Build and install libbtctl first.
> 
> I tried this on a Fedora Core 2 machine (which has the following bluez 
> packages:
> bluez-sdp-devel-1.5-2.1
> bluez-libs-2.5-2.1
> bluez-libs-devel-2.5-2.1
> bluez-utils-2.4-3
> bluez-pan-1.1-4
> bluez-sdp-1.5-2.1
> bluez-bluefw-1.0-2
> bluez-hcidump-1.5-4
> bluez-pin-0.23-1
> 
> and it failed because of the libsdp move.
> 
> make[3]: Entering directory `/home/X86/BLUETOOTH/libbtctl/src'
> /bin/sh ../libtool --mode=link gcc  -g -O2   -o btlist libbtctl.la 
> -lgobject-2.0 -lglib-2.0   -lbluetooth -lopenobex btlist.o
> gcc -g -O2 -o .libs/btlist btlist.o  ./.libs/libbtctl.so -lgobject-2.0 
> -lglib-2.0 -lbluetooth -lopenobex -Wl,--rpath -Wl,/usr/local/lib
> ./.libs/libbtctl.so: undefined reference to `sdp_attr_add'
> ./.libs/libbtctl.so: undefined reference to `sdp_get_uuidseq_attr'
> ./.libs/libbtctl.so: undefined reference to `sdp_record_register'
> ./.libs/libbtctl.so: undefined reference to `sdp_uuid_to_proto'
> ./.libs/libbtctl.so: undefined reference to `sdp_close'
> ./.libs/libbtctl.so: undefined reference to `sdp_general_inquiry'
> ./.libs/libbtctl.so: undefined reference to `sdp_record_print'
> ./.libs/libbtctl.so: undefined reference to `sdp_uuid2strn'
> ...
> 
> I tweaked the src/Makefile to add -lsdp after -lbluetooth

OK, looks as though I can't just expect BlueZ 2.7 to be there.

> Then the build failed in docs/reference because it could not find stuff 
> - so I skipped building the docs. Then libbtctl seemed to make and 
> install Ok.

Could you send me the exact message error?

> Next the gnome-bluetooth seemed to want a gnome-autogen.sh (I copied it 
> from libbtctl).

That should be available in the gnome-common development stuff.

> Running autoconf...
> configure.in:40: error: possibly undefined macro: AC_MSG_ERROR
>        If this token and others are legitimate, please use m4_pattern_allow.
>        See the Autoconf documentation.
> 
> It failed at this line:
> 
> GOB2_HOOK(2.0.0,[],[AC_MSG_ERROR([Cannot find GOB-2, install from 
> http://www.5z.com/jirka/gob.html])])
> 
> And I gave up there!
> 

You need gob2 installed.  It should be available in your distro.

> I don't know if you would expect it to compile with Fedora or not. Maybe 
> I need some more -devel packages... In the past I compiled and use an 
> older version with Fedora Core 1 and it was very good.

Thanks for your help,  it's all good!

-- Edd





More information about the gnome-bluetooth mailing list