[PVFS-developers] Pvfs 1.6.2 on old 2.4 kernel

meltzer@zib.de meltzer@zib.de
Tue, 3 Feb 2004 13:31:54 +0200


--==================_846811060==_
Content-Type: text/html; charset="us-ascii"

When compiling 1.6.2-kernel sources, I get 
<br />

<br />
gcc -MMD -I/lib/modules/2.4.9-31smp/build/include         -I. -I./libkpvfs/kincl
<br />
ude -I./libkpvfs/klib -I./libkpvfs/kshared -I./libkernsys/include -O2 -Wall -Wst
<br />
rict-prototypes -DMODULE -D__KERNEL__ -DLINUX -pipe -fomit-frame-pointer -fno-st
<br />
rict-aliasing -mpreferred-stack-boundary=2 -DARCH_X86 -DPVFS_SERIALIZE_DCACHE -c
<br />
 inode.c -o inode.o
<br />
inode.c:31:28: warning: No include path in which to find linux/seq_file.h
<br />
inode.c:45: warning: `struct seq_file\' declared inside parameter list
<br />
inode.c:45: warning: its scope is only this definition or declaration, which is
<br />
probably not what you want.
<br />
inode.c:54: unknown field `show_options\' specified in initializer
<br />
inode.c:54: warning: initialization from incompatible pointer type
<br />
inode.c:414: warning: `struct seq_file\' declared inside parameter list
<br />
inode.c:415: conflicting types for `pvfs_show_options\'
<br />
inode.c:45: previous declaration of `pvfs_show_options\'
<br />
inode.c: In function `pvfs_show_options\':
<br />
inode.c:432: warning: implicit declaration of function `seq_puts\'
<br />
inode.c:439: warning: implicit declaration of function `seq_escape\'
<br />

<br />

<br />
The header seq_file.h is missing in the includes of 2.4.9 kernel.
<br />
Unfortunately I cannot install a newer kernel on our cluster. The seq_file is only used in \'pvfs_show_options\' procedure, I\'d like to comment out the procedure to make the program compile. 
<br />

<br />
Is the procedure neccessary to safely run pvfs?
<br />

<br />
Thanx in advance,
<br />
  J&ouml;rg

--==================_846811060==_--