.lld Relocation error

19 views
Skip to first unread message

puli ajay

unread,
Jul 11, 2024, 7:08:51 AM (5 days ago) Jul 11
to android-ndk
ld.lld: error: relocation R_AARCH64_ADR_PREL_PG_HI21 cannot be used against symbol 'x264_decimate_table4'; recompile with -fPIC
>>> defined in C:/Users/91889/Documents/proj/android/rtmplib/src/main/libenc/jni/libx264/libs/arm64-v8a/libx264.a(quant.o)
>>> referenced by quant-a.o:(x264_decimate_score15_neon) in archive C:/Users/91889/Documents/proj/android/rtmplib/src/main/libenc/jni/libx264/libs/arm64-v8a/libx264.a

Getting this error while trying to run with ndk-build

Alias R. Cummins

unread,
Jul 12, 2024, 7:32:12 AM (4 days ago) Jul 12
to andro...@googlegroups.com
Have you tried recompiling with -fPIC?

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/d32124fa-7ce9-4416-bd29-d5d616716daan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages