FORUMS

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

CleanSlate Brings Fingerprint Scanner Mod to HTC One M9+

Work of XDA Recognized Developer tbalden, CleanSlate custom kernel for the HTC … more

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

build errors on XDANDROID eclair

25 posts
Thanks Meter: 4
 
By mrqu1cky, Junior Member on 13th April 2010, 10:37 PM
Post Reply Subscribe to Thread Email Thread
I'm getting a build error with the latest repo sync of XDANDROID as follows:

# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.1-update1
TARGET_PRODUCT=xdandroid_msm_us
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ECLAIR
============================================
No private recovery resources for TARGET_DEVICE msm
Install: out/host/linux-x86/bin/vm-tests
Install: out/target/product/msm/system/app/Mms.apk
target thumb C: libbluetoothd <= external/bluetooth/bluez/src/plugin.c
external/bluetooth/bluez/src/plugin.c:109:21: error: builtin.h: No such file or directory
external/bluetooth/bluez/src/plugin.c: In function 'plugin_init':
external/bluetooth/bluez/src/plugin.c:135: error: '__bluetooth_builtin' undeclared (first use in this function)
external/bluetooth/bluez/src/plugin.c:135: error: (Each undeclared identifier is reported only once
external/bluetooth/bluez/src/plugin.c:135: error: for each function it appears in.)
make: *** [out/target/product/msm/obj/SHARED_LIBRARIES/libbluetoothd_intermediates/plugin.o] Error 1

I checked the external/bluetooth/bluez/src/plugin.c:109

Definitely shows an include of builtin.h here, but I can't seem to find it in the source.

# find . -name builtin.h
#

I checked the vendor/xdandroid/msm/BoardConfig.mk file and verified that BOARD_HAVE_BLUETOOTH is set.

I'm not sure where to go at this point. Any advice is appreciated.
 
 
14th April 2010, 01:38 AM |#2  
stinebd's Avatar
Senior Member
Flag Northampton, PA
Thanks Meter: 167
 
More
Quote:
Originally Posted by mrqu1cky

I'm getting a build error with the latest repo sync of XDANDROID as follows:

external/bluetooth/bluez/src/plugin.c:109:21: error: builtin.h: No such file or directory

Have you been mucking around in the source for that package? It's definitely in the repository that we pull from: http://android.git.kernel.org/?p=pla...71915e;hb=HEAD.

Anyway, you can restore the file (and anything else that somehow got changed) by:
Code:
(from your AOSP source root)
$ cd external/bluetooth/bluez
$ git reset --hard HEAD
If the file still isn't there at that point, do...
Code:
$ git pull korg master
Last edited by stinebd; 14th April 2010 at 02:38 AM.
14th April 2010, 03:08 AM |#3  
OP Junior Member
Thanks Meter: 4
 
More
SOLVED
I'm not sure why repo sync didn't pull the file, but it is resolved. Thank you very much
5th October 2011, 09:29 PM |#4  
Junior Member
Thanks Meter: 0
 
More
hi, im try to compile xdandroid from xandroid wiki...

as kernel.org is down i cant use the repo curl android.git.kernel.org/repo >~/bin/repo and i tried with other.

the problem is when i want unzip the files from 'signed-dream_devphone_userdebug-ota-14721.zip' i dont find device/xdandroid/msm directory to run this script, why?

maybe because may be because I'm using a different repository: 'repo init -u git://codeaurora.org/platform/manifest.git -b froyo'
if i use this repo: 'repo init -u git://gitorious.org/xdandroid/manifest.git -b froyo' i have problems like 'unable to connect to kernel.org bla bla bla....' and dont download anything...

what can i do?
which repo can i use?
where is device/xdandroid/msm directory?

Thanks for all, regards....
5th October 2011, 09:47 PM |#5  
Retired Forum Moderator / Recognized Developer
Thanks Meter: 3,722
 
Donate to Me
More
Quote:
Originally Posted by euki

hi, im try to compile xdandroid from xandroid wiki...

as kernel.org is down i cant use the repo curl android.git.kernel.org/repo >~/bin/repo and i tried with other.

the problem is when i want unzip the files from 'signed-dream_devphone_userdebug-ota-14721.zip' i dont find device/xdandroid/msm directory to run this script, why?

maybe because may be because I'm using a different repository: 'repo init -u git://codeaurora.org/platform/manifest.git -b froyo'
if i use this repo: 'repo init -u git://gitorious.org/xdandroid/manifest.git -b froyo' i have problems like 'unable to connect to kernel.org bla bla bla....' and dont download anything...

what can i do?
which repo can i use?
where is device/xdandroid/msm directory?

Thanks for all, regards....

If kernel.org is down, you won't be able to sync the repo correctly.

Stine is looking at moving to bitbucket. Dunno when it'll actually happen, or if it will.
12th October 2011, 12:55 AM |#6  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by arrrghhh

If kernel.org is down, you won't be able to sync the repo correctly.

Stine is looking at moving to bitbucket. Dunno when it'll actually happen, or if it will.

I edited default.xml file from .repo/manifiest directory and changed a couple lines. Now i can sync xdandroid repo but i have a doubt when i have to create a product and a board directory as say in xdandroid wiki. These directories (board and product) are in ~/xdandroid/build/target/ do i have to create these directories into ~/xdandroid/device/xdandroid/msm/ directory? Or i can edit mk files to inherit them from ~/xdandroid/build/target/

Thanks, regards.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes