Problem z modułem IPv6

Instalacja Slackware Linux, problemy i wstępna konfiguracja, aktualizacje do nowszych wersji.

Moderatorzy: Moderatorzy, Administratorzy

Awatar użytkownika
Randalf
Użytkownik
Posty: 72
Rejestracja: 2005-12-21, 04:59

Problem z modułem IPv6

Post autor: Randalf »

Od jakiegoś czasu używam jądra 2.4.15-lck1 (tylko lckbase) i ostatnio zaszła potrzeba dodania modułów do obsługi IPv6. Dorzuciłem więc do .config CONFIG_IPV6=m, niestety po make modules otrzymuję następujący błąd:

Kod: Zaznacz cały

make -C ipv6 modules
make[2]: Entering directory `/usr/src/linux-2.4.31/net/ipv6'
gcc -Os -D__KERNEL__ -I/usr/src/linux-2.4.31/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -s -DNDEBUG -DG_DISABLE_ASSERT -ffast-math -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686  -DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=af_inet6  -c -o af_inet6.o af_inet6.c
In file included from af_inet6.c:59:
/usr/src/linux-2.4.31/include/net/ip6_route.h: In function `ip6_dst_store':
/usr/src/linux-2.4.31/include/net/ip6_route.h:104: error: structure has no member named `net_pinfo'
/usr/src/linux-2.4.31/include/net/ip6_route.h:109: error: dereferencing pointer to incomplete type
/usr/src/linux-2.4.31/include/net/ip6_route.h:110: error: dereferencing pointer to incomplete type
af_inet6.c: In function `inet6_create':
af_inet6.c:174: error: structure has no member named `net_pinfo'
af_inet6.c:175: error: structure has no member named `net_pinfo'
af_inet6.c:176: error: structure has no member named `net_pinfo'
af_inet6.c:177: error: structure has no member named `net_pinfo'
af_inet6.c:179: error: structure has no member named `net_pinfo'
af_inet6.c: In function `inet6_bind':
af_inet6.c:304: error: structure has no member named `net_pinfo'
af_inet6.c:307: error: structure has no member named `net_pinfo'
af_inet6.c:313: error: structure has no member named `net_pinfo'
af_inet6.c:313: error: structure has no member named `net_pinfo'
af_inet6.c:313: error: structure has no member named `net_pinfo'
af_inet6.c:313: error: structure has no member named `net_pinfo'
af_inet6.c:314: error: structure has no member named `net_pinfo'
af_inet6.c:314: error: structure has no member named `net_pinfo'
af_inet6.c:314: error: structure has no member named `net_pinfo'
af_inet6.c:314: error: structure has no member named `net_pinfo'
af_inet6.c: In function `inet6_destroy_sock':
af_inet6.c:361: error: structure has no member named `net_pinfo'
af_inet6.c:361: error: structure has no member named `net_pinfo'
af_inet6.c:361: error: structure has no member named `net_pinfo'
af_inet6.c:361: warning: type defaults to `int' in declaration of `type name'
af_inet6.c:361: warning: assignment makes pointer from integer without a cast
af_inet6.c:369: error: structure has no member named `net_pinfo'
af_inet6.c:369: error: structure has no member named `net_pinfo'
af_inet6.c:369: error: structure has no member named `net_pinfo'
af_inet6.c:369: warning: type defaults to `int' in declaration of `type name'
af_inet6.c:369: warning: assignment makes pointer from integer without a cast
af_inet6.c: In function `inet6_getname':
af_inet6.c:394: error: structure has no member named `net_pinfo'
af_inet6.c:394: error: structure has no member named `net_pinfo'
af_inet6.c:396: error: structure has no member named `net_pinfo'
af_inet6.c:397: error: structure has no member named `net_pinfo'
af_inet6.c:399: error: structure has no member named `net_pinfo'
af_inet6.c:400: error: structure has no member named `net_pinfo'
af_inet6.c:400: error: structure has no member named `net_pinfo'
af_inet6.c:404: error: structure has no member named `net_pinfo'
af_inet6.c:404: error: structure has no member named `net_pinfo'
make[2]: *** [af_inet6.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.31/net/ipv6'
make[1]: *** [_modsubdir_ipv6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.31/net'
make: *** [_mod_net] Error 2
Hmm.. ;/ Jakieś sugestie?[/code]
Awatar użytkownika
snaj
Moderator w st. spocz.
Posty: 1608
Rejestracja: 2004-10-10, 16:32
Lokalizacja: Warszawa
Kontakt:

Re: Problem z modułem IPv6

Post autor: snaj »

Zdjac -lckX i sprawdzic czy bez tego jest ok.
Poza tym co niespojne sa twoje numerki jajek w poscie.
*
[color=blue]Sieci[/color]/[color=green]Serwery[/color]/[color=red]Security[/color] - Freelancer
*
Awatar użytkownika
Randalf
Użytkownik
Posty: 72
Rejestracja: 2005-12-21, 04:59

Re: Problem z modułem IPv6

Post autor: Randalf »

Oczywiście chodziło mi o 2.4.31 (pisałem to dość późno). Też myślałem, że może to wina patcha, ale przy czystym 2.4.31 mam ten sam błąd (na wszelki wypadek wyłączyłem też flagi -Os -s -DNDEBUG -DG_DISABLE_ASSERT -ffast-math) :?
Awatar użytkownika
snaj
Moderator w st. spocz.
Posty: 1608
Rejestracja: 2004-10-10, 16:32
Lokalizacja: Warszawa
Kontakt:

Re: Problem z modułem IPv6

Post autor: snaj »

Wyglada wiec na zla konfiguracje kernela.
*
[color=blue]Sieci[/color]/[color=green]Serwery[/color]/[color=red]Security[/color] - Freelancer
*
Awatar użytkownika
Randalf
Użytkownik
Posty: 72
Rejestracja: 2005-12-21, 04:59

Re: Problem z modułem IPv6

Post autor: Randalf »

Po update'cie do 2.4.32 mam dalej to samo. Wykorzystałem tem sam konfig co w obecnym działającym jądrze, dodałem tylko linijkę CONFIG_IPV6=m (ręcznie). Czy do obsługi IPv6 wymagane jest coś jeszcze? Jedyne rozwiązanie jakie mi narazie przychodzi do głowy do skompilować 2.4.31 i dorzucić moduły IPv6 z paczki, ale zależy mi na patchu lck..
Awatar użytkownika
snaj
Moderator w st. spocz.
Posty: 1608
Rejestracja: 2004-10-10, 16:32
Lokalizacja: Warszawa
Kontakt:

Re: Problem z modułem IPv6

Post autor: snaj »

Tak sie nie modyfikuje konfiga kernela !
Wejdz w menuconfig, wejdz w czesc dla ipv6 i tam go aktywuj i to co jest z nim zwiazane !
*
[color=blue]Sieci[/color]/[color=green]Serwery[/color]/[color=red]Security[/color] - Freelancer
*
Awatar użytkownika
Randalf
Użytkownik
Posty: 72
Rejestracja: 2005-12-21, 04:59

Re: Problem z modułem IPv6

Post autor: Randalf »

Już wszystko ok :D
Brakowało CONFIG_EXPERIMENTAL=y, dlatego wyrzucało błędy a w menuconfig nie miałem wogóle opcji dla IPv6. Dzięki za pomoc!
ODPOWIEDZ