[uClinux-dev] 2.4.x Compile error

Xu Fantom fantom_xu at hotmail.com
Tue Apr 23 22:17:29 EDT 2002

hi all,

I download uClinux-dist-20020306.tar.gz from www.uclinux.org.
when i compile the kernel, (with some applications selected, such as mount, 
ping ...)it reports lot of errors, just like this:

m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE -Os -g -fomit-frame-pointer  -Dlinux 
-D__linux__ -Dunix -D__uClinux__ -DEMBED 
-I/0306/uClinux-dist/lib/libc/include -I/0306/uClinux-dist/lib/libm 
-I/0306/uClinux-dist -fno-builtin -msep-data 
-I/0306/uClinux-dist/linux-2.4.x/include -DHAVE_NFS   -c -o nfsmount.o 
In file included from nfs_mount3.h:15,
                 from nfsmount.c:51:
/0306/uClinux-dist/lib/libc/include/linux/nfs_mount.h:46: field `root' has 
incomplete type
make[2]: *** [nfsmount.o] Error 1
make[2]: Leaving directory `/0306/uClinux-dist/user/mount'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/0306/uClinux-dist/user'
make: *** [subdirs] Error 1

I wonder if these source code has not been tested before distribution or I 
do something wrong?  

If I compile the kernel without changing the settings, everything is OK.

享用世界上最大的 Web 电子邮件系统 ― MSN Hotmail:http://www.hotmail.com/cn

This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/

More information about the uClinux-dev mailing list