I’m trying to compile linux sourcehttps://github.com/khadas/linux on khadas vim3. (Ubuntu 20.04 installed)
Then ended up with following error,
CC [M] drivers/amlogic/media_modules/frame_provider/decoder/utils/frame_check.o
drivers/amlogic/media_modules/frame_provider/decoder/utils/frame_check.c: In function ‘write_crc_work’:
drivers/amlogic/media_modules/frame_provider/decoder/utils/frame_check.c:287:12: error: stack usage is 2016 bytes [-Werror=stack-usage=]
287 | static int write_crc_work(struct pic_check_mgr_t *mgr)
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:335: drivers/amlogic/media_modules/frame_provider/decoder/utils/frame_check.o] Error 1
make[5]: *** [scripts/Makefile.build:648: drivers/amlogic/media_modules/frame_provider/decoder/utils] Error 2
make[4]: *** [scripts/Makefile.build:648: drivers/amlogic/media_modules/frame_provider/decoder] Error 2
make[3]: *** [scripts/Makefile.build:648: drivers/amlogic/media_modules/frame_provider] Error 2
make[2]: *** [scripts/Makefile.build:648: drivers/amlogic/media_modules] Error 2
make[1]: *** [scripts/Makefile.build:648: drivers/amlogic] Error 2
make: *** [Makefile:1118: drivers] Error 2
Can anyone plz help me to solve this? (Still im not used fenix to build the kernel, im passionate about build with souce code itself.)