Android4.4.2源码编译问题记录

 

prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory

解决办法:

sudo apt-get install lib32ncurses5


/home/liuyong/semisky/work/i.MX6_android_KK4.4.2_BM2718/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

解决办法:

sudo apt-get install lib32z1


out/host/linux-x86/bin/acp: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

解决办法:

sudo apt-get install lib32stdc++6


/bin/bash: flex: command not found

解决办法:

sudo apt-get install flex


host asm: libcrypto_static <= external/openssl/crypto/aes/asm/aes-586.S

  Kernel: arch/arm/boot/Image is ready

  SHIPPED arch/arm/boot/compressed/lib1funcs.S

  AS      arch/arm/boot/compressed/lib1funcs.o

  LD      arch/arm/boot/compressed/vmlinux

  OBJCOPY arch/arm/boot/zImage

  Kernel: arch/arm/boot/zImage is ready

  UIMAGE  arch/arm/boot/uImage

"mkimage" command not found - U-Boot images will not be built

make[2]: *** [arch/arm/boot/uImage] Error 1

make[1]: *** [uImage] Error 2

make[1]: Leaving directory `/home/liuyong/work/project/i.MX6_android_KK4.4.2_BM2718/kernel_imx'

make: *** [out/target/product/sabresd_6dq/kernel] Error 2

make: *** Waiting for unfinished jobs....

解决办法:

sudo apt-get install u-boot-tools


/bin/bash: xmllint: command not found

解决办法:

sudo apt-get install  libxml2-utils

 


gcc: error trying to exec 'cc1plus': execvp: No such file or directory

解决办法:

sudo apt-get install --reinstall build-essential

sudo apt-get install udo

 


 

target Strip: libdvm (out/target/product/sabresd_6dq/obj/lib/libdvm.so)

target Static Jar: guava (out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/javalib.jar)

Gyp action: third_party_WebKit_Source_core_core_derived_sources_gyp_make_derived_sources_target_CSSPropertyNames (out/target/product/sabresd_6dq/obj/GYP/shared_intermediates/blink/CSSPropertyNames.cpp)

target StaticLib: ui_gl_gl_gyp (out/target/product/sabresd_6dq/obj/STATIC_LIBRARIES/ui_gl_gl_gyp_intermediates/ui_gl_gl_gyp.a)

Gyp action: third_party_WebKit_Source_core_core_derived_sources_gyp_make_derived_sources_target_CSSValueKeywords (out/target/product/sabresd_6dq/obj/GYP/shared_intermediates/blink/CSSValueKeywords.cpp)

Traceback (most recent call last):

  File "scripts/make_css_property_names.py", line 238, in

    in_generator.Maker(CSSPropertiesWriter).main(sys.argv)

  File "/home/liuyong/semisky/work/i.MX6_android_KK4.4.2_BM2718/external/chromium_org/third_party/WebKit/Source/core/scripts/in_generator.py", line 119, in main

    writer.write_files(options.output_dir)

  File "/home/liuyong/semisky/work/i.MX6_android_KK4.4.2_BM2718/external/chromium_org/third_party/WebKit/Source/core/scripts/in_generator.py", line 77, in write_files

    self._write_file(output_dir, generator(), file_name)

  File "scripts/make_css_property_names.py", line 233, in generate_implementation

    gperf = subprocess.Popen(gperf_args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)

  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__

    errread, errwrite)

  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child

    raise child_exception

OSError: [Errno 2] No such file or directory

make: *** [out/target/product/sabresd_6dq/obj/GYP/shared_intermediates/blink/CSSPropertyNames.cpp] Error 1

make: *** Waiting for unfinished jobs....

Traceback (most recent call last):

  File "scripts/make_css_value_keywords.py", line 177, in

    in_generator.Maker(CSSValueKeywordsWriter).main(sys.argv)

  File "/home/liuyong/semisky/work/i.MX6_android_KK4.4.2_BM2718/external/chromium_org/third_party/WebKit/Source/core/scripts/in_generator.py", line 119, in main

    writer.write_files(options.output_dir)

  File "/home/liuyong/semisky/work/i.MX6_android_KK4.4.2_BM2718/external/chromium_org/third_party/WebKit/Source/core/scripts/in_generator.py", line 77, in write_files

    self._write_file(output_dir, generator(), file_name)

  File "scripts/make_css_value_keywords.py", line 172, in generate_implementation

    gperf = subprocess.Popen(gperf_args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)

  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__

    errread, errwrite)

  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child

    raise child_exception

OSError: [Errno 2] No such file or directory

make: *** [out/target/product/sabresd_6dq/obj/GYP/shared_intermediates/blink/CSSValueKeywords.cpp] Error 1

 

解决办法:sudo apt-get install gperf


/bin/sh:1 lzop:not found

解决办法:

sudo apt-get install lzop


Traceback (most recent call last):

  File "scripts/rule_bison.py", line 75, in

    returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])

  File "/usr/lib/python2.7/subprocess.py", line 522, in call

    return Popen(*popenargs, **kwargs).wait()

  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__

    errread, errwrite)

  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child

    raise child_exception

OSError: [Errno 2] No such file or directory

make: *** [out/target/product/generic/obj/GYP/shared_intermediates/blink/CSSGrammar.cpp] Error 1

make: *** Waiting for unfinished jobs....

解决办法:

sudo apt-get install bison 


/bin/bash: /usr/bin/g++: No such file or directory

解决办法:

sudo apt-get install g++

你可能感兴趣的:(车载开发点滴)