Jump to content

Error while compiling open vfd driver: ERROR: modpost: "__stack_chk_guard" [/linux_openvfd/driver/openvfd.ko] undefined!


Recommended Posts

Posted

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!

  • dale changed the title to Error while compiling open vfd driver: ERROR: modpost: "__stack_chk_guard" [/linux_openvfd/driver/openvfd.ko] undefined!
  • SteeMan locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines