ltib
[Top][All Lists]
Advanced

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

[Ltib] bluez utils 3.x more issues


From: Peter Wurmsdobler
Subject: [Ltib] bluez utils 3.x more issues
Date: Mon, 11 Feb 2008 19:08:35 +0000
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Hello,

I am still trying to compile bluez-utils 3.26 for the imx27, but for some reason something does not work anymore. And I am convinced that this morning I could compile it.

When it comes to link with the dbus library, the following command appears to be using the host's libraries, if you look at the absolute path for the dbus:

gcc -I/home/peter/c7833/trunk/binary/rootfs/usr/include -I/home/peter/c7833/trunk/binary/rootfs/usr/include/dbus-1.0 -I/home/peter/c7833/trunk/binary/rootfs/usr/lib/dbus-1.0/include -I../eglib -Wall -O2 -D_FORTIFY_SOURCE=2 -o hcid main.o libhciserver.a ../sdpd/libsdpserver.a ../common/libhelper.a ../eglib/.libs/libeglib.a -ldl -L/home/peter/c7833/trunk/binary/rootfs/usr/lib /usr/lib/libdbus-1.so -lz -lbluetooth
/usr/lib/libdbus-1.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

It is likely that ./configure called from the spec file does something wrong. Here that Build part of it:

%Build
#  Determine whether certain libraries exist, and
#  what to tell ./configure about them.
if [ -f $DEV_IMAGE/usr/lib/libasound.so ] ; then
        _alsa_lib="--with-alsa=$DEV_IMAGE/usr/lib"
else
        _alsa_lib="--without-alsa"
fi

if [ -f $DEV_IMAGE/usr/lib/libusb.so ] ; then
        _usb_lib="--with-usb=$DEV_IMAGE/usr/lib"
else
        _usb_lib="--without-usb"
fi

./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
        $_alsa_lib \
        $_usb_lib  \
        --without-openobex \
        --without-fuse \
        --enable-bccmd \
        --with-bluez=$DEV_IMAGE/usr/lib
make all


I also tried adding a:

        --with-dbus=$DEV_IMAGE/usr/lib \

but this didn't work.

Any ideas?
peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]