From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Compiling bluez-utils for MIPS
Date: Tue, 07 Feb 2006 12:19:47 +0100 [thread overview]
Message-ID: <1139311187.15160.21.camel@localhost> (raw)
In-Reply-To: <d6db2b820601281404q11cb9ba0k21116724a9047d7f@mail.gmail.com>
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
prev parent reply other threads:[~2006-02-07 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-28 22:04 [Bluez-users] Compiling bluez-utils for MIPS michael grosman
2006-02-07 11:19 ` Marcel Holtmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1139311187.15160.21.camel@localhost \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.