public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Sumeet VERMA <sumeet.verma@st.com>
To: "'BlueZ users'" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Fail in cross-compile bluez-utils-3.9
Date: Fri, 20 Jul 2007 13:46:15 +0530	[thread overview]
Message-ID: <004d01c7caa6$3e0d4f30$832fc70a@dlh.st.com> (raw)
In-Reply-To: <EJENLMBEOLKAMCJFBFMDOEDDCAAA.leiyu@kcoe.cn>

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

Hi Leiyu
You can add the path of your toolchain to the PATH variable
PATH=$PATH:/usr/local/arm/3.4.1/bin
That way you don’t have to specify options for CC, CPP, AR, STRIP..etc.
Just providing --host option is enough. The configure script will search the
PATH for installed toolchain. 

When you installed the bluez-libs, the bluez.pc file should be created in
the libs directory that you gave with the --prefix option. Add that path to
the PKG_CONFIG_PATH variable
e.g  export PKG_CONFIG_PATH=/bluez/bluezlibs/pkgconfig

Doing this change should fix your problem.


Regards,
Sumeet 
-----Original Message-----
From: bluez-users-bounces@lists.sourceforge.net
[mailto:bluez-users-bounces@lists.sourceforge.net] On Behalf Of leiyu
Sent: Friday, July 20, 2007 1:26 PM
To: Bluez-Users
Subject: [Bluez-users] Fail in cross-compile bluez-utils-3.9

Dear All,

I use arm-linux-gcc-3.4.1 to cross-compile bluez-libs-3.9 and bluez-utils-3.
9 I success in cross-compile bluez-libs-3.9 ,but fail in bluez-utils-3.9 ,

/usr/bluez/bluezlibs is the directory I install bluez-libs-3.9    
/usr/local/arm/linux-2.6.14.1 is the kernel diretory

[root@localhost bluez-utils-3.9]# ./configure --prefix=/bluez/bluezutils
--includedir=/bluez/bluezlibs/include --libdir=/bluez/bluezlibs/lib
--host=arm-linux CC=/usr/local/arm/3.4.1/bin/arm-linux-gcc
CPP=/usr/local/arm/3.4.1/bin/arm-linux-cpp
AR=/usr/local/arm/3.4.1/bin/arm-linux-ar
STRIP=/usr/local/arm/3.4.1/bin/arm-linux-strip
RANLIB=/usr/local/arm/3.4.1/bin/arm-linux-ranlib
LD=/usr/local/arm/3.4.1/bin/arm-linux-ld --with-bluez-libs=/bluez/bluezlibs
--with-kernel=/usr/local/arm/linux-2.6.14.1
.......
checking if libtool supports shared libraries... yes checking whether to
build shared libraries... yes checking whether to build static libraries...
no
configure: creating libtool
checking for ppoll... no
checking for arm-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at
least version 0.9.0... yes checking for BLUEZ... no
configure: error: Bluetooth library is required

Is my gcc version  not suit for it ? or Is my configure parameter not right
? I appreciate for your comment, thanks 
 
Best regards,
Leiyu




[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2007-07-20  8:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-20  7:56 [Bluez-users] Fail in cross-compile bluez-utils-3.9 leiyu
2007-07-20  8:16 ` Sumeet VERMA [this message]
2007-07-24  3:43 ` leiyu
2007-07-24  5:37   ` [Bluez-users] " leiyu
2007-07-25  4:21     ` [Bluez-users] RE:cross-compile bluez-utils-3.9 leiyu
2007-07-25  4:27       ` [Bluez-users] RE: [Bluez-users]RE£ocross-compile bluez-utils-3.9 Sumeet VERMA
2007-07-31  7:05       ` [Bluez-users] RE:cross-compile bluez-utils-3.9 leiyu

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='004d01c7caa6$3e0d4f30$832fc70a@dlh.st.com' \
    --to=sumeet.verma@st.com \
    --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