Hi Nirmoy,

when you install the linux-image-$(uname-r)-generic-dbgsym package, it
will pull the linux-image-unsigned-$(uname -r)-dbgsym package, which
contains the vmlinux file you need, but not in the folder expected:

# dpkg -L linux-image-unsigned-$(uname -r)-dbgsym | grep vmlinux
/usr/lib/debug/boot/vmlinux-6.14.0-36-generic

You can create a symlink from this file to the /usr/src/linux-
headers-$(uname -r) folder, and the build should work:

ln -s /usr/lib/debug/boot/vmlinux-$(uname -r) /usr/src/linux-headers-$(uname 
-r)/vmlinux
make -C /usr/src/linux-headers-$(uname -r)/ M=$PWD modules V=1

I've tested with 6.14.0-36-generic.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2133794

Title:
  BTF Generation Fails for Out-of-Tree Modules with Debuginfo Package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-6.17/+bug/2133794/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to