opentelecoms-org / lumicall

SIP and ENUM dialer for Android with ZRTP/SRTP encryption, SIP over TLS, ICE/TURN for NAT, G.729 and many other features
http://www.lumicall.org
Other
144 stars 88 forks source link

invalid output constraint '=&r*i' in asm #47

Open Urvika-gola opened 7 years ago

Urvika-gola commented 7 years ago

Environment details : Windows 10 64bit x64, Intel Core i5. ndk version : android-ndk-r13-windows-x86_64

Error : jni/g729/siphon-g729/Headers\basic_op.h:641:21: error: invalid output constraint '=&r_i' in asm : "=&r_i"(out), ​and in line 700: ​ '=&r*i' in asm

Diagnosis : I read the documentation and the "_i" output constraint syntax was not found in the asm Library. I think, the gcc compiler which my version of ndk build was using could not understand "_i" ​There seems to be some mismatch in the constraints that the compiler on my system was identifying . Possibly due to deprecation or version changes. Since it is assembly language level change I removed that unidentified constraint on one of the output register. Solution : Changed “=&r*i"(out) to "=&r"(out)