linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Compiling bluez-utils for MIPS
@ 2006-01-28 22:04 michael grosman
  2006-02-07 11:19 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: michael grosman @ 2006-01-28 22:04 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]

Hi all!
I'm trying to compile bluez-utils-2.24 project for Linux 2.4.20 that runs on
MIPS. This cross-compilation was done on my desktop Linux 2.6.12. All needed
drivers (HCI, RFCOMM, L2CAP) were uploaded to the > MIPS-board early (after
some patches for kernel 2.4.20 that I found in internet). I configured the
environment with the following variables:
export PLATFORM=mipsel-uclibc
export BUILD=i386-pc-linux-gnu
export HOSTCC=gcc
export CROSS_COMPILE=mipsel-uclibc-
export LDFLAGS=-Wl,-dynamic-linker,/lib/ld-uClibc.so.0,-soname=libc.so.0
and runned ./configure mipsel-linux --build=$BUILD.
Making the project was OK, it used "mipsel-linux-gcc", etc., so it seemed
OK. After uploading all the bluez utilities on the MIPS-board, each call
for these utilities (i.e. "hciconfig") failed with such a prompt:
libc.so.6: aborted attempt to load hciconfig!
To my understanding, it still used my desktop standard library (cause  "
libc.so.6" is a symbolic link in /usr/local/lib on my PC) instead the
libc.so.0 on the MIPS-board.
I tryied adding LDFLAG "-soname=libc.so.0", but it did not force defining
the right library in building executables.

Could someone help me in configuring this project? What did I miss?

Thanks in advance,

MichaelG

[-- Attachment #2: Type: text/html, Size: 1556 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-07 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-28 22:04 [Bluez-users] Compiling bluez-utils for MIPS michael grosman
2006-02-07 11:19 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).