lkml.org 
[lkml]   [2003]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: xfs don't compil in linux-2.5 BK
From
Date
On Mon, 2003-05-26 at 20:31, Gregoire Favre wrote:
> Hello,
>
> I don't know if I have fetched the source with BK the right way...
> Anyway the compil ends that way:
>
> CC fs/xfs/xfs_rw.o
> CC fs/xfs/pagebuf/page_buf.o
> In file included from fs/xfs/pagebuf/page_buf.c:65:
> fs/xfs/pagebuf/page_buf_internal.h:46:24: operator '<' has no left
> operand
> make[2]: *** [fs/xfs/pagebuf/page_buf.o] Error 1
> make[1]: *** [fs/xfs] Error 2
> make: *** [fs] Error 2
> 141.112u 14.914s 3:19.78 78.0% 0+0k 0+0io 492771pf+0w
> Exit 2

looks like LINUX_VERSION_CODE is not defined
try this (as 2.5.69 > than 2.5.9)

diff -ur 2/fs/xfs/pagebuf/page_buf_internal.h
1/fs/xfs/pagebuf/page_buf_internal.h
--- 2/fs/xfs/pagebuf/page_buf_internal.h 2003-05-05
00:53:14.000000000 +0100
+++ 1/fs/xfs/pagebuf/page_buf_internal.h 2003-05-26
22:59:27.000000000 +0100
@@ -43,11 +43,6 @@
#define PB_DEFINE_TRACES
#include "page_buf_trace.h"

-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,9)
-#define page_buffers(page) ((page)->buffers)
-#define page_has_buffers(page) ((page)->buffers)
-#endif
-
#ifdef PAGEBUF_LOCK_TRACKING
#define PB_SET_OWNER(pb) (pb->pb_last_holder = current->pid)
#define PB_CLEAR_OWNER(pb) (pb->pb_last_holder = -1)



--
Grzegorz Jaskiewicz <gj@pointblue.com.pl>
K4 labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.043 / U:6.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site