The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"FreeBSD ядро+BOOTP_NFSROOT"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"FreeBSD ядро+BOOTP_NFSROOT" 
Сообщение от пепси Искать по авторуВ закладки on 04-Июл-05, 15:02  (MSK)
Здравствуйте!

Включил в ядро FreeBSD 5.3 опции
options BOOTP
options BOOTP_NFSROOT
options BOOTP_NFSV3
options BOOTP_COMPAT

делаю make depend и получаю:

rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
make _kernel-depend
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes-Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding ../../../i386/i386/genassym.c
../../../i386/i386/genassym.c:63:20: net/if.h: No such file or directory
../../../i386/i386/genassym.c:64:24: netinet/in.h: No such file or directory
In file included from ../../../i386/i386/genassym.c:68:
../../../nfsclient/nfsdiskless.h:60: error: field `myif' has incomplete type
../../../nfsclient/nfsdiskless.h:61: error: field `mygateway' has incomplete type
../../../nfsclient/nfsdiskless.h:65: error: field `root_saddr' has incomplete type
../../../nfsclient/nfsdiskless.h:95: error: field `myif' has incomplete type
../../../nfsclient/nfsdiskless.h:96: error: field `mygateway' has incomplete type
../../../nfsclient/nfsdiskless.h:99: error: field `root_saddr' has incomplete type
*** Error code 1

Stop in /usr/src/sys/i386/compile/MYKERNEL.

Что бы это значило и как с этим бороться?

Спасибо!

  Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "FreeBSD ядро+BOOTP_NFSROOT" 
Сообщение от lavr emailИскать по авторуВ закладки on 04-Июл-05, 15:10  (MSK)
>Здравствуйте!
>
>Включил в ядро FreeBSD 5.3 опции
>options BOOTP
>options BOOTP_NFSROOT
>options BOOTP_NFSV3
>options BOOTP_COMPAT
>
>делаю make depend и получаю:
>
>rm -f .olddep
>if [ -f .depend ]; then mv .depend .olddep; fi
>make _kernel-depend
>cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes-Wpointer-arith -Winline -Wcast-qual -fformat-extensions
>-std=c99 -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
>-I../../../contrib/ngatm -D_KERNEL -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2
>-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding ../../../i386/i386/genassym.c
>../../../i386/i386/genassym.c:63:20: net/if.h: No such file or directory
>../../../i386/i386/genassym.c:64:24: netinet/in.h: No such file or directory
>In file included from ../../../i386/i386/genassym.c:68:
>../../../nfsclient/nfsdiskless.h:60: error: field `myif' has incomplete type
>../../../nfsclient/nfsdiskless.h:61: error: field `mygateway' has incomplete type
>../../../nfsclient/nfsdiskless.h:65: error: field `root_saddr' has incomplete type
>../../../nfsclient/nfsdiskless.h:95: error: field `myif' has incomplete type
>../../../nfsclient/nfsdiskless.h:96: error: field `mygateway' has incomplete type
>../../../nfsclient/nfsdiskless.h:99: error: field `root_saddr' has incomplete type
>*** Error code 1
>
>Stop in /usr/src/sys/i386/compile/MYKERNEL.
>
>Что бы это значило и как с этим бороться?
>
>Спасибо!

man diskless (спасет?)

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "FreeBSD ядро+BOOTP_NFSROOT" 
Сообщение от пепси Искать по авторуВ закладки on 04-Июл-05, 16:23  (MSK)
делаю как написано в man diskless:

cd /usr/src/sys/boot/i386
make clean; make;

получаю
pxe.c:40:17: net.h: No such file or directory
pxe.c:41:19: netif.h: No such file or directory
pxe.c:42:19: nfsv2.h: No such file or directory
pxe.c:43:20: iodesc.h: No such file or directory
pxe.c:45:19: bootp.h: No such file or directory
pxe.c:83: warning: "struct netif" declared inside parameter list

и далее кучу ошибок...

Что это может быть?

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

3. "FreeBSD ядро+BOOTP_NFSROOT" 
Сообщение от lavr emailИскать по авторуВ закладки on 04-Июл-05, 17:09  (MSK)
>делаю как написано в man diskless:
>
>cd /usr/src/sys/boot/i386
>make clean; make;

???

http://www.freebsd.org.ru/how-to/diskless/diskless.html

ядро для 5.x:
...

#--lavr for bootp-server
options         BOOTP           #Use BOOTP to obtain IP address/hostname
options         BOOTP_NFSROOT   #NFS mount root filesystem using BOOTP info
options         BOOTP_NFSV3     #Use NFS v3 to NFS mount rootoptions
options         BOOTP_COMPAT    #Workaround for broken bootp daemons.
    
options         NFSCLIENT       #Network File System
options         NFS_ROOT        #NFS usable as root device, NFS required  
options         NULLFS          #nullfs
    
device          md              #Memory "disks"

...

разумеется желательно чтобы не было повторов options (ну те допустим уже
где-то выше или ниже заданы в ядре)

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх


Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ]
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру