FreeBSD проблема с обновлением ядра
Добавлено: 2009-01-11 13:48:15
Вообщем обновился полностью через cvsup и начал решил собрать GENERIC
но вот при инсталляции выдал ошибку
далее пошёл в /usr/src/lib/libc
в итоге обновляться не хочет
может подскажите что делать
З.Ы.:Первоночально это FreeBsd 7.0
но вот при инсталляции выдал ошибку
Код: Выделить всё
===> share/info (install)
===> lib (install)
===> lib/csu/i386-elf (install)
cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c crt1.c
cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c crti.S
cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c crtn.S
cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -DGCRT -c -o gcrt1.o /usr/src/lib/csu/i386-elf/crt1.c
install -o root -g wheel -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib
===> lib/libc (install)
install -C -o root -g wheel -m 444 libc.a /usr/lib
install: libc.a: No such file or directory
*** Error code 71
Stop in /usr/src/lib/libc.
*** Error code 1
Stop in /usr/src/lib.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
myhost#
Код: Выделить всё
myhost# make
Warning: Object directory not changed from original /usr/src/lib/libc
cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/src/lib/libc -I/usr/src/lib/libc/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/sys/fcntl.c
/usr/src/lib/libc/sys/fcntl.c: In function '__fcntl_compat':
/usr/src/lib/libc/sys/fcntl.c:44: error: storage size of 'ofl' isn't known
/usr/src/lib/libc/sys/fcntl.c:69: error: 'F_OGETLK' undeclared (first use in this function)
/usr/src/lib/libc/sys/fcntl.c:69: error: (Each undeclared identifier is reported only once
/usr/src/lib/libc/sys/fcntl.c:69: error: for each function it appears in.)
/usr/src/lib/libc/sys/fcntl.c:76: error: 'struct flock' has no member named 'l_sysid'
/usr/src/lib/libc/sys/fcntl.c:81: error: 'F_OSETLK' undeclared (first use in this function)
/usr/src/lib/libc/sys/fcntl.c:84: error: 'F_OSETLKW' undeclared (first use in this function)
/usr/src/lib/libc/sys/fcntl.c:44: warning: unused variable 'ofl'
*** Error code 1
Stop in /usr/src/lib/libc.
может подскажите что делать
З.Ы.:Первоночально это FreeBsd 7.0