Re: [2.1.60] Compile time error.

Russell Coker - mailing lists account (bofh@snoopy.virtual.net.au)
Mon, 27 Oct 97 22:05:46 +1000


I had the same problem. I applied the patch for this against 2.1.5[89]
which was widely posted. The patch made it compile but it doesn't work
(any quota operation such as `quota` or `repquota` results in a "D" state
process).

I doubt that I'll be able to help more. I could give you the patch I
used, but I really doubt that it'll do you any good.

Russell Coker

>Tried to compile kernel 2.1.60 today.. with the following result:

>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
>-malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o dquot.o dquot.c
>dquot.c: In function rite_dquot':
>dquot.c:233: warning: passing arg 1 from incompatible pointer type
>dquot.c:233: warning: passing arg 2 makes integer from pointer without a
>cast dquot.c:233: too many arguments to function
>dquot.c:244: warning: passing arg 1 from incompatible pointer type
>dquot.c:244: warning: passing arg 2 from incompatible pointer type
>dquot.c:244: warning: passing arg 3 makes integer from pointer without a
>cast dquot.c:244: warning: passing arg 4 makes pointer from integer
>without a cast dquot.c: In function ead_dquot':
>dquot.c:265: warning: passing arg 1 from incompatible pointer type
>dquot.c:265: warning: passing arg 2 makes integer from pointer without a
>cast dquot.c:265: too many arguments to function
>dquot.c:274: warning: passing arg 1 from incompatible pointer type
>dquot.c:274: warning: passing arg 2 from incompatible pointer type
>dquot.c:274: warning: passing arg 3 makes integer from pointer without a
>cast dquot.c:274: warning: passing arg 4 makes pointer from integer
>without a cast make[2]: *** [dquot.o] Error 1
>make[2]: Leaving directory
>/home/admin/outside/src/kernel/v2.1.60/linux/fs' make[1]: *** [first_rule]
>Error 2
>make[1]: Leaving directory
>/home/admin/outside/src/kernel/v2.1.60/linux/fs' make: *** [linuxsubdirs]
>Error 2

>Removed SMP support if that would couse this problem? sounds wierd tho.

>Ideas ?

>Regards,
>Patrik

-- 
-----------------------------------------------------------
In return for "mailbag contention" errors from buggy Exchange
servers I'll set my mail server to refuse mail from your domain.
The same response applies when a message to a postmaster
account bounces.
"Russell Coker - mailing lists account" <bofh@snoopy.virtual.net.au>
-----------------------------------------------------------