* [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
* Re: [Bluez-users] Compiling bluez-utils for MIPS
2006-01-28 22:04 [Bluez-users] Compiling bluez-utils for MIPS michael grosman
@ 2006-02-07 11:19 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-02-07 11:19 UTC (permalink / raw)
To: bluez-users
Hi Michael,
> 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?
I've never done this and I am not a cross-compiling expert.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ 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).