-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
liblttng problem with build for android #9493
Comments
Try to build with |
@jkotas Ok, thanks And get this another errors: |
This was discussed in https://github.com/dotnet/coreclr/issues/5160. There is something wrong with detecting |
@jkotas ok, thanks
|
No idea about this one. |
cc @janvorli |
@meold this means that the ICU library headers are not present. Are you sure the rootfs was built without any errors? I remember that there was a problem that a version of the library packages needs to be manually updated from time to time when they get bumped in the repository. See the last change that did that here: My guess is that some of the |
@janvorli @jkotas, I updated my build-android-rootfs.sh like this(last versions from termux.net): But none of these packages contain Any suggestions would very helpful. |
@meold this header should be part of gettext-dev package. So it looks like the build-android-rootfs.sh should include getting this package. |
The URL for ARM64 seems to be http://termux.net/dists/stable/main/binary-aarch64/gettext-dev_0.19.8-2_aarch64.deb |
@janvorli , I added this package, but this package does not contain this header file |
@meold hmm, I've checked the location of the header and it is actually part of libc on Linuxes. On Android, it is not present. It is strange though that we were able to build the stuff for android in the past just fine. |
@meold @janvorli Well, it's been a while since I looked at .NET Core on Android ;-). It looks like @meold Can you try downloading libintl..h and save it to a location where the compiler can find it? From dotnet/coreclr#15751 it seems you managed to build CoreCLR for Android, how did you handle the libintl.h dependency there? |
@qmfrederik, I I tried to add @qmfrederik, I downloaded @jkotas @qmfrederik @janvorli , so, could you help with the build process for android? Maybe there are some another important steps, that I forgot. Any suggestions would very helpful. |
@meold I was on a paternity leave for the last month so I am sorry for low responsiveness. Now I'm back, so I can try to run the android build locally and find out how to fix the issue. |
@janvorli, thank you very much. Waiting for your reply. |
@janvorli, thank you for the for this pull request. CoreCLR builds fine now. Any suggestions would very helpful. |
Looks like the coreclr build succeeded, so closing this. |
Hello!
After i run cross/build-android-rootfs.sh I have this output. Can you help me please??
`CMake Error at src/pal/src/configure.cmake:1347 (message):
Cannot find liblttng-ust-dev. Try installing liblttng-ust-dev (or the
appropriate packages for your platform)
Call Stack (most recent call first):
src/pal/src/CMakeLists.txt:5 (include)
-- Configuring incomplete, errors occurred!
See also "/git/coreclr/bin/obj/Linux.arm64.Debug/CMakeFiles/CMakeOutput.log".
See also "/git/coreclr/bin/obj/Linux.arm64.Debug/CMakeFiles/CMakeError.log".
~/git/coreclr
Failed to generate CoreCLR component build project!`
The text was updated successfully, but these errors were encountered: