dale Posted July 15, 2021 Posted July 15, 2021 Hi all, I'm trying to compile open vfd driver for my tx3 mini tv box. It's running Armbian buster with kernel version 5.9.0. Here is what I've done so far. sudo make ARCH=arm64 -C "/usr/src/linux-headers-5.9.0-arm-64" M="/home/dale/linux_openvfd/driver" make: Entering directory '/usr/src/linux-headers-5.9.0-arm-64' AR /home/dale/linux_openvfd/driver/built-in.a CC [M] /home/dale/linux_openvfd/driver/protocols/i2c_sw.o CC [M] /home/dale/linux_openvfd/driver/protocols/i2c_hw.o CC [M] /home/dale/linux_openvfd/driver/protocols/spi_sw.o CC [M] /home/dale/linux_openvfd/driver/controllers/dummy.o CC [M] /home/dale/linux_openvfd/driver/controllers/seg7_ctrl.o CC [M] /home/dale/linux_openvfd/driver/controllers/fd628.o CC [M] /home/dale/linux_openvfd/driver/controllers/fd650.o CC [M] /home/dale/linux_openvfd/driver/controllers/hd44780.o CC [M] /home/dale/linux_openvfd/driver/controllers/gfx_mono_ctrl.o CC [M] /home/dale/linux_openvfd/driver/controllers/ssd1306.o CC [M] /home/dale/linux_openvfd/driver/controllers/pcd8544.o CC [M] /home/dale/linux_openvfd/driver/controllers/il3829.o CC [M] /home/dale/linux_openvfd/driver/openvfd_drv.o /home/dale/linux_openvfd/driver/openvfd_drv.c:43:7: warning: "CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND" is not defined, evaluates to 0 [-Wundef] #elif CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD [M] /home/dale/linux_openvfd/driver/openvfd.o MODPOST /home/dale/linux_openvfd/driver/Module.symvers ERROR: modpost: "__stack_chk_guard" [/home/dale/linux_openvfd/driver/openvfd.ko] undefined! make[1]: *** [scripts/Makefile.modpost:111: /home/dale/linux_openvfd/driver/Module.symvers] Error 1 make[1]: *** Deleting file '/home/dale/linux_openvfd/driver/Module.symvers' make: *** [Makefile:1697: modules] Error 2 make: Leaving directory '/usr/src/linux-headers-5.9.0-arm-64' Any help would be appreciated. Thank you!
Recommended Posts