Build error for Android aarch64

Questions about Wine on Android
Locked
Saikat
Level 2
Level 2
Posts: 14
Joined: Sat Jun 25, 2022 7:14 am

Build error for Android aarch64

Post by Saikat »

Wine -v
8.0 rc2

I configured with
```
./configure CFLAGS="-march=native -O3 -pipe -fstack-protector-strong" --enable-win64 UNWIND_LIBS="-lunwind" --enable-archs=aarch64 --prefix=$PREFIX
```
And i am getting error with

```
../dlls/ntdll/unix/socket.c:103:25: error: field has incomplete type 'struct sockaddr_ipx' struct sockaddr_ipx ipx; ^ ../dlls/ntdll/unix/socket.c:103:12: note: forward declaration of 'struct sockaddr_ipx' struct sockaddr_ipx ipx;
```

How do I solve help wanted!
Saikat
Level 2
Level 2
Posts: 14
Joined: Sat Jun 25, 2022 7:14 am

Re: Build error for Android aarch64

Post by Saikat »

Dear all developers & all users

Happy New year to all!

I solved fast all error..
I was received 3 same error..
But i solved with patch and i will update in future if all error will solved..

But new error comes..

Anyone available for help?


```
ld.lld: error: undefined symbol: pthread_mutexattr_setprotocol >>> referenced by pulse.c >>> dlls/winepulse.drv/pulse.o:(pulse_process_attach) clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

```

Thank you
Regards
Saikat Saha
Saikat
Level 2
Level 2
Posts: 14
Joined: Sat Jun 25, 2022 7:14 am

Re: Build error for Android aarch64

Post by Saikat »

After too many errors build successfully in Android 12 with wine - 8.0 rc2 but can't start wine..

I can't copy error codes from x11 server.. so i uploading pictures.. sorry for that..

Please help wanted for solve..

Image
Attachments
IMG_20230101_210127.jpg
Locked