froyo build error

by zhuyang220 » Wed, 20 Oct 2010 21:57:23 GMT


Sponsored Links
 Hi,

     I just started to build the aosp, I got the error below:

 #make -j4
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=dkb
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER

.............
No private recovery resources for TARGET_DEVICE dkb
host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/
acp_intermediates/acp)
No rule to make target `out/target/common/obj/JAVA_LIBRARIES/
core_intermediates/javalib.jar', needed by `out/target/common/docs/api-
stubs-timestamp'.  Stop.
make: *** Waiting for unfinished jobs....

    Did anyone who face this problem? Could you give me some advices
to solve this problem?
    Thanks in advanced!

-- 



froyo build error

by Hamilton Vera » Wed, 20 Oct 2010 23:11:45 GMT


 Check if you are using the proper CROSS_COMPILE settings.

[]'s

Hamilton Vera






-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
 http://hvera.wordpress.com 

-- 


Sponsored Links


Froyo Build Error

by Prabagaran Thangavel » Sun, 15 May 2011 00:40:47 GMT


 Hi all,
        I have a problem trying to build the froyo source code and got the
build error.
Kindly let me know how to solve the issue.
Following is the error message

*In file included from external/qemu/android/skin/window.c:19:0:*
*prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:55:22: fatal error:
X11/Xlib.h: No such file or directory*
*compilation terminated.*
*make: ***
[out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android/skin/window.o]
Error 1*
*make: *** Waiting for unfinished jobs....*

With Regards,
Prabagaran.

-- 



Re: Froyo Build Error

by Name Less, the Jedi » Sun, 15 May 2011 05:01:42 GMT


 2011/5/14 Prabagaran Thangavel <prabagara...@gmail.com>


I believe that you are missing X11 developement package. On Debian (and
Ubuntu probably) it's called libx11-dev.
Have a look at  http://s.android.com/source/initializing.html for list of all 
packages that are needed to build AOSP


-- 
Name Less, the Jedi < http://www.nl-j.org/> ;
Just a friendly Jedi Knight

-- 



Other Threads

1. Android File writing doubt

In android,
Here, if i remove file from file system, it wont allow to write
if i change in sdcard it allows
when i do "df"
he says size is available
and once i do "dd"
it goes for a toss

How is it possible to change the file pulled ane write into it and
push it back so that those details gets saved???

Any help will be appreciated :)

Below are the logs:

# reboot
reboot

C:\android-sdk-windows\tools>adb devices
List of devices attached
HT058HL00699    device


C:\android-sdk-windows\tools>adb shell
# su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
# cat /proc/mounts
cat /proc/mounts
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/mtdblock4 /system yaffs2 rw 0 0
/dev/block/mtdblock6 /data yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock5 /cache yaffs2 rw,nosuid,nodev 0 0
tmpfs /app-cache tmpfs rw,size=8192k 0 0
/dev/block//vold/179:1 /sdcard vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gi
1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1
hortname=mixed,utf8,errors=remount-ro 0 0
# cd /sdcard/
cd /sdcard/
# ls -l
ls -l
d---rwxr-x system   sdcard_rw          2010-04-09 15:38 HTC Sync
d---rwxr-x system   sdcard_rw          2010-04-09 15:39 Music
d---rwxr-x system   sdcard_rw          2010-04-09 15:39 Sample Photo
d---rwxr-x system   sdcard_rw          1980-01-06 00:00 LOST.DIR
d---rwxr-x system   sdcard_rw          2010-05-20 11:04 rssreader
d---rwxr-x system   sdcard_rw          2010-11-14 16:45 albumthumbs
d---rwxr-x system   sdcard_rw          2010-05-20 11:19 rosie_scroll
d---rwxr-x system   sdcard_rw          2010-06-12 14:16 tmp
d---rwxr-x system   sdcard_rw          2010-05-20 12:48 Android
d---rwxr-x system   sdcard_rw          2010-11-16 12:19 DCIM
d---rwxr-x system   sdcard_rw          2010-09-12 15:04 download
d---rwxr-x system   sdcard_rw          2010-05-20 17:45 media
d---rwxr-x system   sdcard_rw          2010-05-20 22:10 Downloads
----rwxr-x system   sdcard_rw    55715 2010-11-17 16:06 cacerts.bks
d---rwxr-x system   sdcard_rw          2010-05-23 00:38 agilefusion
d---rwxr-x system   sdcard_rw          2010-05-23 11:15 Qik
d---rwxr-x system   sdcard_rw          2010-05-25 08:46 thumbs
----rwxr-x system   sdcard_rw    55715 2010-11-15 18:39 new-
cacerts.bks
----rwxr-x system   sdcard_rw   535540 2010-11-17 15:21 busybox

# # ls -l
ls -l
d---rwxr-x system   sdcard_rw          2010-04-09 15:38 HTC Sync
d---rwxr-x system   sdcard_rw          2010-04-09 15:39 Music
d---rwxr-x system   sdcard_rw          2010-04-09 15:39 Sample Photo
d---rwxr-x system   sdcard_rw          1980-01-06 00:00 LOST.DIR
d---rwxr-x system   sdcard_rw          2010-05-20 11:04 rssreader
d---rwxr-x system   sdcard_rw          2010-11-14 16:45 albumthumbs
d---rwxr-x system   sdcard_rw          2010-05-20 11:19 rosie_scroll
d---rwxr-x system   sdcard_rw          2010-06-12 14:16 tmp
d---rwxr-x system   sdcard_rw          2010-05-20 12:48 Android
d---rwxr-x system   sdcard_rw          2010-11-16 12:19 DCIM
d---rwxr-x system   sdcard_rw          2010-09-12 15:04 download
d---rwxr-x system   sdcard_rw          2010-05-20 17:45 media
d---rwxr-x system   sdcard_rw          2010-05-20 22:10 Downloads
----rwxr-x system   sdcard_rw        0 2010-11-17 16:26 cacerts.bks
d---rwxr-x system   sdcard_rw          2010-05-23 00:38 agilefusion
d---rwxr-x system   sdcard_rw          2010-05-23 11:15 Qik
d---rwxr-x system   sdcard_rw          2010-05-25 08:46 thumbs
----rwxr-x system   sdcard_rw    55715 2010-11-15 18:39 new-
cacerts.bks
----rwxr-x system   sdcard_rw   535540 2010-11-17 15:21 busybox


# dd if=/sdcard/new-cacerts.bks of=./cacerts.bks
dd if=/sdcard/new-cacerts.bks of=./cacerts.bks
108+1 records in
108+1 records out
55715 bytes transferred in 0.018 secs (3095277 bytes/sec)

# cd /system/etc/security
cd /system/etc/security
# ls -l
ls -l
-rw-r--r-- root     root         1107 2010-04-28 19:10 otacerts.zip
-rw-r--r-- root     root        55715 2010-04-28 08:54 cacerts.bks

# df
df
/dev: 201900K total, 0K used, 201900K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 4K used, 4092K available (block
size 4096)
/system: 358400K total, 217796K used, 140604K available (block size
4096)
/data: 437888K total, 85680K used, 352208K available (block size 4096)
/cache: 163840K total, 1416K used, 162424K available (block size 4096)
/app-cache: 8192K total, 1092K used, 7100K available (block size 4096)
/sdcard: 7753728K total, 132032K used, 7621696K available (block size
32768)

# dd if=/sdcard/new-cacerts.bks of=./cacerts.bks
dd if=/sdcard/new-cacerts.bks of=./cacerts.bks
./cacerts.bks: write error: No space left on device
42+0 records in
41+0 records out
20992 bytes transferred in 0.384 secs (54666 bytes/sec)

here, the crazy part is
if i just try to copy the same file again
with "dd"
it goes for a toss

# ls -l
ls -l
-rw-r--r-- root     root         1107 2010-04-28 19:10 otacerts.zip
-rw-r--r-- root     root        55715 2010-04-28 08:54 cacerts.bks
# dd if=./cacerts.bks of=./cacerts.bks
dd if=./cacerts.bks of=./cacerts.bks
0+0 records in
0+0 records out
0 bytes transferred in 0.001 secs (0 bytes/sec)
# ls -l
ls -l
-rw-r--r-- root     root         1107 2010-04-28 19:10 otacerts.zip
-rw-r--r-- root     root            0 2010-11-17 16:54 cacerts.bks

-- 

2. Log

Hi all,

*In android,*
**if i remove file from file system, he wont allow to write
if i change in sdcard it allows
when i do "df"
he says size is available
and once i do "dd"
it goes for a toss

see the logs,,,,

How is it possible to change the file pulled ane write into it and push it
back so that those details gets saved???

Please help

# reboot
reboot

C:\android-sdk-windows\tools>adb devices
List of devices attached
HT058HL00699    device


C:\android-sdk-windows\tools>adb shell
# su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
# cat /proc/mounts
cat /proc/mounts
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/mtdblock4 /system yaffs2 rw 0 0
/dev/block/mtdblock6 /data yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock5 /cache yaffs2 rw,nosuid,nodev 0 0
tmpfs /app-cache tmpfs rw,size=8192k 0 0
/dev/block//vold/179:1 /sdcard vfat
rw,dirsync,nosuid,nodev,noexec,uid=1000,gi
1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1
hortname=mixed,utf8,errors=remount-ro 0 0
# cd /sdcard/
cd /sdcard/
# ls -l
ls -l
d---rwxr-x system   sdcard_rw          2010-04-09 15:38 HTC Sync
d---rwxr-x system   sdcard_rw          2010-04-09 15:39 Music
d---rwxr-x system   sdcard_rw          2010-04-09 15:39 Sample Photo
d---rwxr-x system   sdcard_rw          1980-01-06 00:00 LOST.DIR
d---rwxr-x system   sdcard_rw          2010-05-20 11:04 rssreader
d---rwxr-x system   sdcard_rw          2010-11-14 16:45 albumthumbs
d---rwxr-x system   sdcard_rw          2010-05-20 11:19 rosie_scroll
d---rwxr-x system   sdcard_rw          2010-06-12 14:16 tmp
d---rwxr-x system   sdcard_rw          2010-05-20 12:48 Android
d---rwxr-x system   sdcard_rw          2010-11-16 12:19 DCIM
d---rwxr-x system   sdcard_rw          2010-09-12 15:04 download
d---rwxr-x system   sdcard_rw          2010-05-20 17:45 media
d---rwxr-x system   sdcard_rw          2010-05-20 22:10 Downloads
----rwxr-x system   sdcard_rw    55715 2010-11-17 16:06 cacerts.bks
d---rwxr-x system   sdcard_rw          2010-05-23 00:38 agilefusion
d---rwxr-x system   sdcard_rw          2010-05-23 11:15 Qik
d---rwxr-x system   sdcard_rw          2010-05-25 08:46 thumbs
----rwxr-x system   sdcard_rw    55715 2010-11-15 18:39 new-cacerts.bks
----rwxr-x system   sdcard_rw   535540 2010-11-17 15:21 busybox

# # ls -l
ls -l
d---rwxr-x system   sdcard_rw          2010-04-09 15:38 HTC Sync
d---rwxr-x system   sdcard_rw          2010-04-09 15:39 Music
d---rwxr-x system   sdcard_rw          2010-04-09 15:39 Sample Photo
d---rwxr-x system   sdcard_rw          1980-01-06 00:00 LOST.DIR
d---rwxr-x system   sdcard_rw          2010-05-20 11:04 rssreader
d---rwxr-x system   sdcard_rw          2010-11-14 16:45 albumthumbs
d---rwxr-x system   sdcard_rw          2010-05-20 11:19 rosie_scroll
d---rwxr-x system   sdcard_rw          2010-06-12 14:16 tmp
d---rwxr-x system   sdcard_rw          2010-05-20 12:48 Android
d---rwxr-x system   sdcard_rw          2010-11-16 12:19 DCIM
d---rwxr-x system   sdcard_rw          2010-09-12 15:04 download
d---rwxr-x system   sdcard_rw          2010-05-20 17:45 media
d---rwxr-x system   sdcard_rw          2010-05-20 22:10 Downloads
----rwxr-x system   sdcard_rw        0 2010-11-17 16:26 cacerts.bks
d---rwxr-x system   sdcard_rw          2010-05-23 00:38 agilefusion
d---rwxr-x system   sdcard_rw          2010-05-23 11:15 Qik
d---rwxr-x system   sdcard_rw          2010-05-25 08:46 thumbs
----rwxr-x system   sdcard_rw    55715 2010-11-15 18:39 new-cacerts.bks
----rwxr-x system   sdcard_rw   535540 2010-11-17 15:21 busybox


# dd if=/sdcard/new-cacerts.bks of=./cacerts.bks
dd if=/sdcard/new-cacerts.bks of=./cacerts.bks
108+1 records in
108+1 records out
55715 bytes transferred in 0.018 secs (3095277 bytes/sec)

# cd /system/etc/security
cd /system/etc/security
# ls -l
ls -l
-rw-r--r-- root     root         1107 2010-04-28 19:10 otacerts.zip
-rw-r--r-- root     root        55715 2010-04-28 08:54 cacerts.bks

# df
df
/dev: 201900K total, 0K used, 201900K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 4K used, 4092K available (block size
4096)
/system: 358400K total, 217796K used, 140604K available (block size 4096)
/data: 437888K total, 85680K used, 352208K available (block size 4096)
/cache: 163840K total, 1416K used, 162424K available (block size 4096)
/app-cache: 8192K total, 1092K used, 7100K available (block size 4096)
/sdcard: 7753728K total, 132032K used, 7621696K available (block size 32768)

# dd if=/sdcard/new-cacerts.bks of=./cacerts.bks
dd if=/sdcard/new-cacerts.bks of=./cacerts.bks
./cacerts.bks: write error: No space left on device
42+0 records in
41+0 records out
20992 bytes transferred in 0.384 secs (54666 bytes/sec)



-- 
With Regards,
 Chetan

-- 

3. How to copy android home shortcuts from one device to another ?

4. Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

5. Spinner in ListView Activity

6. voice communication over WIFI within same region(without VOIP)

7. Problem with camera preview in portrait mode