[K12OSN] I need your help, PLEASE!
Calvin Dodge
caldodge at gmail.com
Wed Nov 22 03:14:48 UTC 2006
On 11/21/06, Brad Johnson <bjohnson1102 at mchsi.com> wrote:
> Greetings,
>
> This is a continuation of my thread that I started last week. Can
> someone please try the following on FC5 or FC6 and tell me their results:
>
> compile from source code ncpfs, version 2.2.6, located here:
> ftp://platan.vc.cvut.cz/pub/linux/ncpfs/ncpfs-2.2.6.tar.gz
>
> or get the source rpm and rebuild, using rpmbuild like this:
> rpmbuild --bb --clean ncpfs.spec
> using the following rpm:
> ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/6/source/SRPMS/ncpfs-2.2.6-5.src.rpm
I went the RPM route.
I found two apparent problems with the files, and _had_ to leave in
the ipx stuff (one of the make files was expecting various ipx
directories, and bombing out when it didn't find them).
Anyway, I made the following changes:
1) in sutil/ncpm_common.c I added the following lines:
#ifndef offsetof
#define offsetof(type,ident) ((size_t)&(((type*)0)->ident))
#endif
2) in contrib/pam/pam_ncp_auth.c I added:
#include <syslog.h>
The code then compiled, and left its rpms for me to install. Does it
work? I don't know, since I have no Netware servers on hand to test it
with (haven't touched one since 2000).
I hope this helps you.
Calvin
More information about the K12OSN
mailing list