grm34 / ZenMaxBuilder

📲 Android Kernel Builder | On stand-by, also take look at https://github.com/cyberknight777/YAKB
MIT License
103 stars 27 forks source link

Help: included toolchains not compatible on Termux #732

Closed Saikatsaha1996 closed 2 years ago

Saikatsaha1996 commented 2 years ago

in your screen shot you useing android device But i am getting error how can I solve?

Screenshot_2022-07-31-18-54-43-332_tech ula

grm34 commented 2 years ago

Hello.

Included prebuilt toolchains are for x86_64 hosts, see https://github.com/grm34/ZenMaxBuilder#toolchains

You can disable HOST_LINKER in etc/user.cfg to bypass the warning but the build will fail.

Kernel compilation on Termux is pain, you can try to build your own toolchains or use stuff like proot.

Saikatsaha1996 commented 2 years ago

Hello.

Included prebuilt toolchains are for x86_64 hosts, see https://github.com/grm34/ZenMaxBuilder#toolchains

You can disable HOST_LINKER in etc/user.cfg to bypass the warning but the build will fail.

Kernel compilation on Termux is pain, you can try to build your own toolchains or use stuff like proot.

I am not useing termux.. i am useing userland like proot

Saikatsaha1996 commented 2 years ago

Hello.

Included prebuilt toolchains are for x86_64 hosts, see https://github.com/grm34/ZenMaxBuilder#toolchains

You can disable HOST_LINKER in etc/user.cfg to bypass the warning but the build will fail.

Kernel compilation on Termux is pain, you can try to build your own toolchains or use stuff like proot.

And i really don't know how to build toolchain..

Can it not possible build in userland or termux proot-distro?

grm34 commented 2 years ago

Userland on Termux, but I would like to say on Android to be more precise.

See https://github.com/grm34/ZenMaxBuilder#common-warnings-and-errors

x86_64 prebuilts needs x86_64 host, simple of that.

Saikatsaha1996 commented 2 years ago

Userland on Termux, but I would like to say on Android to be more precise.

See https://github.com/grm34/ZenMaxBuilder#common-warnings-and-errors

x86_64 prebuilts needs x86_64 host, simple of that.

Now see useing x86_64 host..

IMG_20220731_194706

grm34 commented 2 years ago

I'm not going to do kernel building support here... See https://github.com/grm34/ZenMaxBuilder#more-information

I help this time: see the error "CROSS_COMPILE_ARM32 not defined" 👉 check/edit your makefile

Saikatsaha1996 commented 2 years ago

I solved my problem with this way.. (host-clang) Userland-android IMG_20220801_023035

Saikatsaha1996 commented 2 years ago

@grm34 zmb segmentation fault and freeze,

Screenshot_2022-09-02-00-23-00-524_tech ula

grm34 commented 2 years ago

@grm34 zmb segmentation fault and freeze,

Screenshot_2022-09-02-00-23-00-524_tech ula

A package seems broken or an instance of zmb is not well closed. Try to purge your cache, upgrade your system and identify broken package then reboot.

Some informations are asked while opening an issue:

- OS name and version
- bash version
- running shell
- terminal used
- ...