Страница 1 из 1

FreeBSD 7.2 amd64 не собирается ядро

Добавлено: 2010-03-04 18:49:39
spens
Всем привет.
Возникла необходимость обновить исходники и пересобрать ядро из за бага в tcp_timewait.c

Обновил через cvs src-all. Запускаю buildkernel и в процессе получаю следующее:

Код: Выделить всё

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror  /usr/src/sys/amd64/amd64/pmap.c
cc1: warnings being treated as errors
/usr/src/sys/amd64/amd64/pmap.c:406: warning: C99 inline functions are not supported; using GNU89
/usr/src/sys/amd64/amd64/pmap.c:406: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
/usr/src/sys/amd64/amd64/pmap.c:1138: warning: C99 inline functions are not supported; using GNU89
/usr/src/sys/amd64/amd64/pmap.c:1160: warning: C99 inline functions are not supported; using GNU89
*** Error code 1
Хотелось бы узнать чем данное трабло можно решить?

Re: FreeBSD 7.2 amd64 не собирается ядро

Добавлено: 2010-03-04 19:07:42
hizel
не видно где ошибка

Код: Выделить всё

make clean
rm -rf /usr/obj/usr

Re: FreeBSD 7.2 amd64 не собирается ядро

Добавлено: 2010-03-04 19:21:07
Гость
WERROR= в /etc/make.conf и пересобрать еще раз