Skip to contentSkip to conversation

cant compile 2.5.3-dj1

DISCUSSION Kurt Johnson 2 participants 2 messages Feb 3, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · Kurt Johnson

Hello,
...

Hi Kurt,

Quoted 11 lines

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:

filesystems.c renamed from filesystems.c.old +1 -0
@@ -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;
Quoted 3 lines

Regards,

/kj

cu
Adrian