> >>
> >>/usr/src/openafs-1.5.2/src/libafs/MODLOAD-2.6.16.13-4-smp-MP/afs_vnop_flock.c:176:
> >>error: struct task_struct has no member named p_opptr
> >>
> >
> >this is on SuSE 10.1, x86_64, isn't it ?
> 
> Yup.
> 
> >do you really need version 1.5.2 ? I had no problems while compiling 1.4.1 
> >for
> >Suse 10.1 (same kernel version as you referred to) here.
> 
> Lucky you ;) Here's what I do:
> 
> # export CFLAGS=-m64
> # ./configure
> # make
>

I did it this way:
- get bison,flex,gcc,ncurses-devel and kernel-source installed
# cp /boot/config-2.6.16.13-4-smp /usr/src/linux/.config
# cd /usr/src/linux
# make oldconfig; make scripts

change to your openafs source
# ./configure --with-linux-kernel-headers=/usr/src/linux
# make dest (or make libafs, if you only need the kernel module)

hope that helps,
cheers.
 - Christian
 

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

Reply via email to