|
From: | Peter Wurmsdobler |
Subject: | Re: [Ltib] bluez utils 3.x more issues |
Date: | Tue, 12 Feb 2008 10:56:24 +0000 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
Hello Stuart, Thanks for the help. A still unresolved question comes from this:
make[2]: Entering directory `/home/paw2/c7833/trunk/build/ltib/rpm/BUILD/bluez-utils-3.26/tools' /bin/sh ../libtool --tag=CC --mode=link gcc -I/home/paw2/c7833/trunk/binary/rootfs/usr/include -Wall -O2 -D_FORTIFY_SOURCE=2 -o hcitool hcitool.o -lbluetooth ../common/libhelper.a gcc -I/home/paw2/c7833/trunk/binary/rootfs/usr/include -Wall -O2 -D_FORTIFY_SOURCE=2 -o hcitool hcitool.o /usr/local/lib/libbluetooth.so ../common/libhelper.a/usr/local/lib/libbluetooth.so: could not read symbols: File in wrong format
I notice that libtool receives as arrgument a "-lbluetooth", but launches gcc with the absolute path "/usr/local/lib/libbluetooth.so". I conclude that libtool will search for the bluetooth library and find the wrong one. Why could that be?
I have tried the same with bluez-utils 2.25 and it works. libtool leaves the "-lbluetooth" as it is.
peter
[Prev in Thread] | Current Thread | [Next in Thread] |