Hi Wolfgang,

Not sure if this got answered...

Wolfgang Wegner wrote:
Hi again,

On Wed, Nov 21, 2007 at 10:12:45AM +0100, Wolfgang Wegner wrote:
[...]
manage to correctly set up the kernel to take the cramfs (?) image as
the root filesystem. I was thinking I could simply set it up as a
mtd partition, and then give the kernel /dev/mtdx as the root filesystem,
but it does not like it.

Again, my fault - with /dev/mtdblock3 instead of /dev/mtd3 the kernel
can mount the filesystem. But, using the configuration now, I get
several missing commands (files). Generating an initramfs image from
the romfs still fails, but I can live with that.

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


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
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