Mike Hollis wrote:
>  I recently switched from samba back to nfs. nfs-utils-1.1.4
> worked on a LFS-6.3 built from the livecd with an upgraded kernel.
> I'm not sure of the kernel version now ; all I  could say for sure
> is that it wasn't the version from the cd. When trying to build on
> to build on SVN-20101118  with kernel linux-2.6.35.2 it fails: 
> 
> /usr/src/nfs-utils-1.1.4/utils/exportfs/exportfs.c:400: undefined 
> reference to `S_ISDIR'
> /usr/src/nfs-utils-1.1.4/utils/exportfs/exportfs.c:400: undefined 
> reference to `S_ISREG'
> collect2: ld returned 1 exit status
> make[2]: *** [exportfs] Error 1
>  
>  I googled and found a patch, but the format was alien, so I
> diffed my own that added  #include <sys/stat.h> in 3 files.
> Not sure if it's kernel related or what, but this patch works
> for me.

I think that missing sys/stat.h includes is a 'feature' of newer glibc 
releases.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to