LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Closed Thread
  Search this Thread
Old 10-21-2013, 05:00 AM   #1
hieptv
LQ Newbie
 
Registered: Oct 2013
Posts: 3

Rep: Reputation: Disabled
Compile linux tool perf for Android


I want to compile pref for android device and i did that base on the . One i set NDK environment use Android NDK r9

Quote:
export NDK_TOOLCHAIN=${NDK}/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-

export NDK_SYSROOT=${NDK}/platforms/android-9/arch-arm
I run make with tool

Quote:
make ARCH=arm CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"
I checked NDK_TOOLCHAIN directory that already includes arm-linux-androideabi- file, however i recieve this errors
Quote:
Android NDK: NDK_TOOLCHAIN indefined to the unsupported value android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-
Android NDK: Please use one of the following values: arm-linux-androideabi-4.6 arm-linux-androideabi-4.8 arm-linux-androideabi-clang3.2 arm-linux-androideabi-clang3.3 mipsel-linux-android-4.6 mipsel-linux-android-4.8 mipsel-linux-android-clang3.2 mipsel-linux-android-clang3.3 x86-4.6 x86-4.8 x86-clang3.2 x86-clang3.3
build/core/init.mk:555: * Android NDK: Aborting . Stop.
I appreciate your recommendations if you have any methods to compile this tool for android.
Thanks,
 
Old 10-21-2013, 08:55 AM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...id-4175481572/
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Perf Sees Big Changes With Linux 3.7 Kernel LXer Syndicated Linux News 0 10-02-2012 02:50 PM
what does the columns of perf report (command of perf tool in linux) signifies? viv05 Linux - Software 2 06-01-2012 06:25 AM
LXer: New Microsoft Tool Lets You Monitor iOS and Android LXer Syndicated Linux News 0 03-27-2011 06:00 PM
Linux kernel perf tool and Slackware cgorac Slackware 0 03-07-2010 12:53 PM
LXer: Code Tool For Android Touches Down LXer Syndicated Linux News 0 11-11-2008 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration