Hello,

Eduard Bloch wrote:
> * Vincent Fourmond [Sat, Nov 24 2007, 08:48:38PM]:
>> reopen 452432
>> found 452432 2.6.23-1
>> thanks
>>
>>   Hello,
>>
>>   I've just downloaded the newer version from incoming (2.6.23-1), and
>> it unfortunately still fails to build, with the exact same error... I am
>> therefore reopening this bug.
> 
> A-HA. And you are absolutely sure that you test the new version and not
> some source files from the old one?

  Well, when I found out about this, I did go to some lengths to check
that. Here is some information:

  * dpkg -l returns version 2.6.23-1
  * after m-a clean cdfs, the error persists
  * m-a li gives:

cdfs-src (source) installed (V: 2.6.23-1):
  -- Binary package(s) for kernel(s):
   + (2.6.22-3-amd64): not found

  * a diff of the contents of /usr/src/cdfs.tar.bz2 with the old one
gives 16 files changed, 47 insertions(+), 4846 deletions(-)

  So, unless there is something completely escaping me here, it really
is about the newer version.

  I did a bit more digging, and apparently, a
#include <linux/sched.h>
is missing somewhere in cdfs.h (but I don't know where precisely - there
is quite a few #ifdef there). When I add it according to the attached
diff, it works fine. (but I didn't test for other kernels ;-)...)

  Cheers,

        Vincent

-- 
Vincent Fourmond, Debian Developer
http://vince-debian.blogspot.com/
-- pretty boring signature, isn't it ?
diff -Naur modules/cdfs/2.6/cdfs.h modules-new/cdfs/2.6/cdfs.h
--- modules/cdfs/2.6/cdfs.h     2007-10-24 16:46:13.000000000 +0200
+++ modules-new/cdfs/2.6/cdfs.h 2007-11-24 22:06:07.000000000 +0100
@@ -44,6 +44,7 @@
 #include <linux/errno.h>
 #include <linux/slab.h>
 #include <linux/fs.h>
+#include <linux/sched.h>
 #ifdef OLD_KERNEL
 #include <linux/locks.h>
 #else

Reply via email to