Hi Brendan,

Further up in this bug, I attached a diff of event.c.  Changing line
98 of event.c in accordance with the diff will do the trick.

This will be fixed in the future, I'm working that out now (learning
pbuilder and experimenting with doing things properly).  But if you're
in patient, you can try to fix it the same way I have.

Procedurally, the following:

# apt-get install iscsitarget-source
# cd /usr/src
# tar jxvf iscsitarget.tar.bz2
# vi modules/iscsitarget-module/kernel/event.c
<make the change to line 98>
# mv iscsitarget.tar.bz2 iscsitarget.tar.bz2.ORIG
# tar jcvf iscsitarget.tar.bz2 modules/

After this, module assistant will work.

# m-a a-i iscsitarget

Best regards,
- alvinc

-- 
iscsitarget kernel module compile fails in event.c:98
https://bugs.launchpad.net/bugs/160104
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to