问题
jni/../external/libjpeg/jidctfst.S: Assembler messages:
jni/../external/libjpeg/jidctfst.S:66: Error: missing ')'
jni/../external/libjpeg/jidctfst.S:66: Error: garbage following instruction -- 'pld (r2,#0)'
jni/../external/libjpeg/jidctfst.S:259: Error: missing ')'
jni/../external/libjpeg/jidctfst.S:259: Error: garbage following instruction -- 'pld (sp,#32)'
jni/../external/libjpeg/jidctfst.S:271: Error: missing ')'
jni/../external/libjpeg/jidctfst.S:271: Error: garbage following instruction -- 'pld (ip,#32)'
make: *** [obj/local/armeabi/objs/jpeg/jidctfst.o] Error 1
can anyone help me with this to resolve this error msg?
回答1:
Try changing the the parenthesis following the PLD instruction to brackets. That is, change
PLD (xx xx)
to
PLD [xx xx]
回答2:
Uncomment the ANDROID_JPEG_NO_ASSEMBLER line of the Android.mk, it is like that:
# temp fix until we understand why this broke cnn.com
#ANDROID_JPEG_NO_ASSEMBLER := true
do that:
# temp fix until we understand why this broke cnn.com
ANDROID_JPEG_NO_ASSEMBLER := true
回答3:
trying to compile Android on Windows with Cygwin it's a pain. Follow the guides on XDA-Developers.com to compile android under Ubuntu Linux, its easy as in a Windows Cygwin Environment and it works fine :)
回答4:
i have the same error and some solutions says change PLD from UPPERCASE to lowercase
e.g. from "PLD" to "pld" .
来源:https://stackoverflow.com/questions/14366630/getting-this-error-while-building-android-ndk