Skip to contentSkip to conversation

Compile error 2.6.9

DISCUSSION Jim Miller 2 participants 3 messages Nov 1, 2004 – Nov 2, 2004

lore
Share & tools
lore

Jim Miller

author
#0 lore raw

I got the follow errors while compiling 2.6.9 linux kernel. I followed these dirs:
1. get 2.6.9 (ftp.kernel.org:/pub/linux/kernel/v2.6/linux-2.6.9.tar.gz)

	tar zxf linux-2.6.9.tar.gz -C /usr/src
2. get reiser4 core patches:
	ftp.namesys.com:/pub/reiser4-for-2.6.9/2.6.9.diff
	cd /usr/src/linux-2.6.9
	cat 2.6.9.diff | patch -p1
3. add reiser4 to linux-2.6.9
	ftp.namesys.com:/pub/reiser4-for-2.6.9/reiser4.tar.bz2
	cd /usr/src/linux-2.6.9/fs
	tar jxf reiser4.tar.bz2
4. patch reiser4 to match 2.6.9
	ftp.namesys.com:/pub/reiser4-for-2.6.9/reiser4-for-2.6.9.diff
	cd /usr/src/linux-2.6.9
	cat reiser4-for-2.6.9.diff | patch -p1

All of the patches applied successfully. Any suggestions would be appreciated.

CC fs/reiser4/plugin/cryptcompress.o
fs/reiser4/plugin/cryptcompress.c: In function `inflate_cluster':
fs/reiser4/plugin/cryptcompress.c:1018: parse error before *' fs/reiser4/plugin/cryptcompress.c:1019: cplug' undeclared (first use in this function)
fs/reiser4/plugin/cryptcompress.c:1019: (Each undeclared identifier is reported only once
fs/reiser4/plugin/cryptcompress.c:1019: for each function it appears in.) make[3]: *** [fs/reiser4/plugin/cryptcompress.o] Error 1 make[2]: *** [fs/reiser4] Error 2
make[1]: *** [fs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [stamp-build] Error 2

Thanks,
Jim

#1 lore raw
Quoted 37 lines · Jim Miller

I got the follow errors while compiling 2.6.9 linux kernel. I followed these dirs:
1. get 2.6.9 (ftp.kernel.org:/pub/linux/kernel/v2.6/linux-2.6.9.tar.gz)

	tar zxf linux-2.6.9.tar.gz -C /usr/src
2. get reiser4 core patches:
	ftp.namesys.com:/pub/reiser4-for-2.6.9/2.6.9.diff
	cd /usr/src/linux-2.6.9
	cat 2.6.9.diff | patch -p1
3. add reiser4 to linux-2.6.9
	ftp.namesys.com:/pub/reiser4-for-2.6.9/reiser4.tar.bz2
	cd /usr/src/linux-2.6.9/fs
	tar jxf reiser4.tar.bz2
4. patch reiser4 to match 2.6.9
	ftp.namesys.com:/pub/reiser4-for-2.6.9/reiser4-for-2.6.9.diff
	cd /usr/src/linux-2.6.9
	cat reiser4-for-2.6.9.diff | patch -p1

All of the patches applied successfully. Any suggestions would be appreciated.

CC fs/reiser4/plugin/cryptcompress.o
fs/reiser4/plugin/cryptcompress.c: In function `inflate_cluster':
fs/reiser4/plugin/cryptcompress.c:1018: parse error before *' fs/reiser4/plugin/cryptcompress.c:1019: cplug' undeclared (first use in this function)
fs/reiser4/plugin/cryptcompress.c:1019: (Each undeclared identifier is reported only once
fs/reiser4/plugin/cryptcompress.c:1019: for each function it appears in.) make[3]: *** [fs/reiser4/plugin/cryptcompress.o] Error 1 make[2]: *** [fs/reiser4] Error 2
make[1]: *** [fs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [stamp-build] Error 2

Quoted 3 lines

Thanks,
Jim

Hello,
would you please send me your config file?

Thanks,
Lena

#2 lore raw
Quoted 39 lines · E.Gryaznova
Quoted 37 lines · Jim Miller

I got the follow errors while compiling 2.6.9 linux kernel. I followed these dirs:
1. get 2.6.9 (ftp.kernel.org:/pub/linux/kernel/v2.6/linux-2.6.9.tar.gz) tar zxf linux-2.6.9.tar.gz -C /usr/src
2. get reiser4 core patches:
ftp.namesys.com:/pub/reiser4-for-2.6.9/2.6.9.diff
cd /usr/src/linux-2.6.9
cat 2.6.9.diff | patch -p1
3. add reiser4 to linux-2.6.9 ftp.namesys.com:/pub/reiser4-for-2.6.9/reiser4.tar.bz2
cd /usr/src/linux-2.6.9/fs
tar jxf reiser4.tar.bz2
4. patch reiser4 to match 2.6.9 ftp.namesys.com:/pub/reiser4-for-2.6.9/reiser4-for-2.6.9.diff cd /usr/src/linux-2.6.9
cat reiser4-for-2.6.9.diff | patch -p1

All of the patches applied successfully. Any suggestions would be appreciated.

CC fs/reiser4/plugin/cryptcompress.o fs/reiser4/plugin/cryptcompress.c: In function `inflate_cluster':
fs/reiser4/plugin/cryptcompress.c:1018: parse error before *' fs/reiser4/plugin/cryptcompress.c:1019: cplug' undeclared (first use in this function)
fs/reiser4/plugin/cryptcompress.c:1019: (Each undeclared identifier is reported only once
fs/reiser4/plugin/cryptcompress.c:1019: for each function it appears in.) make[3]: *** [fs/reiser4/plugin/cryptcompress.o] Error 1 make[2]: *** [fs/reiser4] Error 2
make[1]: *** [fs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [stamp-build] Error 2

Quoted 8 lines
Quoted 3 lines

Thanks,
Jim

Hello,
would you please send me your config file?

Thanks,
Lena

Would you please try this patch?

Thanks,
Lena.

===== plugin/cryptcompress.c 1.133 vs edited =====

plugin/cryptcompress.c +2 -1
@@ -1013,9 +1013,10 @@
 	assert("edward-907", !tfm_cluster_is_uptodate(tc));
 	
 	if (inode_get_crypto(inode) != NULL) {
+		crypto_plugin * cplug;
+
 		/* FIXME-EDWARD: isn't support yet */
 		assert("edward-908", 0);
-		crypto_plugin * cplug;
 		cplug = inode_crypto_plugin(inode);
 		assert("edward-617", cplug != NULL);