All of lore.kernel.org
 help / color / mirror / Atom feed
* Compile error 2.6.9
@ 2004-11-01 22:40 Jim Miller
  2004-11-02  0:35 ` E.Gryaznova
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Miller @ 2004-11-01 22:40 UTC (permalink / raw)
  To: reiserfs-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compile error 2.6.9
  2004-11-01 22:40 Compile error 2.6.9 Jim Miller
@ 2004-11-02  0:35 ` E.Gryaznova
  2004-11-02 10:35   ` E.Gryaznova
  0 siblings, 1 reply; 3+ messages in thread
From: E.Gryaznova @ 2004-11-02  0:35 UTC (permalink / raw)
  To: jimm; +Cc: reiserfs-list

Jim Miller wrote:

>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
>
Hello,
would you please send me your config file?

Thanks,
Lena


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compile error 2.6.9
  2004-11-02  0:35 ` E.Gryaznova
@ 2004-11-02 10:35   ` E.Gryaznova
  0 siblings, 0 replies; 3+ messages in thread
From: E.Gryaznova @ 2004-11-02 10:35 UTC (permalink / raw)
  To: jimm; +Cc: reiserfs-list

[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]

E.Gryaznova wrote:

> Jim Miller wrote:
>
>> 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
>>
> Hello,
> would you please send me your config file?
>
> Thanks,
> Lena 

Would you please try this patch?

Thanks,
Lena.


[-- Attachment #2: cryptcompress.c.diff --]
[-- Type: text/plain, Size: 499 bytes --]

===== plugin/cryptcompress.c 1.133 vs edited =====
--- 1.133/plugin/cryptcompress.c	2004-10-27 19:55:54 +04:00
+++ edited/plugin/cryptcompress.c	2004-11-02 12:12:18 +03:00
@@ -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);
 		

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-02 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-01 22:40 Compile error 2.6.9 Jim Miller
2004-11-02  0:35 ` E.Gryaznova
2004-11-02 10:35   ` E.Gryaznova

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.