The OpenNET Project / Index page

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

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

"cvsup to 4.7 STABLE и сразуже проблема!"
Сообщение от mix emailИскать по авторуВ закладки on 29-Окт-02, 10:32  (MSK)
как обычно перед компиляцией ядра ставлю gre.patch и во время make ядра
вижу вот это:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet/in_proto.c
../../netinet/in_proto.c:122: `gre_input' undeclared here (not in a function)
../../netinet/in_proto.c:122: initializer element is not constant
../../netinet/in_proto.c:122: (near initialization for `inetsw[4].pr_input')
../../netinet/in_proto.c:148: warning: initialization from incompatible pointer type
../../netinet/in_proto.c:155: warning: initialization from incompatible pointer type
../../netinet/in_proto.c:162: warning: initialization from incompatible pointer type
../../netinet/in_proto.c:169: warning: initialization from incompatible pointer type
*** Error code 1

во время patch <./gre.patch видел такую запись:
Patching file sys/netinet/ip_var.h using Plan A...
Hunk #1 failed at 178.
1 out of 1 hunks failed--saving rejects to sys/netinet/ip_var.h.rej
done


вот что было в файле ip_var.h.rej:

%
***************
*** 178,183 ****
  void   rip_init __P((void));
  void   rip_input __P((struct mbuf *, int, int));
  int    rip_output __P((struct mbuf *, struct socket *, u_long));
  void  ipip_input __P((struct mbuf *, int, int));
  void  rsvp_input __P((struct mbuf *, int, int));
  int   ip_rsvp_init __P((struct socket *));
--- 178,184 ----
  void   rip_init __P((void));
  void   rip_input __P((struct mbuf *, int, int));
  int    rip_output __P((struct mbuf *, struct socket *, u_long));
+ void  gre_input __P((struct mbuf *, int, int));
  void  ipip_input __P((struct mbuf *, int, int));
  void  rsvp_input __P((struct mbuf *, int, int));
  int   ip_rsvp_init __P((struct socket *));

что скажите?

  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

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

1. "RE: cvsup to 4.7 STABLE и сразуже проблема!"
Сообщение от lavr emailИскать по авторуВ закладки on 29-Окт-02, 10:40  (MSK)
>как обычно перед компиляцией ядра ставлю gre.patch и во время make ядра
>
>вижу вот это:
>
>cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
>-Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include
>-I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../netinet/in_proto.c
>../../netinet/in_proto.c:122: `gre_input' undeclared here (not in a function)
>../../netinet/in_proto.c:122: initializer element is not constant
>../../netinet/in_proto.c:122: (near initialization for `inetsw[4].pr_input')
>../../netinet/in_proto.c:148: warning: initialization from incompatible pointer type
>../../netinet/in_proto.c:155: warning: initialization from incompatible pointer type
>../../netinet/in_proto.c:162: warning: initialization from incompatible pointer type
>../../netinet/in_proto.c:169: warning: initialization from incompatible pointer type
>*** Error code 1
>
>во время patch <./gre.patch видел такую запись:
>Patching file sys/netinet/ip_var.h using Plan A...
>Hunk #1 failed at 178.
>1 out of 1 hunks failed--saving rejects to sys/netinet/ip_var.h.rej
>done
>
>
>вот что было в файле ip_var.h.rej:
>
>%
>***************
>*** 178,183 ****
>  void   rip_init __P((void));
>  void   rip_input __P((struct mbuf *, int, int));
>  int    rip_output __P((struct mbuf *, struct socket
>*, u_long));
>  void  ipip_input __P((struct mbuf *, int, int));
>  void  rsvp_input __P((struct mbuf *, int, int));
>  int   ip_rsvp_init __P((struct socket *));
>--- 178,184 ----
>  void   rip_init __P((void));
>  void   rip_input __P((struct mbuf *, int, int));
>  int    rip_output __P((struct mbuf *, struct socket
>*, u_long));
>+ void  gre_input __P((struct mbuf *, int, int));
>  void  ipip_input __P((struct mbuf *, int, int));
>  void  rsvp_input __P((struct mbuf *, int, int));
>  int   ip_rsvp_init __P((struct socket *));
>
>что скажите?


так reject - патч не встал, вставляй руками.

  Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "RE: cvsup to 4.7 STABLE и сразуже проблема!"
Сообщение от mix emailИскать по авторуВ закладки on 29-Окт-02, 10:56  (MSK)
ага. так и есть.

Спасибо.

  Рекомендовать в FAQ | Cообщить модератору | Наверх

3. "RE: cvsup to 4.7 STABLE и сразуже проблема!"
Сообщение от dubanoze emailИскать по авторуВ закладки on 29-Окт-02, 11:01  (MSK)
А что это за патч ?
  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




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

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