Help!!! не компилируеться ядро на AMD FreeBSD 8.2

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
Ridik5533
рядовой
Сообщения: 39
Зарегистрирован: 2011-12-20 18:16:11
Откуда: Киев

Help!!! не компилируеться ядро на AMD FreeBSD 8.2

Непрочитанное сообщение Ridik5533 » 2011-12-20 18:24:50

# cd /usr/src/sys/i386/conf
# cp GENERIC MyKern
в MyKern добавляю
ident MyKern
maxusers 0
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPFIREWALL_FORWARD
options IPDIVERT
options DUMMYNET

ничего не коментирую, так и оставляю

# config MyKern
# cd ../compile/MyKern
# make depend
../../../amd64/amd64/genassym.c:200: error: 'mcontext_t' has no member named 'mc_rflags'
../../../amd64/amd64/genassym.c:200: error: 'mcontext_t' has no member named 'mc_rflags'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:214: error: 'struct pcpu' has no member named 'pc_scratch_rsp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:216: error: 'struct pcpu' has no member named 'pc_tssp'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:217: error: 'struct pcpu' has no member named 'pc_rsp0'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:218: error: 'struct pcpu' has no member named 'pc_fs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:219: error: 'struct pcpu' has no member named 'pc_gs32p'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:220: error: 'struct pcpu' has no member named 'pc_ldt'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:221: error: 'struct pcpu' has no member named 'pc_commontssp'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:222: error: 'struct pcpu' has no member named 'pc_tss'
../../../amd64/amd64/genassym.c:236: error: 'GUCODE32_SEL' undeclared here (not in a function)
../../../amd64/amd64/genassym.c:237: error: 'GUFS32_SEL' undeclared here (not in a function)
../../../amd64/amd64/genassym.c:238: error: 'GUGS32_SEL' undeclared here (not in a function)
../../../amd64/amd64/genassym.c:241: error: 'SEL_RPL_MASK' undeclared here (not in a function)
*** Error code 1

Stop in /usr/src/sys/i386/compile/MyKern.
Что делать? куда копать?

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Electronik
капитан
Сообщения: 1593
Зарегистрирован: 2008-11-15 17:32:56
Откуда: Минск
Контактная информация:

Re: Help!!! не компилируеться ядро на AMD FreeBSD 8.2

Непрочитанное сообщение Electronik » 2011-12-20 19:32:45

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

cd /usr/src
make clean && make cleandir && make buildkernel KERNCONF=MyKern && make installkernel KERNCONF=MyKern
Предскажем будущее hw по логам и дампу, снимем сглаз и порчу с рута, поможем придумать пароль(С)
Блог

Аватара пользователя
Neus
капитан
Сообщения: 1779
Зарегистрирован: 2008-09-08 21:59:56

Re: Help!!! не компилируеться ядро на AMD FreeBSD 8.2

Непрочитанное сообщение Neus » 2011-12-21 10:06:53

Electronik писал(а):

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

cd /usr/src
make clean && make cleandir && make buildkernel KERNCONF=MyKern && make installkernel KERNCONF=MyKern
нене.. тут сначала хэндбук нада

Аватара пользователя
Ridik5533
рядовой
Сообщения: 39
Зарегистрирован: 2011-12-20 18:16:11
Откуда: Киев

Re: Help!!! не компилируеться ядро на AMD FreeBSD 8.2

Непрочитанное сообщение Ridik5533 » 2011-12-21 12:59:15

Спасибо парни! За помощь, но проблема была немного в другом!
я делал
# cd /usr/src/sys/i386/conf
# cp GENERIC MyKern
тогда как я же сам написал что у меня система AMD64! + /usr/src ничего нет

как оказалось все проще!
это для src:
# mount /cdrom
# cd /cdrom
# cd 8.2-REALESE/src/
# ./install.sh
# ./install.sh all
# cd /usr/src/
# umount /cdrom
Это для компиляции:
# cd /usr/src/sys/amd64/conf/
# cp GENERIC MyKern

потом добавил что мне надо в MyKern
дальше:

# config MyKern
# cd ../compile/MyKern
# make depend && make && make install
Ну, вот. Удачи всем и не ТУПИТЕ! как Я :oops: