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

Can't find automake, autoconf, pkg-config pkg please help #69

Open
Saikatsaha1996 opened this issue Jun 13, 2021 · 13 comments
Open

Can't find automake, autoconf, pkg-config pkg please help #69

Saikatsaha1996 opened this issue Jun 13, 2021 · 13 comments

Comments

@Saikatsaha1996
Copy link

No description provided.

@Martinvlba
Copy link
Contributor

Going to add these soon.

@Martinvlba
Copy link
Contributor

These packages are now added

@Saikatsaha1996
Copy link
Author

Thank you so much...
I want help one more
I am compiling one opensource application in my device but I got error with clang...
Can you add gcc g++ pkg please?

@Martinvlba
Copy link
Contributor

apt install clang

as g++ and gcc are symlinked to clang

@Saikatsaha1996
Copy link
Author

It's not available in termux can you add please?
I am really to much upset for this I am unable to compile...😐😑

@Martinvlba
Copy link
Contributor

I think its better to use proot or chroot env for that still as there is no premade source for gcc (That works with latest termux-*-packages) still.

@Saikatsaha1996
Copy link
Author

Yes I already trying
But when I input
export LD_LIBRARY_PATH="/system/vendor/lib64:/system/lib64"
export CFLAGS="-I$HOME/OpenCL-Headers"
export LDFLAGS="-L/system/vendor/lib64"
Showing LibOpenCL not found
But when I use directly your application or termux showing OpenCL found...

@Saikatsaha1996
Copy link
Author

See with environment OpenCL not found

Screenshot_2021-06-14-14-30-36-464_tech ula

@Saikatsaha1996
Copy link
Author

Can you give me any solution ?
Why I am getting lpthread cancel error
You have any suggestions or solutions please ?

@Martinvlba
Copy link
Contributor

Martinvlba commented Jun 14, 2021

https://github.com/Lzhiyong/termux-ndk/tree/master/openjdk-build

get real libc.so path

the dlopen function requires a real librt.so path

src/hotspot/os/linux/os_linux.cpp:1312:clock_init()

/system/lib64/libc.so -> /apex/com.android.runtime/lib64/bionic/libc.so

ls -l /system/lib64/libc.so

libc.so -> librt.so

ln -sf /apex/com.android.runtime/lib64/bionic/libc.so /data/data/com.termux/files/usr/lib/librt.so

libc.so -> libpthread.so

ln -sf /apex/com.android.runtime/lib64/bionic/libc.so /data/data/com.termux/files/usr/lib/libpthread.so

@Martinvlba
Copy link
Contributor

Martinvlba commented Jun 14, 2021

maybe this helps ( See libc.so -> libpthread.so )

@Saikatsaha1996
Copy link
Author

Ok thank you for your help I will trying... thank you thank you thank you

@Saikatsaha1996
Copy link
Author

@Martinvlba Hello dear too many PKG unavailable..

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

2 participants