On Tue, Dec 18, 2007 at 22:28:20 +0200, Jaakko Niemi wrote:

> >  > checking for vfsmount... no
> >  > checking for unmount... no
> >  > checking for nfs/nfsproto.h... no
> >  > checking for nfs_args mount structure... no
> >  > configure: error: Could not find NFS mount argument structure!
> 
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425319
> 
>  Urgh. Where did the struct go this time?
> 
from config.log:

configure:35241: checking for nfs_args mount structure
configure:35272: gcc -c -g -O2  conftest.c >&5
In file included from ./nfsconf.h:114,
                 from conftest.c:100:
/usr/include/linux/nfs_mount.h:40: error: 'NFS_MAXNAMLEN' undeclared here (not 
in a function)
configure:35278: $? = 1

It turns out defining _LINUX_NFS_H before including <linux/nfs_mount.h>
breaks things (<linux/nfs.h> defines NFS_MAXNAMLEN, and doesn't get
included because sfsconf.h tries to play clever with system includes).
Hope this helps.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to