2002-02-03 03:23:07

by Kurt Johnson

[permalink] [raw]
Subject: cant compile 2.5.3-dj1

Hello,

I cant seem to be able to compile 2.5.3-dj1, the build
dies with:

make[2]: Circular
/usr/local/src/linux-2.5/include/linux/qnx4_fs.h <-
/usr/local/src/linux-2.5/include/linux/fs.h dependency
dropped.
/usr/local/bin/gcc -D__KERNEL__
-I/usr/local/src/linux-2.5/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i586
-DKBUILD_BASENAME=filesystems -DEXPORT_SYMTAB -c
filesystems.c
filesystems.c:36: syntax error before `int'
make[2]: *** [filesystems.o] Error 1
make[2]: Leaving directory
`/usr/local/src/linux-2.5/fs'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory
`/usr/local/src/linux-2.5/fs'
make: *** [_dir_fs] Error 2

Is this a known issue? If so, is there any patch?

Regards,

/kj

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


2002-02-03 07:15:17

by Adrian Bunk

[permalink] [raw]
Subject: Re: cant compile 2.5.3-dj1

On Sun, 3 Feb 2002, Kurt Johnson wrote:

> Hello,
>...

Hi Kurt,

> filesystems.c
> filesystems.c:36: syntax error before `int'
> make[2]: *** [filesystems.o] Error 1
> make[2]: Leaving directory
> `/usr/local/src/linux-2.5/fs'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory
> `/usr/local/src/linux-2.5/fs'
> make: *** [_dir_fs] Error 2
>
> Is this a known issue? If so, is there any patch?

This is a known issue. The patch is:

--- fs/filesystems.c.old Fri Feb 1 08:55:12 2002
+++ fs/filesystems.c Fri Feb 1 08:55:41 2002
@@ -12,6 +12,7 @@
#include <linux/smp_lock.h>
#include <linux/kmod.h>
#include <linux/nfsd/interface.h>
+#include <linux/linkage.h>

#if defined(CONFIG_NFSD_MODULE)
struct nfsd_linkage *nfsd_linkage = NULL;



> Regards,
>
> /kj

cu
Adrian