We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
OS Version root@hwlabpi-sj:~/work/switchtec-kernel# cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Kernel Version root@hwlabpi-sj:~/work/switchtec-kernel# uname -r 5.4.51-v7l+
Whe I ran the make command, it has error messages as below: root@hwlabpi-sj:~/work/switchtec-kernel# make make -C /lib/modules/5.4.51-v7l+/build M=$PWD modules make[1]: Entering directory '/usr/src/linux-headers-5.4.51-v7l+' Building modules, stage 2. MODPOST 2 modules ERROR: "ntb_register_device" [/root/work/switchtec-kernel/ntb_hw_switchtec.ko] undefined! ERROR: "ntb_link_event" [/root/work/switchtec-kernel/ntb_hw_switchtec.ko] undefined! ERROR: "ntb_db_event" [/root/work/switchtec-kernel/ntb_hw_switchtec.ko] undefined! ERROR: "ntb_unregister_device" [/root/work/switchtec-kernel/ntb_hw_switchtec.ko] undefined! make[2]: *** [scripts/Makefile.modpost:94: __modpost] Error 1 make[1]: *** [Makefile:1622: modules] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.4.51-v7l+' make: *** [Makefile:26: modules] Error 2
Thank you. Best Regards, Jack Kim
The text was updated successfully, but these errors were encountered:
Hey, how did you solve this issue? I met the same one here.
Sorry, something went wrong.
Did you have CONFIG_NTB set (=m or =y) in your kernel configuration?
No branches or pull requests
Hello,
OS Version
root@hwlabpi-sj:~/work/switchtec-kernel# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Kernel Version
root@hwlabpi-sj:~/work/switchtec-kernel# uname -r
5.4.51-v7l+
Whe I ran the make command, it has error messages as below:
root@hwlabpi-sj:~/work/switchtec-kernel# make
make -C /lib/modules/5.4.51-v7l+/build M=$PWD modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.51-v7l+'
Building modules, stage 2.
MODPOST 2 modules
ERROR: "ntb_register_device" [/root/work/switchtec-kernel/ntb_hw_switchtec.ko] undefined!
ERROR: "ntb_link_event" [/root/work/switchtec-kernel/ntb_hw_switchtec.ko] undefined!
ERROR: "ntb_db_event" [/root/work/switchtec-kernel/ntb_hw_switchtec.ko] undefined!
ERROR: "ntb_unregister_device" [/root/work/switchtec-kernel/ntb_hw_switchtec.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make[1]: *** [Makefile:1622: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.51-v7l+'
make: *** [Makefile:26: modules] Error 2
Thank you.
Best Regards,
Jack Kim
The text was updated successfully, but these errors were encountered: