Discussion:
Gingerbread build for generic_x86.
(too old to reply)
animesh
2011-03-30 09:51:33 UTC
Permalink
Hi All,

I have followed the procedure mentioned in

http://www.android-x86.org/getsourcecode

<http://www.android-x86.org/getsourcecode>The build command i used are as
follows:-
make usb_img TARGET_PRODUCT=generic_x86

But i get this below error:-

target Dex: Email
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x40ed8bd3, pid=12228, tid=1087863664
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.7
# Distribution: Ubuntu 10.10, package 6b20-1.9.7-0ubuntu1
# Problematic frame:
# J com.android.dx.cf.code.Ropper.doit()V
#
# An error report file with more information is saved as:
# /home/animeshb/Downloads/Android/android-x86/source/hs_err_pid12228.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
make: ***
[out/target/common/obj/APPS/Email_intermediates/noproguard.classes-with-local.dex]
Aborted

The log file is also attached.
What modification do i need to do.
--
Regards,
Animesh Bhadra,
+91-9880868571
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
animesh
2011-03-30 10:37:38 UTC
Permalink
Hi,

When i complile first time i get the following java error:-
target Dex: MagicSmokeWallpapers
Copying:
out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/noproguard.classes.dex
target Package: MagicSmokeWallpapers
(out/target/product/generic_x86/obj/APPS/MagicSmokeWallpapers_intermediates/package.apk)
'out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates//classes.dex'
as 'classes.dex'...
Notice file: packages/wallpapers/MagicSmoke/NOTICE --
out/target/product/generic_x86/obj/NOTICE_FILES/src//system/app/MagicSmokeWallpapers.apk.txt
Install: out/target/product/generic_x86/system/app/MagicSmokeWallpapers.apk
target R.java/Manifest.java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
target Java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/classes)
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java:1869:
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);

^
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java:1870:
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
values.remove(MediaStore.Audio.Media.COMPILATION);
^
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java:2340:
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);

^
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java:2341:
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
values.remove(MediaStore.Audio.Media.COMPILATION);
^
Note:
packages/providers/MediaProvider/src/com/android/providers/media/MediaScannerService.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: ***
[out/target/common/obj/APPS/MediaProvider_intermediates/classes-full-debug.jar]
Error 41
Post by animesh
Hi All,
I have followed the procedure mentioned in
http://www.android-x86.org/getsourcecode
<http://www.android-x86.org/getsourcecode>The build command i used are as
follows:-
make usb_img TARGET_PRODUCT=generic_x86
But i get this below error:-
target Dex: Email
#
#
# SIGSEGV (0xb) at pc=0x40ed8bd3, pid=12228, tid=1087863664
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.7
# Distribution: Ubuntu 10.10, package 6b20-1.9.7-0ubuntu1
# J com.android.dx.cf.code.Ropper.doit()V
#
# /home/animeshb/Downloads/Android/android-x86/source/hs_err_pid12228.log
#
# If you would like to submit a bug report, please include
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
make: ***
[out/target/common/obj/APPS/Email_intermediates/noproguard.classes-with-local.dex]
Aborted
The log file is also attached.
What modification do i need to do.
--
Regards,
Animesh Bhadra,
+91-9880868571
--
Regards,
Animesh Bhadra,
+91-9880868571
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
Yi Sun
2011-03-31 05:43:15 UTC
Permalink
I will send a patch for this soon... maybe today
Post by animesh
Hi,
When i complile first time i get the following java error:-
target Dex: MagicSmokeWallpapers
out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/noproguard.classes.dex
target Package: MagicSmokeWallpapers
(out/target/product/generic_x86/obj/APPS/MagicSmokeWallpapers_intermediates/package.apk)
 'out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates//classes.dex'
as 'classes.dex'...
Notice file: packages/wallpapers/MagicSmoke/NOTICE --
out/target/product/generic_x86/obj/NOTICE_FILES/src//system/app/MagicSmokeWallpapers.apk.txt
Install: out/target/product/generic_x86/system/app/MagicSmokeWallpapers.apk
target R.java/Manifest.java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
target Java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/classes)
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
 ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                values.remove(MediaStore.Audio.Media.COMPILATION);
                                                    ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                        String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
         ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                        values.remove(MediaStore.Audio.Media.COMPILATION);
                                                            ^
packages/providers/MediaProvider/src/com/android/providers/media/MediaScannerService.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: ***
[out/target/common/obj/APPS/MediaProvider_intermediates/classes-full-debug.jar]
Error 41
Post by animesh
Hi All,
I have followed the procedure mentioned in
http://www.android-x86.org/getsourcecode
The build command i used are as follows:-
make usb_img TARGET_PRODUCT=generic_x86
But i get this below error:-
target Dex: Email
#
#
#  SIGSEGV (0xb) at pc=0x40ed8bd3, pid=12228, tid=1087863664
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.7
# Distribution: Ubuntu 10.10, package 6b20-1.9.7-0ubuntu1
# J  com.android.dx.cf.code.Ropper.doit()V
#
# /home/animeshb/Downloads/Android/android-x86/source/hs_err_pid12228.log
#
# If you would like to submit a bug report, please include
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
make: ***
[out/target/common/obj/APPS/Email_intermediates/noproguard.classes-with-local.dex]
Aborted
The log file is also attached.
What modification do i need to do.
--
Regards,
Animesh Bhadra,
+91-9880868571
--
Regards,
Animesh Bhadra,
+91-9880868571
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-x86?hl=en.
--
Android-x86
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
Yi Sun
2011-03-31 06:47:25 UTC
Permalink
You can pick up patches in
https://sites.google.com/a/android-x86.org/web/download
Post by Yi Sun
I will send a patch for this soon... maybe today
Post by animesh
Hi,
When i complile first time i get the following java error:-
target Dex: MagicSmokeWallpapers
out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/noproguard.classes.dex
target Package: MagicSmokeWallpapers
(out/target/product/generic_x86/obj/APPS/MagicSmokeWallpapers_intermediates/package.apk)
 'out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates//classes.dex'
as 'classes.dex'...
Notice file: packages/wallpapers/MagicSmoke/NOTICE --
out/target/product/generic_x86/obj/NOTICE_FILES/src//system/app/MagicSmokeWallpapers.apk.txt
Install: out/target/product/generic_x86/system/app/MagicSmokeWallpapers.apk
target R.java/Manifest.java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
target Java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/classes)
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
 ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                values.remove(MediaStore.Audio.Media.COMPILATION);
                                                    ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                        String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
         ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                        values.remove(MediaStore.Audio.Media.COMPILATION);
                                                            ^
packages/providers/MediaProvider/src/com/android/providers/media/MediaScannerService.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: ***
[out/target/common/obj/APPS/MediaProvider_intermediates/classes-full-debug.jar]
Error 41
Post by animesh
Hi All,
I have followed the procedure mentioned in
http://www.android-x86.org/getsourcecode
The build command i used are as follows:-
make usb_img TARGET_PRODUCT=generic_x86
But i get this below error:-
target Dex: Email
#
#
#  SIGSEGV (0xb) at pc=0x40ed8bd3, pid=12228, tid=1087863664
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.7
# Distribution: Ubuntu 10.10, package 6b20-1.9.7-0ubuntu1
# J  com.android.dx.cf.code.Ropper.doit()V
#
# /home/animeshb/Downloads/Android/android-x86/source/hs_err_pid12228.log
#
# If you would like to submit a bug report, please include
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
make: ***
[out/target/common/obj/APPS/Email_intermediates/noproguard.classes-with-local.dex]
Aborted
The log file is also attached.
What modification do i need to do.
--
Regards,
Animesh Bhadra,
+91-9880868571
--
Regards,
Animesh Bhadra,
+91-9880868571
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-x86?hl=en.
--
Android-x86
http://www.android-x86.org
--
Android-x86
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
AnimeshKBhadra
2011-03-31 08:11:36 UTC
Permalink
Hi Yi,

Thanks for the Patch. Looks like it is working now.
Will revert back on any further issues.

Regards
Animesh K. Bhadra
Post by Yi Sun
You can pick up patches in
https://sites.google.com/a/android-x86.org/web/download
Post by Yi Sun
I will send a patch for this soon... maybe today
Post by animesh
Hi,
When i complile first time i get the following java error:-
target Dex: MagicSmokeWallpapers
out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/noproguard.classes.dex
target Package: MagicSmokeWallpapers
(out/target/product/generic_x86/obj/APPS/MagicSmokeWallpapers_intermediates/package.apk)
'out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates//classes.dex'
as 'classes.dex'...
Notice file: packages/wallpapers/MagicSmoke/NOTICE --
out/target/product/generic_x86/obj/NOTICE_FILES/src//system/app/MagicSmokeWallpapers.apk.txt
Install: out/target/product/generic_x86/system/app/MagicSmokeWallpapers.apk
target R.java/Manifest.java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
target Java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/classes)
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
^
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
values.remove(MediaStore.Audio.Media.COMPILATION);
^
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
^
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
values.remove(MediaStore.Audio.Media.COMPILATION);
^
packages/providers/MediaProvider/src/com/android/providers/media/MediaScannerService.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: ***
[out/target/common/obj/APPS/MediaProvider_intermediates/classes-full-debug.jar]
Error 41
Post by animesh
Hi All,
I have followed the procedure mentioned in
http://www.android-x86.org/getsourcecode
The build command i used are as follows:-
make usb_img TARGET_PRODUCT=generic_x86
But i get this below error:-
target Dex: Email
#
#
# SIGSEGV (0xb) at pc=0x40ed8bd3, pid=12228, tid=1087863664
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.7
# Distribution: Ubuntu 10.10, package 6b20-1.9.7-0ubuntu1
# J com.android.dx.cf.code.Ropper.doit()V
#
# /home/animeshb/Downloads/Android/android-x86/source/hs_err_pid12228.log
#
# If you would like to submit a bug report, please include
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
make: ***
[out/target/common/obj/APPS/Email_intermediates/noproguard.classes-with-local.dex]
Aborted
The log file is also attached.
What modification do i need to do.
--
Regards,
Animesh Bhadra,
+91-9880868571
--
Regards,
Animesh Bhadra,
+91-9880868571
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-x86?hl=en.
--
Android-x86
http://www.android-x86.org
AnimeshKBhadra
2011-03-31 08:48:01 UTC
Permalink
Hi Yi Sun,

I applied all the 3 patches available in the sites below:-
0001-fixed-build-break-frameworks-base.patch
0001-fixed-build-break-in-Mms.patch
0001-fixed-build-break-in-the-sip.patch

I used the following command to apply the patch:-
git apply --stat <patchname.patch>

But i am seeing the same issue still

Regards
Animesh k. Bhadra.
Post by Yi Sun
You can pick up patches in
https://sites.google.com/a/android-x86.org/web/download
Post by Yi Sun
I will send a patch for this soon... maybe today
Post by animesh
Hi,
When i complile first time i get the following java error:-
target Dex: MagicSmokeWallpapers
out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/noproguard.classes.dex
target Package: MagicSmokeWallpapers
(out/target/product/generic_x86/obj/APPS/MagicSmokeWallpapers_intermediates/package.apk)
'out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates//classes.dex'
as 'classes.dex'...
Notice file: packages/wallpapers/MagicSmoke/NOTICE --
out/target/product/generic_x86/obj/NOTICE_FILES/src//system/app/MagicSmokeWallpapers.apk.txt
Install: out/target/product/generic_x86/system/app/MagicSmokeWallpapers.apk
target R.java/Manifest.java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
target Java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/classes)
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
^
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
values.remove(MediaStore.Audio.Media.COMPILATION);
^
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
^
cannot find symbol
symbol : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
values.remove(MediaStore.Audio.Media.COMPILATION);
^
packages/providers/MediaProvider/src/com/android/providers/media/MediaScannerService.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: ***
[out/target/common/obj/APPS/MediaProvider_intermediates/classes-full-debug.jar]
Error 41
Post by animesh
Hi All,
I have followed the procedure mentioned in
http://www.android-x86.org/getsourcecode
The build command i used are as follows:-
make usb_img TARGET_PRODUCT=generic_x86
But i get this below error:-
target Dex: Email
#
#
# SIGSEGV (0xb) at pc=0x40ed8bd3, pid=12228, tid=1087863664
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.7
# Distribution: Ubuntu 10.10, package 6b20-1.9.7-0ubuntu1
# J com.android.dx.cf.code.Ropper.doit()V
#
# /home/animeshb/Downloads/Android/android-x86/source/hs_err_pid12228.log
#
# If you would like to submit a bug report, please include
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
make: ***
[out/target/common/obj/APPS/Email_intermediates/noproguard.classes-with-local.dex]
Aborted
The log file is also attached.
What modification do i need to do.
--
Regards,
Animesh Bhadra,
+91-9880868571
--
Regards,
Animesh Bhadra,
+91-9880868571
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-x86?hl=en.
--
Android-x86
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
Yi Sun
2011-03-31 17:02:21 UTC
Permalink
I have a 64bit machine with Ubuntu and I can build gingerbread now
(even through I did not get time to run it yet). Could you check your
source code to make sure all the changes are in the source code?
Especially, you should check following changes.
Also, all the patches are fixing the compile errors you mentioned in
your second e-mail not the first one.
Yi

ore/java/android/provider/MediaStore.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/core/java/android/provider/MediaStore.java
b/core/java/android/provider/MediaStore.java
index 075da33..3482a9b 100644
--- a/core/java/android/provider/MediaStore.java
+++ b/core/java/android/provider/MediaStore.java
@@ -898,7 +898,12 @@ public final class MediaStore {
* @hide
*/
public static final String ALBUM_ARTIST = "album_artist";
-
+ /**
+ * Whether the song is part of a compilation
+ * <P>Type: TEXT</P>
+ * @hide
+ */
+ public static final String COMPILATION="compilation";
/**
* A non human readable key calculated from the ARTIST, used for
* searching, sorting and grouping
--
1.7.1

On Thu, Mar 31, 2011 at 1:48 AM, AnimeshKBhadra
Post by AnimeshKBhadra
Hi Yi Sun,
I applied all the 3 patches available in the sites below:-
    0001-fixed-build-break-frameworks-base.patch
      0001-fixed-build-break-in-Mms.patch
    0001-fixed-build-break-in-the-sip.patch
I used the following command to apply the patch:-
git apply --stat <patchname.patch>
But i am seeing the same issue still
Regards
Animesh k. Bhadra.
You can pick up patches in
https://sites.google.com/a/android-x86.org/web/download
I will send a patch for this soon... maybe today
Hi,
When i complile first time i get the following java error:-
target Dex: MagicSmokeWallpapers
out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/noproguard.classes.dex
target Package: MagicSmokeWallpapers
(out/target/product/generic_x86/obj/APPS/MagicSmokeWallpapers_intermediates/package.apk)
 'out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates//classes.dex'
as 'classes.dex'...
Notice file: packages/wallpapers/MagicSmoke/NOTICE --
out/target/product/generic_x86/obj/NOTICE_FILES/src//system/app/MagicSmokeWallpapers.apk.txt
Install: out/target/product/generic_x86/system/app/MagicSmokeWallpapers.apk
target R.java/Manifest.java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/src/R.stamp)
target Java: MediaProvider
(out/target/common/obj/APPS/MediaProvider_intermediates/classes)
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
 ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                values.remove(MediaStore.Audio.Media.COMPILATION);
                                                    ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                        String compilation =
values.getAsString(MediaStore.Audio.Media.COMPILATION);
         ^
cannot find symbol
symbol  : variable COMPILATION
location: class android.provider.MediaStore.Audio.Media
                        values.remove(MediaStore.Audio.Media.COMPILATION);
                                                            ^
packages/providers/MediaProvider/src/com/android/providers/media/MediaScannerService.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: ***
[out/target/common/obj/APPS/MediaProvider_intermediates/classes-full-debug.jar]
Error 41
Hi All,
I have followed the procedure mentioned in
http://www.android-x86.org/getsourcecode
The build command i used are as follows:-
make usb_img TARGET_PRODUCT=generic_x86
But i get this below error:-
target Dex: Email
#
#
#  SIGSEGV (0xb) at pc=0x40ed8bd3, pid=12228, tid=1087863664
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
# Derivative: IcedTea6 1.9.7
# Distribution: Ubuntu 10.10, package 6b20-1.9.7-0ubuntu1
# J  com.android.dx.cf.code.Ropper.doit()V
#
# /home/animeshb/Downloads/Android/android-x86/source/hs_err_pid12228.log
#
# If you would like to submit a bug report, please include
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
make: ***
[out/target/common/obj/APPS/Email_intermediates/noproguard.classes-with-local.dex]
Aborted
The log file is also attached.
What modification do i need to do.
--
Regards,
Animesh Bhadra,
+91-9880868571
--
Regards,
Animesh Bhadra,
+91-9880868571
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-x86?hl=en.
--
Android-x86
http://www.android-x86.org
--
Android-x86
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
AnimeshKBhadra
2011-03-31 19:23:22 UTC
Permalink
Hi Yi Sun,

Thanks for the help, I did a mistake in applying the Patch.
I looked into patch file and applied the patch in the path mentioned.

Also there was an issue with openJDK due to which i got the second
error. I changed it to Java-SDK and it compiled fine.

Regards
Animesh K. Bhadra
Post by Yi Sun
I have a 64bit machine with Ubuntu and I can build gingerbread now
(even through I did not get time to run it yet). Could you check your
source code to make sure all the changes are in the source code?
Especially, you should check following changes.
Also, all the patches are fixing the compile errors you mentioned in
your second e-mail not the first one.
Yi
ore/java/android/provider/MediaStore.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/core/java/android/provider/MediaStore.java
b/core/java/android/provider/MediaStore.java
index 075da33..3482a9b 100644
--- a/core/java/android/provider/MediaStore.java
+++ b/core/java/android/provider/MediaStore.java
@@ -898,7 +898,12 @@ public final class MediaStore {
*/
public static final String ALBUM_ARTIST = "album_artist";
-
+ /**
+ * Whether the song is part of a compilation
+ *<P>Type: TEXT</P>
+ */
+ public static final String COMPILATION="compilation";
/**
* A non human readable key calculated from the ARTIST, used for
* searching, sorting and grouping
Yi Sun
2011-03-31 23:49:30 UTC
Permalink
Thanks for the info. Since I have not tested the functionality of mms, so I don't know if I have broke anything. Anyway, I will push in the fix first and we can worry about functionality later. If you see issues, please do let us know
Yi
Post by AnimeshKBhadra
Hi Yi Sun,
Thanks for the help, I did a mistake in applying the Patch.
I looked into patch file and applied the patch in the path mentioned.
Also there was an issue with openJDK due to which i got the second error. I changed it to Java-SDK and it compiled fine.
Regards
Animesh K. Bhadra
Post by Yi Sun
I have a 64bit machine with Ubuntu and I can build gingerbread now
(even through I did not get time to run it yet). Could you check your
source code to make sure all the changes are in the source code?
Especially, you should check following changes.
Also, all the patches are fixing the compile errors you mentioned in
your second e-mail not the first one.
Yi
ore/java/android/provider/MediaStore.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/core/java/android/provider/MediaStore.java
b/core/java/android/provider/MediaStore.java
index 075da33..3482a9b 100644
--- a/core/java/android/provider/MediaStore.java
+++ b/core/java/android/provider/MediaStore.java
@@ -898,7 +898,12 @@ public final class MediaStore {
*/
public static final String ALBUM_ARTIST = "album_artist";
-
+ /**
+ * Whether the song is part of a compilation
+ *<P>Type: TEXT</P>
+ */
+ public static final String COMPILATION="compilation";
/**
* A non human readable key calculated from the ARTIST, used for
* searching, sorting and grouping
Langit Biru
2011-03-31 08:44:23 UTC
Permalink
Post by animesh
Hi All,
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
Can we build gingerbread-x86 on 32 bit machine now?
AFAIK, we need 64 bit machine to build gingerbread (AOSP).
AnimeshKBhadra
2011-03-31 09:03:52 UTC
Permalink
Hi,

I did the modification mentioned in this discussion groups, for make it
build for 32 bit.

_http://groups.google.com/group/android-building/browse_thread/thread/7a58ab12d88b1b0c?fwc=1_


regards
Animesh K. Bhadra
Post by Langit Biru
Post by animesh
Hi All,
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
Can we build gingerbread-x86 on 32 bit machine now?
AFAIK, we need 64 bit machine to build gingerbread (AOSP).
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
Al Sutton
2011-03-31 09:12:26 UTC
Permalink
Try using the Sun JDK, not OpenJDK.

Al.
--
T: @alsutton W: www.funkyandroid.com

The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.
Hi,
I did the modification mentioned in this discussion groups, for make it build for 32 bit.
http://groups.google.com/group/android-building/browse_thread/thread/7a58ab12d88b1b0c?fwc=1
regards
Animesh K. Bhadra
Post by Langit Biru
Post by animesh
Hi All,
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
Can we build gingerbread-x86 on 32 bit machine now?
AFAIK, we need 64 bit machine to build gingerbread (AOSP).
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
Continue reading on narkive:
Loading...