--On Sunday, October 24, 2004 12:48:31 -0400 John F Davis
<[EMAIL PROTECTED]> wrote:

> ../afs/osi_groups.c:181: parse error before `old_gid_t'
> ../afs/osi_groups.c:182: parse error before `old_gid_t'
I guess I forgot that I patched around this error.

Edit /usr/src/modules/openafs/src/afs/LINUX/osi_groups.c and change
old_gid_t to u16 on line 181 and 182.


> 
> 
> Notes about this error. 
> I am using a 2.4.27 kernel from kernel.org (not a debian package
> version).   
Then why are you using the debian openafs module source?
Don't answer that. 

> I have installed .deb kernel-headers-2.4.27-1which puts include files in 
> /usr/src., but I am not sure if they are being used.
They are not being used, because you set KSRC=/usr/src/linux, but that
appears to be what you want.


Given that you are building a kernel.org kernel anyway, it doesn't relly
make sense to use my alternate method of building a module. I use it
because it means that I can build modules against kernel-headers packages
rather than needing to construct a kernel build tree myself. 

> Other notes about gcc.  If i deinstall egcs64 and try using the gcc code.
> 
> sparc64-linux-gcc is not found and the make-kpkg modules step fails to 
> build for afs.  I can build the kernel though.
That's something else I did that I forgot about

I created a /usr/bin/sparc64-linux-gcc script containing:

#!/bin/sh
exec sparc-linux-gcc -m64 "[EMAIL PROTECTED]"

But that will only work if you are running sarge or sid.

openafs probably needs some sort of compiler detection logic to deal with
this.

Attachment: p7sMeuhVqGOcA.p7s
Description: S/MIME cryptographic signature

Reply via email to