As per my other post and trying to build an ubuntu 24.04, i’ve been working through the very bumpy road of compile errors and packages.
But i cannot for the life of me get it to compile Musdk even in the orginal solidrun Docker environment, but it fails building the musdk cma module.
make[1]: Entering directory '/cn913x_build_dir/build/musdk-marvell-SDK12.24.10/modules/cma'
CC [M] musdk_cma.o
musdk_cma.c:461:19: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [-Werror=incompatible-pointer-types]
461 | .remove = musdk_cma_remove,
| ^~~~~~~~~~~~~~~~
musdk_cma.c:461:19: note: (near initialization for 'musdk_cma_driver.<anonymous>.remove')
cc1: some warnings being treated as errors
make[3]: *** [/cn913x_build_dir/build/linux/scripts/Makefile.build:194: musdk_cma.o] Error 1
make[2]: *** [/cn913x_build_dir/build/linux/Makefile:1989: .] Error 2
make[1]: *** [/cn913x_build_dir/build/linux/Makefile:251: __sub-make] Error 2
I’m building against cn913x sdk12-mainline branch.
How needed is musdk and or the cma module? i notice the very original build scripts in 2022 didn’t have musdk or DPDK (as i see it needs musdk - not even got to those issues yet). I’m at point i might just boycott them. As i can’t find much help or updates on the musdk github too.
regards