Linux bluetooth development
 help / color / mirror / Atom feed
From: Erwin Authried <eauth@softsys.co.at>
To: "bluez-users@lists.sourceforge.net" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Trying to compile for axis but Bluetooth library not found
Date: Mon, 31 Jan 2005 21:51:52 +0100	[thread overview]
Message-ID: <1107204712.15769.70.camel@justakiss> (raw)
In-Reply-To: <41FE85A0.2040709@ieee.org>

Am Mon, den 31.01.2005 schrieb joe sloan um 20:23:
> Hi,
> 
> I have compiled bluez-libs-2.14 but having problems with bluez-utils-2.14.
> 
> I'm working on a PC with SUSE 9.1, and the target is devboard_82 with 
> linux-2.4.26.
> 
> I've tried almost every option at this stage and I keep getting the 
> error related to /lib/libc.so.6 I cannot figure out where it is getting 
> this from - my guess is that it should be pointing to 
> ../../target/cris-axis-linux-gnu/lib/libc.so.6  but cannot.
> 
> I'd appreciate some help or pointers with this (having searched the web 
> and this newgroup - and tried loads of combinations of commands).
> 
> thanks
> 
> Joe
...
> 
> cd bluez-libs-2.14/
> linux:/axis/devboard_82/apps/bluez-libs-2.14 # ./configure CC="gcc-cris 
> -mlinux"  LD="cris-ld"   --target=cris-axis-linux --host=i686-pc-linux 
> --prefix=/usr

Hi,
it seems that your options for configure are wrong for cross
compilation. --host specifies the system where the package will run.
This should be cris-axis-linux in your case, I guess.

As a general hint for cross compiling:
* Set CC,CFLAGS and LDFLAGS that you need for cross compiling in the
environment.
* use "./configure --host=<your target architecture>" (and special
options that are required, but don't use --target or --build !!)

For bluez-utils-2.10, I had to specify --with-bluez=.. and --with-usb=..
with the path were the bluez-libs includes were installed.

Hope that helps
Erwin






-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-01-31 20:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-31 19:23 [Bluez-users] Trying to compile for axis but Bluetooth library not found joe sloan
2005-01-31 20:51 ` Erwin Authried [this message]
2005-02-01 10:07   ` Joe Sloan
2005-02-01 10:36     ` Marcel Holtmann
2005-02-01 14:19       ` Marco Trudel
2005-02-01 14:36         ` [Bluez-users] cross-compilation miniHowto, first change Marco Trudel
2005-02-01 14:42         ` [Bluez-users] Trying to compile for axis but Bluetooth library not found Marcel Holtmann
2005-02-01 15:12           ` Marco Trudel
2005-02-01 15:20             ` Marcel Holtmann
2005-02-01 15:22             ` Marco Trudel
2005-02-01 15:47               ` Marcel Holtmann
2005-02-01 15:59               ` Erwin Authried
2005-02-04 17:32                 ` cross-compilation howto (was "Re: [Bluez-users] Trying to compile for axis but Bluetooth library not found") Marco Trudel
2005-02-04 17:38                   ` Marcel Holtmann
2005-02-04 23:20                     ` Marco Trudel
2005-02-05  0:05                       ` Marcel Holtmann
2005-02-04 18:19                   ` Erwin Authried
2005-02-04 18:22                     ` Marcel Holtmann
2005-02-04 18:31                       ` Marco Trudel
2005-02-04 18:38                       ` Erwin Authried
2005-02-04 18:43                         ` Marcel Holtmann
2005-02-04 18:55                           ` Erwin Authried

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=1107204712.15769.70.camel@justakiss \
    --to=eauth@softsys.co.at \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox