Closed IntinteDAO closed 1 year ago
Replace the #ifdef __linux__
at line 662 with:
#if defined(__linux__) && defined(_GNU_SOURCE)
If that doesn't work, give the output of gcc -dM -E - </dev/null
.
Thank you for reply. This code doesn't work.
gcc: https://privatebin.arch-linux.cz/?cf6de9f4a0341fa6#FdewKVgBPvqVnQF2w9zbq9Pxwc7PTwoBog1h76oU8h2w
clang: https://bin.nixnet.services/?6250b0193a36a80b#EQFjiJRcu7Mmiqvk6nd3PcdbKpyF3LkdKCLvx6x414w3
Why doesn't it work?
Does this work?
#if defined(__linux__) && defined(_GNU_SOURCE) && !defined(__ANDROID__)
Why? Reason.
This one works. I'm working with new issues now
The project is builded, now I tested and give u feedback
I also needed to change something in icewm-menu-fdo, because desktop files in Termux is /data/data/com.termux/files/usr/share instead /usr/share.
Closing
Unfortunately I'm very weak in C++ code, so I'd love to know if you are able to help make suitable patches or improve the IceWM code to also include Termux.
What is Termux? Termux is a terminal emulator and tool for Android. So you could say it's kind of like Cygwin for Android. Termux has its own X Server, and while it is Linux itself (because Android is Linux), it is based on Android Libc instead of GNU Libc, and the default compiler is Clang.
So I generally build code using CMake. The configuration executes correctly, but I get an error when building:
Maybe you have some idea how to fix it?