|
我原来的系统是linux redhat9.0,用的软件包是lfs5.0稳定版,前面所有的地方都没有出错,很顺利,但我到第五章创建临时文件系统时,编译util-linux-2.12出错,请大家给看一下,因为我这是第一次安装lfs,另外如果出错,可否跳过,不安这个包。
make: Entering directory `/mnt/Heamansys/sources/lfs-packages/util-linux-2.12/mo
unt'
cc -c -pipe -O2 -mcpu=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototy
pes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DU
SRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/
usr/share/locale\" -O2 -DHAVE_NFS mount.c
In file included from mount.c:65:
loop.h:20: error: parse error before "__kernel_dev_t"
loop.h:20: warning: no semicolon at end of struct or union
loop.h:22: error: parse error before "lo_rdevice"
loop.h:22: warning: type defaults to `int' in declaration of `lo_rdevice'
loop.h:22: warning: data definition has no type or storage class
loop.h:31: error: parse error before '}' token
make: *** [mount.o] Error 1
make: Leaving directory `/mnt/Heamansys/sources/lfs-packages/util-linux-2.12/mou
nt' |
|