quota-1.55 problem w/ hamm
I tried using the quota-1.55-8 package and I get a segmentfault when
the quotacheck is ran.. so I decided to compile it from the source
package (I also tried to use the regular distribution file) and this
is what happened:
# make
cc -O6 -fexpensive-optimizations -fstrength-reduce -c quotacheck.c -o
quotaco
In file included from
quotacheck.c:27:
/usr/include/linux/quota.h:113: parse error before
`__u32'
/usr/include/linux/quota.h:113: warning: no semicolon at end of struct
or union
/usr/include/linux/quota.h:114: warning: data definition has no type or
storages
/usr/include/linux/quota.h:115: parse error before
`dqb_curblocks'
/usr/include/linux/quota.h:115: warning: data definition has no type or
storages
/usr/include/linux/quota.h:116: parse error before
`dqb_ihardlimit'
/usr/include/linux/quota.h:116: warning: data definition has no type or
storages
/usr/include/linux/quota.h:117: parse error before
`dqb_isoftlimit'
/usr/include/linux/quota.h:117: warning: data definition has no type or
storages
/usr/include/linux/quota.h:118: parse error before
`dqb_curinodes'
/usr/include/linux/quota.h:118: warning: data definition has no type or
storages
/usr/include/linux/quota.h:121: parse error before
`}'
/usr/include/linux/quota.h:138: parse error before
`__u32'
/usr/include/linux/quota.h:138: warning: no semicolon at end of struct
or union
/usr/include/linux/quota.h:139: warning: data definition has no type or
storages
/usr/include/linux/quota.h:140: parse error before
`reads'
/usr/include/linux/quota.h:140: warning: data definition has no type or
storages
/usr/include/linux/quota.h:141: parse error before
`writes'
/usr/include/linux/quota.h:141: warning: data definition has no type or
storages
/usr/include/linux/quota.h:142: parse error before
`cache_hits'
/usr/include/linux/quota.h:142: warning: data definition has no type or
storages
/usr/include/linux/quota.h:143: parse error before
`pages_allocated'
/usr/include/linux/quota.h:143: warning: data definition has no type or
storages
/usr/include/linux/quota.h:144: parse error before
`allocated_dquots'
/usr/include/linux/quota.h:144: warning: data definition has no type or
storages
/usr/include/linux/quota.h:145: parse error before
`free_dquots'
/usr/include/linux/quota.h:145: warning: data definition has no type or
storages
/usr/include/linux/quota.h:146: parse error before
`syncs'
/usr/include/linux/quota.h:146: warning: data definition has no type or
storages
quotacheck.c:50: field `dq_dqb' has incomplete
type
quotacheck.c:56: parse error before
`__u32'
quotacheck.c:56: warning: no semicolon at end of struct or
union
quotacheck.c:57: warning: data definition has no type or storage
class
quotacheck.c:59: parse error before
`}'
quotacheck.c:66: parse error before
`umode_t'
quotacheck.c:67: parse error before
`__u32'
quotacheck.c:73: parse error before
`*'
quotacheck.c:84: parse error before
`files_done'
quotacheck.c:84: warning: data definition has no type or storage
class
quotacheck.c:85: parse error before
`highestid'
quotacheck.c:85: warning: data definition has no type or storage
class
quotacheck.c: In function
`main':
quotacheck.c:255: `MNTOPT_NOQUOTA' undeclared (first use this
function)
quotacheck.c:255: (Each undeclared identifier is reported only
once
quotacheck.c:255: for each function it appears
in.)
quotacheck.c: At top
level:
quotacheck.c:472: parse error before
`__u32'
quotacheck.c: In function
`store_dlinks':
quotacheck.c:477: `i_num' undeclared (first use this
function)
quotacheck.c:479: `type' undeclared (first use this
function)
quotacheck.c:479: dereferencing pointer to incomplete
type
quotacheck.c:480: dereferencing pointer to incomplete
type
quotacheck.c:483: sizeof applied to an incomplete
type
quotacheck.c:485: dereferencing pointer to incomplete
type
quotacheck.c:485: `i_uid' undeclared (first use this
function)
quotacheck.c:487: dereferencing pointer to incomplete
type
quotacheck.c:487: `i_gid' undeclared (first use this
function)
quotacheck.c:488: dereferencing pointer to incomplete
type
quotacheck.c:489: dereferencing pointer to incomplete
type
quotacheck.c:489: `i_blocks' undeclared (first use this
function)
quotacheck.c:490: dereferencing pointer to incomplete
type
quotacheck.c: At top
level:
quotacheck.c:497: parse error before
`umode_t'
quotacheck.c: In function
`add_to_quota':
quotacheck.c:507: `i_blocks' undeclared (first use this
function)
quotacheck.c:509: `type' undeclared (first use this
function)
quotacheck.c:512: `i_uid' undeclared (first use this
function)
quotacheck.c:515: `i_gid' undeclared (first use this
function)
quotacheck.c:526: `i_nlink' undeclared (first use this
function)
quotacheck.c:527: `i_num' undeclared (first use this
function)
quotacheck.c: At top
level:
quotacheck.c:548: parse error before
`*'
quotacheck.c: In function
`add_dlinks':
quotacheck.c:554: `type' undeclared (first use this
function)
quotacheck.c:554: `id' undeclared (first use this
function)
quotacheck.c:556: dereferencing pointer to incomplete
type
quotacheck.c:558: `inodes' undeclared (first use this
function)
quotacheck.c:559: dereferencing pointer to incomplete
type
quotacheck.c:560: invalid type argument of `unary
*'
quotacheck.c:560: dereferencing pointer to incomplete
type
quotacheck.c: In function
`remove_list':
quotacheck.c:593: dereferencing pointer to incomplete
type
quotacheck.c: In function
`dump_to_file':
quotacheck.c:610: storage size of `dq_dqb' isn't
known
quotacheck.c:636: sizeof applied to an incomplete
type
quotacheck.c:637: sizeof applied to an incomplete
type
quotacheck.c:640: sizeof applied to an incomplete
type
quotacheck.c:644: sizeof applied to an incomplete
type
quotacheck.c:651: sizeof applied to an incomplete
type
quotacheck.c:653: sizeof applied to an incomplete
type
quotacheck.c:653: sizeof applied to an incomplete
type
quotacheck.c:654: sizeof applied to an incomplete
type
quotacheck.c:662: `__u32' undeclared (first use this
function)
quotacheck.c:662: parse error before
`)'
quotacheck.c:662: parse error before
`)'
quotacheck.c:681: sizeof applied to an incomplete
type
quotacheck.c:681: sizeof applied to an incomplete
type
quotacheck.c:682: sizeof applied to an incomplete
type
make: *** [quotacheck.o] Error
1
#
What on earth is wrong? I have my symlinks (asm, linux, scsi) set to
the kernel's include directories correctly... the quota.h file was
last modified July 4, 1996...
Paul
Thanks in advance
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: