Jump to content

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


dale
 Share

Recommended Posts

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!

Link to comment
Share on other sites

  • dale changed the title to Error while compiling open vfd driver: ERROR: modpost: "__stack_chk_guard" [/linux_openvfd/driver/openvfd.ko] undefined!

When discussing a problem make sure to provide full logs!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...