Ubuntu 16.04 error: undefined reference to `create_module’

Ubuntu 16.04 error: undefined reference to `create_module’

Building module-init-tools-3.2 in Ubuntu16.04 failed:
lsmod.o: In function `try_old_version':
./module-init-tools-3.2/backwards_compat.c:56: undefined reference to `create_module'

這一篇Ubuntu 16.04 error: undefined reference to `create_module’對我沒有用, 但是解法是對的, 這時就要用粗暴的方式, 直接改 backwards_compat.c
加上

#define CONFIG_NO_BACKWARDS_COMPAT

暫時解決問題

Related posts

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>