早上好,
我在构建结束时遇到错误。有任何想法吗?
注意:这是我的第一次构建,也许我的工具设置不正确。 我正在运行Fedora 20.我按照source.google.com上的教程修改了它以符合本教程http://curiositydrivendevelopment.blogspot.ca/2013/12/building-android-40x-from-source-on.html
这是我的错误。
target StaticLib: libstagefright_color_conversion (out/target/product/generic/obj/STATIC_LIBRARIES/libstagefright_color_conversion_intermediates/libstagefright_color_conversion.a)
target StaticLib: libstagefright_aacenc (out/target/product/generic/obj/STATIC_LIBRARIES/libstagefright_aacenc_intermediates/libstagefright_aacenc.a)
target StaticLib: libstagefright_matroska (out/target/product/generic/obj/STATIC_LIBRARIES/libstagefright_matroska_intermediates/libstagefright_matroska.a)
target StaticLib: libstagefright_timedtext (out/target/product/generic/obj/STATIC_LIBRARIES/libstagefright_timedtext_intermediates/libstagefright_timedtext.a)
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/bilinearfilter_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/copymem16x16_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/copymem8x4_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/copymem8x8_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/dc_only_idct_add_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/dequant_idct_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/dequantize_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/filter_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/idct_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/intra4x4_predict_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/iwalsh_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/loopfilter_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/simpleloopfilter_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/sixtappredict8x4_v6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/vp8_sad16x16_armv6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/vp8_variance16x16_armv6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/vp8_variance8x8_armv6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/arm/armv5te/boolhuff_armv5te.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/arm/armv5te/vp8_packtokens_armv5.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/arm/armv5te/vp8_packtokens_mbrow_armv5.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/arm/armv5te/vp8_packtokens_partitions_armv5.asm.s
target asm: libvpx <= out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/arm/armv6/vp8_fast_quantize_b_armv6.asm.s
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm: Assembler messages:
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:4: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:5: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:6: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:7: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:8: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:9: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:10: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:11: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:12: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:13: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:14: Error: junk at end of line, first unrecognized character valued 0x1b
out/target/product/generic/obj/STATIC_LIBRARIES/libvpx_intermediates/vp8/encoder/vp8_asm_enc_offsets.asm:15: Error: junk at end of line, first unrecognized character valued 0x1b
这是文件里面的内容(使用sublime):
答案 0 :(得分:0)
所以我在@muru的帮助下找到了答案。
问题是这个文件是由ads2gas.pl生成的,并且在那一代使用了grep。我已经将grep配置为使用带有环境变量的颜色
GREP_OPTIONS=--color=always
这导致颜色代码被添加到文件中。
我删除了环境变量,并为grep添加了别名。