Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Termux Nvim #1198

Open
Gul7333 opened this issue Feb 7, 2024 · 0 comments
Open

Error in Termux Nvim #1198

Gul7333 opened this issue Feb 7, 2024 · 0 comments

Comments

@Gul7333
Copy link

Gul7333 commented Feb 7, 2024

Clang is installed
I installed quick lint using mason in nvim
But It is not running

Screenshot_20240207-174019.png

I went to nvim /mason directory and found quick lint js
Screenshot_20240207-174216.png

Then I run command

clang++ quick-lint-js -v < to check

But this came in terminal
Screenshot_20240207-180500.png

clang version 17.0.6 Target: aarch64-unknown-linux-android24 Thread model: posix InstalledDir: /data/data/com.termux/files/usr/bin Found candidate GCC installation: /data/data/com.termux/files/usr/lib/gcc/aarch64-linux-android/11.4.0 Selected GCC installation: /data/data/com.termux/files/usr/lib/gcc/aarch64-linux-android/11.4.0 Candidate multilib: .;@m64 Selected multilib: .;@m64 "/data/data/com.termux/files/usr/bin/ld.lld" --sysroot=/data/data/com.termux/files -pie -EL --fix-cortex-a53-843419 -z now -z relro -z max-page-size=4096 --hash-style=gnu -rpath=/data/data/com.termux/files/usr/lib --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o a.out /data/data/com.termux/files/usr/lib/crtbegin_dynamic.o -L/data/data/com.termux/files/usr/lib/gcc/aarch64-linux-android/11.4.0 -L/data/data/com.termux/files/usr/lib -L/system/lib64 quick-lint-js -lc++_shared /data/data/com.termux/files/usr/lib/clang/17/lib/linux/libclang_rt.builtins-aarch64-android.a -l:libunwind.a -ldl -lm -lc /data/data/com.termux/files/usr/lib/clang/17/lib/linux/libclang_rt.builtins-aarch64-android.a -l:libunwind.a -ldl /data/data/com.termux/files/usr/lib/crtend_android.o ld.lld: error: undefined symbol: main >>> referenced by crtbegin.c >>> /data/data/com.termux/files/usr/lib/crtbegin_dynamic.o:(_start_main) >>> referenced by crtbegin.c >>> /data/data/com.termux/files/usr/lib/crtbegin_dynamic.o:(_start_main)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant