2007-08-09 19:44:17

by hong zhang

[permalink] [raw]
Subject: [Bluez-devel] build error for bluez-utils-3.11 on embedded arm

List,

I am building bluez-utils-3.11. bluez-libs-3.11 is
perfect for configure and make.

No problem for "configure --houst=arm-linux
CC=montavista-gcc --prefix=maypath_for_bluez-utils" on
bluez-utils-3.11. But make error occurs, it looks
local /usr/lib/libdbus-1.so instead libdbud-1.so in
montavista library. any clue?

[root@localhost hcid]# make
make all-am
make[1]: Entering directory
`/root/Desktop/bluez/bluez-utils-3.11/hcid'
/bin/sh ../libtool --tag=CC --mode=link
arm_v6_vfp_le-gcc
-I/root/Desktop/bluez/bluez-libs-3.11/include
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2
-D_FORTIFY_SOURCE=2 -o hcid main.o libhciserver.a
../sdpd/libsdpserver.a ../common/libhelper.a
../eglib/libeglib.la -ldbus-1
-L/root/Desktop/bluez/bluez-libs-3.11/lib -lbluetooth
-lexpat
arm_v6_vfp_le-gcc
-I/root/Desktop/bluez/bluez-libs-3.11/include
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2
-D_FORTIFY_SOURCE=2 -o .libs/hcid main.o
libhciserver.a ../sdpd/libsdpserver.a
../common/libhelper.a ../eglib/.libs/libeglib.a
/usr/lib/libdbus-1.so -lnsl
-L/root/Desktop/bluez/bluez-libs-3.11/lib
/root/Desktop/bluez/bluez-libs-3.11/lib/libbluetooth.so
/usr/lib/libexpat.so -Wl,--rpath
-Wl,/root/Desktop/bluez/bluez-libs-3.11/lib
/usr/lib/libdbus-1.so: could not read symbols: File in
wrong format
collect2: ld returned 1 exit status
make[1]: *** [hcid] Error 1
make[1]: Leaving directory
`/root/Desktop/bluez/bluez-utils-3.11/hcid'
make: *** [all] Error 2


---henry



____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel