Discussion:
no such file error during compilation
(too old to reply)
walter
2014-04-28 19:51:20 UTC
Permalink
Hello,
could someone please explain me how to get rid of the following error which
I got after several hours of compilation :

target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/GypAndroid.linux-x86.mk --
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
File "../../base/android/jni_generator/jni_generator.py", line 1065, in
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1061, in
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 996, in
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 507, in
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Error 1
Walter
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
walter
2014-04-28 21:19:42 UTC
Permalink
and In dir out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni I
have only one dir "android" and Surface_jni.h isn't there...

can you help?
Post by walter
Hello,
could someone please explain me how to get rid of the following error
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/GypAndroid.linux-x86.mk --
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
File "../../base/android/jni_generator/jni_generator.py", line 1065, in
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1061, in
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 996, in
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 507, in
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Error 1
Walter
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Chih-Wei Huang
2014-04-29 07:34:09 UTC
Permalink
If I remember correctly, the error is due to
no javap (The Java Class File Disassembler) in your $PATH.
Make sure you have installed it.
Post by walter
and In dir out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni I
have only one dir "android" and Surface_jni.h isn't there...
can you help?
Post by walter
Hello,
could someone please explain me how to get rid of the following error
Post by walter
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/GypAndroid.linux-x86.mk --
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
File "../../base/android/jni_generator/jni_generator.py", line 1065, in
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1061, in
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 996, in
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, namespace)
File "../../base/android/jni_generator/jni_generator.py", line 507, in
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Error 1
Walter
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
walter
2014-04-30 21:43:52 UTC
Permalink
that was indeed the problem, it's solved,
I really appreciate your help,

now, it seems I've almost got the image compiled and I got this syntax
error when creating system.img

+ make_ext4fs -S out/target/product/x86/root/file_contexts -l 515M -a
system
out/target/product/x86/obj/PACKAGING/systemimage_intermediates/system.img
out/target/product/x86/system
Size: 540016640
Block size: 4096
Blocks per group: 32768
Inodes per group: 6592
Inode size: 256
Journal blocks: 2060
Blocks: 131840
Block groups: 5
Reserved block group size: 39
Created filesystem with 2744/32960 inodes and 124089/131840 blocks
+ '[' 0 -ne 0 ']'
/bin/bash: / 2048 * (2048+64): *syntax error*: operand expected (error
token is "/ 2048 * (2048+64)")
Install system fs image: out/target/product/x86/system.img
division by 0 (error token is "+ 1) * img_blocksize")
make: *** [out/target/product/x86/system.img] Error 1
make: *** Deleting file `out/target/product/x86/system.img'
rm
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/nl.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/fr.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/es.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/sv.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/de.po
I am using Ubuntu 12.04, and I executed the following commands

. build/envsetup.sh
export ARCH=x86
lunch android_x86-eng
make -C kernel O=/home/walter/work/config/.config xconfig
export TARGET_PRODUCT=android_x86
export TARGET_KERNEL_CONFIG=/home/walter/work/config/.config/.config
make clean
make kernel -j4
make iso_img -j4 TARGET_PRODUCT=android_x86
TARGET_PREBUILT_KERNEL=/home/walter/work/android-x86/out/target/product/x86/
am I doing something wrong ?
If I remember correctly, the error is due to
no javap (The Java Class File Disassembler) in your $PATH.
Make sure you have installed it.
Post by walter
and In dir out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni
I
Post by walter
have only one dir "android" and Surface_jni.h isn't there...
can you help?
Post by walter
Hello,
could someone please explain me how to get rid of the following error
Post by walter
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/GypAndroid.linux-x86.mk--
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
Post by walter
Post by walter
Post by walter
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Post by walter
Post by walter
Post by walter
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line 1065,
in
Post by walter
Post by walter
Post by walter
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line 1061,
in
Post by walter
Post by walter
Post by walter
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 996,
in
Post by walter
Post by walter
Post by walter
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file,
namespace)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line 507,
in
Post by walter
Post by walter
Post by walter
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child
Post by walter
Post by walter
Post by walter
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Post by walter
Post by walter
Post by walter
Error 1
Walter
--
You received this message because you are subscribed to the Google
Groups
Post by walter
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by walter
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
rbg
2014-04-30 22:00:42 UTC
Permalink
see here

ref: https://code.google.com/p/android-x86/issues/detail?id=1194
Post by walter
that was indeed the problem, it's solved,
I really appreciate your help,
now, it seems I've almost got the image compiled and I got this syntax
error when creating system.img
+ make_ext4fs -S out/target/product/x86/root/file_contexts -l 515M -a
Post by walter
system
out/target/product/x86/obj/PACKAGING/systemimage_intermediates/system.img
out/target/product/x86/system
Size: 540016640
Block size: 4096
Blocks per group: 32768
Inodes per group: 6592
Inode size: 256
Journal blocks: 2060
Blocks: 131840
Block groups: 5
Reserved block group size: 39
Created filesystem with 2744/32960 inodes and 124089/131840 blocks
+ '[' 0 -ne 0 ']'
/bin/bash: / 2048 * (2048+64): *syntax error*: operand expected (error
token is "/ 2048 * (2048+64)")
Install system fs image: out/target/product/x86/system.img
division by 0 (error token is "+ 1) * img_blocksize")
make: *** [out/target/product/x86/system.img] Error 1
make: *** Deleting file `out/target/product/x86/system.img'
rm
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/nl.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/fr.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/es.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/sv.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/de.po
I am using Ubuntu 12.04, and I executed the following commands
. build/envsetup.sh
Post by walter
export ARCH=x86
lunch android_x86-eng
make -C kernel O=/home/walter/work/config/.config xconfig
export TARGET_PRODUCT=android_x86
Post by walter
export TARGET_KERNEL_CONFIG=/home/walter/work/config/.config/.config
make clean
make kernel -j4
make iso_img -j4 TARGET_PRODUCT=android_x86
TARGET_PREBUILT_KERNEL=/home/walter/work/android-x86/out/target/product/x86/
am I doing something wrong ?
Post by walter
If I remember correctly, the error is due to
no javap (The Java Class File Disassembler) in your $PATH.
Make sure you have installed it.
Post by walter
and In dir
out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni I
Post by walter
have only one dir "android" and Surface_jni.h isn't there...
can you help?
Post by walter
Hello,
could someone please explain me how to get rid of the following error
Post by walter
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/GypAndroid.linux-x86.mk--
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
Post by walter
Post by walter
Post by walter
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Post by walter
Post by walter
Post by walter
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line
1065, in
Post by walter
Post by walter
Post by walter
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line
1061, in
Post by walter
Post by walter
Post by walter
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 996,
in
Post by walter
Post by walter
Post by walter
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file,
namespace)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line 507,
in
Post by walter
Post by walter
Post by walter
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child
Post by walter
Post by walter
Post by walter
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Post by walter
Post by walter
Post by walter
Error 1
Walter
--
You received this message because you are subscribed to the Google
Groups
Post by walter
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by walter
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
dscm
2014-04-30 22:23:16 UTC
Permalink
do you have squashfs-tools installed??
Post by walter
that was indeed the problem, it's solved,
I really appreciate your help,
now, it seems I've almost got the image compiled and I got this syntax
error when creating system.img
+ make_ext4fs -S out/target/product/x86/root/file_contexts -l 515M -a
Post by walter
system
out/target/product/x86/obj/PACKAGING/systemimage_intermediates/system.img
out/target/product/x86/system
Size: 540016640
Block size: 4096
Blocks per group: 32768
Inodes per group: 6592
Inode size: 256
Journal blocks: 2060
Blocks: 131840
Block groups: 5
Reserved block group size: 39
Created filesystem with 2744/32960 inodes and 124089/131840 blocks
+ '[' 0 -ne 0 ']'
/bin/bash: / 2048 * (2048+64): *syntax error*: operand expected (error
token is "/ 2048 * (2048+64)")
Install system fs image: out/target/product/x86/system.img
division by 0 (error token is "+ 1) * img_blocksize")
make: *** [out/target/product/x86/system.img] Error 1
make: *** Deleting file `out/target/product/x86/system.img'
rm
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/nl.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/fr.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/es.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/sv.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/de.po
I am using Ubuntu 12.04, and I executed the following commands
. build/envsetup.sh
Post by walter
export ARCH=x86
lunch android_x86-eng
make -C kernel O=/home/walter/work/config/.config xconfig
export TARGET_PRODUCT=android_x86
Post by walter
export TARGET_KERNEL_CONFIG=/home/walter/work/config/.config/.config
make clean
make kernel -j4
make iso_img -j4 TARGET_PRODUCT=android_x86
TARGET_PREBUILT_KERNEL=/home/walter/work/android-x86/out/target/product/x86/
am I doing something wrong ?
Post by walter
If I remember correctly, the error is due to
no javap (The Java Class File Disassembler) in your $PATH.
Make sure you have installed it.
Post by walter
and In dir
out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni I
Post by walter
have only one dir "android" and Surface_jni.h isn't there...
can you help?
Post by walter
Hello,
could someone please explain me how to get rid of the following error
Post by walter
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/GypAndroid.linux-x86.mk--
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
Post by walter
Post by walter
Post by walter
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Post by walter
Post by walter
Post by walter
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line
1065, in
Post by walter
Post by walter
Post by walter
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line
1061, in
Post by walter
Post by walter
Post by walter
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line 996,
in
Post by walter
Post by walter
Post by walter
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file,
namespace)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line 507,
in
Post by walter
Post by walter
Post by walter
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child
Post by walter
Post by walter
Post by walter
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Post by walter
Post by walter
Post by walter
Error 1
Walter
--
You received this message because you are subscribed to the Google
Groups
Post by walter
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by walter
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
walter
2014-05-01 22:32:11 UTC
Permalink
now, installing squashfs-tools seems to have helped,

I attempted to finish make iso_img but now I get this:

Using system000.sfs for /system.sfs (system.sfs)
Using install000.img for /install.img (install.img)
Using initrd000.img for /initrd.img (initrd.img)
Using ramdisk000.img for /ramdisk.img (ramdisk.img)
'/home/walter/work/android-x86/out/target/product/x86/initrd.img' and
'out/target/product/x86/initrd.img' have the same Rock Ridge name
'initrd.img'.
'/home/walter/work/android-x86/out/target/product/x86/ramdisk.img' and
'out/target/product/x86/ramdisk.img' have the same Rock Ridge name
'ramdisk.img'.
'/home/walter/work/android-x86/out/target/product/x86/install.img' and
'out/target/product/x86/install.img' have the same Rock Ridge name
'install.img'.
'/home/walter/work/android-x86/out/target/product/x86/system.sfs' and
'out/target/product/x86/system.sfs' have the same Rock Ridge name
'system.sfs'.
Unable to sort directory
NOTE: multiple source directories have been specified and merged into the
root
of the filesystem. Check your program arguments. genisoimage is not tar.
make: *** [out/target/product/x86/android_x86.iso] Error 1
what should I do ? should I make clean and restart making iso_img from
scratch ?

thank you in advance
do you have squashfs-tools installed??
Post by walter
that was indeed the problem, it's solved,
I really appreciate your help,
now, it seems I've almost got the image compiled and I got this syntax
error when creating system.img
+ make_ext4fs -S out/target/product/x86/root/file_contexts -l 515M -a
Post by walter
system
out/target/product/x86/obj/PACKAGING/systemimage_intermediates/system.img
out/target/product/x86/system
Size: 540016640
Block size: 4096
Blocks per group: 32768
Inodes per group: 6592
Inode size: 256
Journal blocks: 2060
Blocks: 131840
Block groups: 5
Reserved block group size: 39
Created filesystem with 2744/32960 inodes and 124089/131840 blocks
+ '[' 0 -ne 0 ']'
/bin/bash: / 2048 * (2048+64): *syntax error*: operand expected (error
token is "/ 2048 * (2048+64)")
Install system fs image: out/target/product/x86/system.img
division by 0 (error token is "+ 1) * img_blocksize")
make: *** [out/target/product/x86/system.img] Error 1
make: *** Deleting file `out/target/product/x86/system.img'
rm
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/nl.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/fr.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/es.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/sv.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/de.po
I am using Ubuntu 12.04, and I executed the following commands
. build/envsetup.sh
Post by walter
export ARCH=x86
lunch android_x86-eng
make -C kernel O=/home/walter/work/config/.config xconfig
export TARGET_PRODUCT=android_x86
Post by walter
export TARGET_KERNEL_CONFIG=/home/walter/work/config/.config/.config
make clean
make kernel -j4
make iso_img -j4 TARGET_PRODUCT=android_x86
TARGET_PREBUILT_KERNEL=/home/walter/work/android-x86/out/target/product/x86/
am I doing something wrong ?
Post by walter
If I remember correctly, the error is due to
no javap (The Java Class File Disassembler) in your $PATH.
Make sure you have installed it.
Post by walter
and In dir
out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni I
Post by walter
have only one dir "android" and Surface_jni.h isn't there...
can you help?
Post by walter
Hello,
could someone please explain me how to get rid of the following error
Post by walter
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/GypAndroid.linux-x86.mk--
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
Post by walter
Post by walter
Post by walter
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Post by walter
Post by walter
Post by walter
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line
1065, in
Post by walter
Post by walter
Post by walter
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line
1061, in
Post by walter
Post by walter
Post by walter
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line
996, in
Post by walter
Post by walter
Post by walter
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file,
namespace)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line
507, in
Post by walter
Post by walter
Post by walter
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child
Post by walter
Post by walter
Post by walter
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Post by walter
Post by walter
Post by walter
Error 1
Walter
--
You received this message because you are subscribed to the Google
Groups
Post by walter
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by walter
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
dscm
2014-05-02 00:22:10 UTC
Permalink
make clean
. build/envsetup.sh (notice that's dot space build/)
lunch 6 (or 5 if building eng)
make -jn iso_img (where n=2x # of processors ie dual-core would = 4)
Post by walter
now, installing squashfs-tools seems to have helped,
Using system000.sfs for /system.sfs (system.sfs)
Using install000.img for /install.img (install.img)
Using initrd000.img for /initrd.img (initrd.img)
Using ramdisk000.img for /ramdisk.img (ramdisk.img)
'/home/walter/work/android-x86/out/target/product/x86/initrd.img' and
'out/target/product/x86/initrd.img' have the same Rock Ridge name
'initrd.img'.
'/home/walter/work/android-x86/out/target/product/x86/ramdisk.img' and
'out/target/product/x86/ramdisk.img' have the same Rock Ridge name
'ramdisk.img'.
'/home/walter/work/android-x86/out/target/product/x86/install.img' and
'out/target/product/x86/install.img' have the same Rock Ridge name
'install.img'.
'/home/walter/work/android-x86/out/target/product/x86/system.sfs' and
'out/target/product/x86/system.sfs' have the same Rock Ridge name
'system.sfs'.
Unable to sort directory
NOTE: multiple source directories have been specified and merged into the
root
of the filesystem. Check your program arguments. genisoimage is not tar.
make: *** [out/target/product/x86/android_x86.iso] Error 1
what should I do ? should I make clean and restart making iso_img from
scratch ?
thank you in advance
do you have squashfs-tools installed??
Post by walter
that was indeed the problem, it's solved,
I really appreciate your help,
now, it seems I've almost got the image compiled and I got this syntax
error when creating system.img
+ make_ext4fs -S out/target/product/x86/root/file_contexts -l 515M -a
Post by walter
system
out/target/product/x86/obj/PACKAGING/systemimage_intermediates/system.img
out/target/product/x86/system
Size: 540016640
Block size: 4096
Blocks per group: 32768
Inodes per group: 6592
Inode size: 256
Journal blocks: 2060
Blocks: 131840
Block groups: 5
Reserved block group size: 39
Created filesystem with 2744/32960 inodes and 124089/131840 blocks
+ '[' 0 -ne 0 ']'
/bin/bash: / 2048 * (2048+64): *syntax error*: operand expected (error
token is "/ 2048 * (2048+64)")
Install system fs image: out/target/product/x86/system.img
division by 0 (error token is "+ 1) * img_blocksize")
make: *** [out/target/product/x86/system.img] Error 1
make: *** Deleting file `out/target/product/x86/system.img'
rm
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/nl.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/fr.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/es.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/sv.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/de.po
I am using Ubuntu 12.04, and I executed the following commands
. build/envsetup.sh
Post by walter
export ARCH=x86
lunch android_x86-eng
make -C kernel O=/home/walter/work/config/.config xconfig
export TARGET_PRODUCT=android_x86
Post by walter
export TARGET_KERNEL_CONFIG=/home/walter/work/config/.config/.config
make clean
make kernel -j4
make iso_img -j4 TARGET_PRODUCT=android_x86
TARGET_PREBUILT_KERNEL=/home/walter/work/android-x86/out/target/product/x86/
am I doing something wrong ?
Post by walter
If I remember correctly, the error is due to
no javap (The Java Class File Disassembler) in your $PATH.
Make sure you have installed it.
Post by walter
and In dir
out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni I
Post by walter
have only one dir "android" and Surface_jni.h isn't there...
can you help?
Post by walter
Hello,
could someone please explain me how to get rid of the following
error
Post by walter
Post by walter
Post by walter
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/GypAndroid.linux-x86.mk--
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
Post by walter
Post by walter
Post by walter
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Post by walter
Post by walter
Post by walter
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line
1065, in
Post by walter
Post by walter
Post by walter
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line
1061, in
Post by walter
Post by walter
Post by walter
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line
996, in
Post by walter
Post by walter
Post by walter
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file,
namespace)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line
507, in
Post by walter
Post by walter
Post by walter
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child
Post by walter
Post by walter
Post by walter
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Post by walter
Post by walter
Post by walter
Error 1
Walter
--
You received this message because you are subscribed to the Google
Groups
Post by walter
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it,
send an
Post by walter
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
walter
2014-05-02 08:42:22 UTC
Permalink
Hi dscm,

thanks. I will clean and relaunch.
make clean
. build/envsetup.sh (notice that's dot space build/)
lunch 6 (or 5 if building eng)
make -jn iso_img (where n=2x # of processors ie dual-core would = 4)
Post by walter
now, installing squashfs-tools seems to have helped,
Using system000.sfs for /system.sfs (system.sfs)
Using install000.img for /install.img (install.img)
Using initrd000.img for /initrd.img (initrd.img)
Using ramdisk000.img for /ramdisk.img (ramdisk.img)
'/home/walter/work/android-x86/out/target/product/x86/initrd.img' and
'out/target/product/x86/initrd.img' have the same Rock Ridge name
'initrd.img'.
'/home/walter/work/android-x86/out/target/product/x86/ramdisk.img' and
'out/target/product/x86/ramdisk.img' have the same Rock Ridge name
'ramdisk.img'.
'/home/walter/work/android-x86/out/target/product/x86/install.img' and
'out/target/product/x86/install.img' have the same Rock Ridge name
'install.img'.
'/home/walter/work/android-x86/out/target/product/x86/system.sfs' and
'out/target/product/x86/system.sfs' have the same Rock Ridge name
'system.sfs'.
Unable to sort directory
NOTE: multiple source directories have been specified and merged into
the root
of the filesystem. Check your program arguments. genisoimage is not tar.
make: *** [out/target/product/x86/android_x86.iso] Error 1
what should I do ? should I make clean and restart making iso_img from
scratch ?
thank you in advance
do you have squashfs-tools installed??
Post by walter
that was indeed the problem, it's solved,
I really appreciate your help,
now, it seems I've almost got the image compiled and I got this syntax
error when creating system.img
+ make_ext4fs -S out/target/product/x86/root/file_contexts -l 515M -a
Post by walter
system
out/target/product/x86/obj/PACKAGING/systemimage_intermediates/system.img
out/target/product/x86/system
Size: 540016640
Block size: 4096
Blocks per group: 32768
Inodes per group: 6592
Inode size: 256
Journal blocks: 2060
Blocks: 131840
Block groups: 5
Reserved block group size: 39
Created filesystem with 2744/32960 inodes and 124089/131840 blocks
+ '[' 0 -ne 0 ']'
/bin/bash: / 2048 * (2048+64): *syntax error*: operand expected
(error token is "/ 2048 * (2048+64)")
Install system fs image: out/target/product/x86/system.img
division by 0 (error token is "+ 1) * img_blocksize")
make: *** [out/target/product/x86/system.img] Error 1
make: *** Deleting file `out/target/product/x86/system.img'
rm
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/nl.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/fr.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/es.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/sv.po
out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool/de.po
I am using Ubuntu 12.04, and I executed the following commands
. build/envsetup.sh
Post by walter
export ARCH=x86
lunch android_x86-eng
make -C kernel O=/home/walter/work/config/.config xconfig
export TARGET_PRODUCT=android_x86
Post by walter
export TARGET_KERNEL_CONFIG=/home/walter/work/config/.config/.config
make clean
make kernel -j4
make iso_img -j4 TARGET_PRODUCT=android_x86
TARGET_PREBUILT_KERNEL=/home/walter/work/android-x86/out/target/product/x86/
am I doing something wrong ?
Post by walter
If I remember correctly, the error is due to
no javap (The Java Class File Disassembler) in your $PATH.
Make sure you have installed it.
Post by walter
and In dir
out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni I
Post by walter
have only one dir "android" and Surface_jni.h isn't there...
can you help?
Post by walter
Hello,
could someone please explain me how to get rid of the following
error
Post by walter
Post by walter
Post by walter
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/composition_text.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/input_method_initializer.cc
target C++: ui_ui_gyp <=
external/chromium_org/ui/base/ime/text_input_client.cc
Export includes file: external/chromium_org/
GypAndroid.linux-x86.mk --
out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/export_includes
Post by walter
Post by walter
Post by walter
target StaticLib: ui_ui_gyp
(out/target/product/x86/obj/STATIC_LIBRARIES/ui_ui_gyp_intermediates/ui_ui_gyp.a)
Post by walter
Post by walter
Post by walter
Gyp action: Generating JNI bindings from
/home/walter/work/android-x86/prebuilts/sdk/17/android.jar/android/view/Surface.class
(out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line
1065, in
Post by walter
Post by walter
Post by walter
<module>
sys.exit(main(sys.argv))
File "../../base/android/jni_generator/jni_generator.py", line
1061, in
Post by walter
Post by walter
Post by walter
main
options.optimize_generation)
File "../../base/android/jni_generator/jni_generator.py", line
996, in
Post by walter
Post by walter
Post by walter
GenerateJNIHeader
jni_from_javap = JNIFromJavaP.CreateFromClass(input_file,
namespace)
Post by walter
Post by walter
Post by walter
File "../../base/android/jni_generator/jni_generator.py", line
507, in
Post by walter
Post by walter
Post by walter
CreateFromClass
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child
Post by walter
Post by walter
Post by walter
raise child_exception
OSError: [Errno 2] No such file or directory
make: ***
[out/target/product/x86/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h]
Post by walter
Post by walter
Post by walter
Error 1
Walter
--
You received this message because you are subscribed to the Google
Groups
Post by walter
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it,
send an
Post by walter
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...