Hi Greg,

On Thu, Nov 29, 2007 at 05:09:58PM +1000, Greg Ungerer wrote:
> Hi Wolfgang,
> 
> Not sure if this got answered...

sorry, I forgot - it did not get answered, but after greping for NFS_VERSION
I found that the old standalone mount is completely out-of-date and did not
take long to find the configuration option for busybox.

Now there seem to be only the initrd problem (still have to check David's
hints) and the mkfs linking problem left... ;-)

> Wolfgang Wegner wrote:
> >
> >However, trying to compile mount results in this error:
> >ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -Os -g 
> >-fomit-frame-pointe
> >r -pipe -fno-common -fno-builtin -Wall   -DEMBED -Dlinux -D__linux__ 
> >-Dunix -D__
> >uClinux__ -DHAVE_NFS   -c -o nfsmount.o nfsmount.c
> >nfsmount.c:35:23: error: gnu/types.h: No such file or directory
> >In file included from nfsmount.c:46:
> >[endless list of redeclarations]
> >nfsmount.c: In function 'nfsmount':
> >nfsmount.c:237: error: 'NFS_VERSION' undeclared (first use in this 
> >function)
> >nfsmount.c:237: error: (Each undeclared identifier is reported only once
> >nfsmount.c:237: error: for each function it appears in.)
> >nfsmount.c:445: warning: implicit declaration of function 'time'
> >nfsmount.c:118: warning: unused variable 'hp' 
> >make[3]: *** [nfsmount.o] Error 1
> >make[3]: Leaving directory 
> >`/projects/new2/uClinux-dist-20071107/user/mount'
> >
> >types.h is present, though:
> >colinux:/projects/new2/uClinux-dist-20071107# find . -name types.h | grep 
> >gnu
> >./lib/libc/include/gnu/types.h
> 
> That looks like the old stand alone mount utility. Only works with 2.0.x
> kernels. Use busybox mount for a better general purpose mount.
> 
> Regards
> Greg

Regards,
Wolfgang

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to