Looks like a few #include <linux/export.h> and #include <linux/module.h>'s are missing..
After adding export.h into every file complaining about THIS_MODULE, and module.h into the one file complaining about an implicit function declaration, the module builds successfully. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/905987 Title: iscsitarget-dkms fails to build on 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/905987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs