Delete the inclusion of sys/quota.h. This isn't needed on Linux.
You can also delete the inclusiong of xfs_types.h.
At least this compiles file on my 2.3.99-pre2 system.
Can you try it and see if it works on Redhat 5.2?
I'll update our sources.
Thanks,
Jim
>
>> >>>>>>>>>>> Source code for Linux XFS now available! <<<<<<<<<<<<<<
>>
>> A complete linux 2.3.99pre2 tree including the XFS filesystem is available
>> for
>> cvs checkout.
>>
>> Please refer to: http://oss.sgi.com/projects/xfs/cvs_download.html
>> for instructions.
>>
>> A snapshot of the CVS tree is also availble:
>> ftp://oss.sgi.com/projects/xfs/ftpdir/03302000linux-2.3-xfs.tgz
>> This tar file will not be generated on a reqular basis.
>> A "cvs update -d" should be performed once the tree is download and
>> unpacked.
>
>Hi,
>Trying to compile with xfs as a module or in kernel give the following errors :
>In file included from /usr/include/sys/quota.h:3,
> from xfsquotasstubs.c:80:
>/usr/src/linux/include/linux/quota.h:170: field `dq_free' has incomplete type
>/usr/src/linux/include/linux/quota.h:173: parse error before
>`wait_queue_head_t'
>/usr/src/linux/include/linux/quota.h:173: warning: no semicolon at end of
>struct or union
>/usr/src/linux/include/linux/quota.h:185: parse error before `}'
>
>root /usr/src/linux gcc -v
>Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs
>gcc version 2.95.1 19990816 (release)
>(BTW, doesn't compile at all with good old 2.7.2.3 gcc)
>I have otherwise a standard RedHat 5.2 distribution.
>Thanks in advance,
>Xavier Bertou
>
|