Jump to content

Error compiling meson_gx_mali_450


linux baba

Recommended Posts

Hello,

 I am getting following error when compilining https://github.com/superna9999/meson_gx_mali_450/tree/DX910-SW-99002-r9p0-01rel0_meson_gx

 

KDIR=/usr/src/linux-source-4.19.57-meson64/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- ./build.sh
make: Entering directory '/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali'
make ARCH=arm64 -C /usr/src/linux-source-4.19.57-meson64/ M=/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali modules
make[1]: Entering directory '/usr/src/linux-source-4.19.57-meson64'
  CC [M]  /root/mali/meson_gx_mali_450/driver/src/devicedrv/mali/linux/mali_osk_atomics.o
/bin/sh: 1: scripts/basic/fixdep: Exec format error
scripts/Makefile.build:303: recipe for target '/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali/linux/mali_osk_atomics.o' failed
make[2]: *** [/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali/linux/mali_osk_atomics.o] Error 2
make[2]: *** Deleting file '/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali/linux/mali_osk_atomics.o'
Makefile:1517: recipe for target '_module_/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali' failed
make[1]: *** [_module_/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali] Error 2
make[1]: Leaving directory '/usr/src/linux-source-4.19.57-meson64'
Makefile:191: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali'
cp: cannot stat '/root/mali/meson_gx_mali_450/driver/src/devicedrv/mali//mali.ko': No such file or directory

 

uname

Linux lepotato 4.19.57-meson64 #5.90 SMP PREEMPT Sat Jul 6 15:54:33 CEST 2019 aarch64 GNU/Linux
 

 

I am compiling it to enable GPU to be used with mpv.

Link to comment
Share on other sites

1, armbian kernel may still has issue in build external modules. due to  cross build. you can rebuild armbian kernel natively.

2, this driver should never be used. use mainline lima instead.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines