Make stops while building wine for android

Questions about Wine on Android
Locked
vanyk
Newbie
Newbie
Posts: 1
Joined: Sat Jan 09, 2021 1:08 am

Make stops while building wine for android

Post by vanyk »

Hello,
I tried to build wine 5.0 for android (arm). I installed SDK, NDK, created a toolchain:

Code: Select all

$NDK_ROOT/build/tools/make-standalone-toolchain.sh --platform=android-21 --install-dir=android-toolchain --toolchain=arm-linux-androideabi-4.9
Then I added the toolchain to PATH, set ANDROID_HOME, crosscompiled freetype, exported FREETYPE_CFLAGS and FREETYPE_LIBS. After that I configured wine:

Code: Select all

./configure --host=arm-linux-androideabi host_alias=arm-linux-androideabi --with-wine-tools=../wine-native --prefix=`pwd`/dlls/wineandroid.drv/assets CFLAGS="-O2"
Configuration ran without errors, but when I tried to make, I got that:

Code: Select all

make[1]: Entering directory '/home/vanyk/wine/dlls/acledit'
../.././../wine-native/tools/winegcc/winegcc -o acledit.dll.so --wine-objdir ../.. --winebuild \
  ../.././../wine-native/tools/winebuild/winebuild -b arm-linux-androideabi -marm -mfloat-abi=softfp \
  -fPIC -fasynchronous-unwind-tables -shared acledit.spec -mno-cygwin main.o 
winebuild: arm-linux-androideabi-ld failed with status 1
winegcc: ../.././../wine-native/tools/winebuild/winebuild failed
make[1]: *** [Makefile:194: acledit.dll.so] Error 2
make[1]: Leaving directory '/home/vanyk/wine/dlls/acledit'
make: *** [Makefile:8709: dlls/acledit] Error 2
When I tried to make with "sudo", I also got this:

Code: Select all

winebuild: cannot find the 'nm' tool
What I should do to fix this?

Thank you!
s11show163
Newbie
Newbie
Posts: 1
Joined: Tue Aug 31, 2021 10:54 am

Re: Make stops while building wine for android

Post by s11show163 »

Hello, sir, I have encountered the same problem. I want to ask, have you solved this problem? Can you tell me how it was solved? Thank you very much!
Locked