Re: xfs don't compil in linux-2.5 BK

Carl-Daniel Hailfinger (c-d.hailfinger.kernel.2003@gmx.net)
Tue, 27 May 2003 01:52:18 +0200


Gregoire Favre wrote:
> On Mon, May 26, 2003 at 11:01:12PM +0100, Grzegorz Jaskiewicz wrote:
>
>
>>looks like LINUX_VERSION_CODE is not defined
>>try this (as 2.5.69 > than 2.5.9)
>
>
> Well, maybe BK is not for me:
>
> greg@greg:linux >make dep && make bzImage && make modules && sudo make modules_install
> *** Warning: make dep is unnecessary now.
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
> Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
> CHK include/linux/compile.h
> dnsdomainname: Unknown host
> 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
> fs/xfs/pagebuf/page_buf_internal.h:51: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
> Exit 2

if you are using bk, maybe not all files were checked out? Try

bk -r get

and if the error still does not go away,

make mrproper

and then

make {,x,menu}config

make dep does nothing in 2.5 and make bzImage is standard target, so you
can abbreviate you command line to

make && make modules && sudo make modules_install

HTH,
Carl-Daniel

-- 
http://www.hailfinger.org/

- 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/