Xaiŋ Ul Abiðiŋ
Xaiŋ Ul Abiðiŋ

Reputation: 11

getting this error while building Android ndk

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?

Upvotes: 0

Views: 2037

Answers (4)

Bannorani
Bannorani

Reputation: 91

Try changing the the parenthesis following the PLD instruction to brackets. That is, change

PLD (xx xx)

to

PLD [xx xx]

Upvotes: 9

Derzu
Derzu

Reputation: 7146

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

Upvotes: 2

AWADI
AWADI

Reputation: 4086

i have the same error and some solutions says change PLD from UPPERCASE to lowercase e.g. from "PLD" to "pld" .

Upvotes: 0

Andreas
Andreas

Reputation: 1617

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 :)

Upvotes: 1

Related Questions