Unable to compile iscsitarget-source 0.4.15+svn148-2.1ubuntu2 on Intrepid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iscsitarget (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using the method described here:
https:/
sudo apt-get install iscsitarget-source
sudo module-assistant
*prepare*
*select*
--> Select iscsitarget
*build*
I got message:
In file included from/usr/
include/
Also reported here:
http://
According to that thread, this problem also exists in 0.4.16 for these users.
Solution:
I looked at the current SVN for my inspiration.
I suggest someone send upload a modified iscsitarget-source file with the following fix:
in /modules/
I replaced:
#include <linux/parser.h>
#include <linux/blkdev.h>
#include <linux/
with
#include <linux/types.h>
#include <linux/blkdev.h>
#include <linux/parser.h>
#include <linux/
According to a thread above, the location of parser.h was important. The additional types.h didn't seem to hurt either. Finding this would have been much quicker, but I didn't realize that the source was being unpacked from the bz2 file every time a build was attempted. (I'm not a pro at this sort of thing) My attempts to fix this was being overwritten until I modified the bz2 file. Anyway, hope this helps someone in the meantime until this can be fixed in the repository.
This bug was fixed in the package iscsitarget - 0.4.16+ svn162- 2ubuntu1
--------------- svn162- 2ubuntu1) jaunty; urgency=low
iscsitarget (0.4.16+
* Merge from debian unstable, fixes LP: #298520 iscsitarget. init: lsb-ized the entire init script
- Remaining changes:
+ debian/
(Debian Bug: #506588)
+ debian/control: depend on lsb-base >= 3.2-14
- Dropped changes:
+ debian/rules, usr/misc.h: -D_GNU_SOURCE no longer required,
__qelem is explicitly defined by source
iscsitarget (0.4.16+svn162-2) unstable; urgency=high
* Fix initscript. (Closes: #484107)
iscsitarget (0.4.16+svn162-1) unstable; urgency=low
* New upstream snapshot.
* Fix bashism in initscript. (Closes: #486035)
* Bump standards to 3.8.0, no changes needed.
* List all copyright holders and contributors in the copyright file.
-- Dustin Kirkland <email address hidden> Sat, 22 Nov 2008 15:14:12 -0600