Понял, большое спасибо, буду пересобирать ядро, хотя я начинающий, но при сборке NM,мне показалось что проблема в ядре. К стати, сборка NM сорвалась на вот этом:
hpmini ut4nj # emerge -av net-dialup/ppp
* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] net-dialup/ppp-2.4.5-r1 USE="gtk ipv6 pam -activefilter -atm -dhcp -eap-tls -radius" 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-dialup/ppp-2.4.5-r1
* ppp-2.4.5.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* ppp-2.4.5-gentoo-20101127.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.0.17-gentoo-r2/build
* Found sources for kernel version:
* 3.0.17-gentoo-r2
>>> Unpacking source...
>>> Unpacking ppp-2.4.5.tar.gz to /var/tmp/portage/net-dialup/ppp-2.4.5-r1/work
>>> Unpacking ppp-2.4.5-gentoo-20101127.tar.gz to /var/tmp/portage/net-dialup/ppp-2.4.5-r1/work
>>> Source unpacked in /var/tmp/portage/net-dialup/ppp-2.4.5-r1/work
>>> Preparing source in /var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5 ...
* Applying make-vars.patch ... [ ok ]
* Applying mpls.patch ... [ ok ]
* Applying killaddr-smarter.patch ... [ ok ]
* Applying wait-children.patch ... [ ok ]
* Applying defaultgateway.patch ... [ ok ]
* Applying linkpidfile.patch ... [ ok ]
* Applying qa-fixes.patch ... [ ok ]
* Applying auth-fail.patch ... [ ok ]
* Applying defaultmetric.patch ... [ ok ]
* Applying dev-ppp.patch ... [ ok ]
* Applying gtk2.patch ... [ ok ]
* Applying passwordfd-read-early.patch ... [ ok ]
* Applying pppd-usepeerwins.patch ... [ ok ]
* Applying connect-errors.patch ... [ ok ]
* Applying Makefile.patch ... [ ok ]
* Applying pppol2tpv3-2.6.35.patch ... [ ok ]
* Applying pado-timeout.patch ... [ ok ]
* Applying lcp-echo-adaptive.patch ... [ ok ]
* Disabling active filter
* Enabling PAM
* Enabling IPv6
* Enabling CBCP
* Disabling radius
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
Configuring for Linux
Creating Makefiles.
Makefile <= linux/Makefile.top
pppd/Makefile <= pppd/Makefile.linux
pppstats/Makefile <= pppstats/Makefile.linux
chat/Makefile <= chat/Makefile.linux
pppdump/Makefile <= pppdump/Makefile.linux
pppd/plugins/Makefile <= pppd/plugins/Makefile.linux
pppd/plugins/rp-pppoe/Makefile <= pppd/plugins/rp-pppoe/Makefile.linux
pppd/plugins/radius/Makefile <= pppd/plugins/radius/Makefile.linux
pppd/plugins/pppoatm/Makefile <= pppd/plugins/pppoatm/Makefile.linux
pppd/plugins/pppol2tp/Makefile <= pppd/plugins/pppol2tp/Makefile.linux
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5 ...
make -j2 'COPTS=-O2 -march=i686 -pipe -D_GNU_SOURCE'
cd chat; make - --jobserver-fds=3,4 -j all
make[1]: Вход в каталог `/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5/chat'
i686-pc-linux-gnu-gcc -c -O2 -march=i686 -pipe -D_GNU_SOURCE -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c
chat.c: В функции ‘echo_stderr’:
chat.c:1367:7: предупреждение: ignoring return value of ‘write’, declared with attribute warn_unused_result
chat.c:1372:7: предупреждение: ignoring return value of ‘write’, declared with attribute warn_unused_result
chat.c: В функции ‘chat_send’:
chat.c:1045:7: предупреждение: ignoring return value of ‘write’, declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -march=i686 -pipe -D_GNU_SOURCE -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat chat.o
make[1]: Выход из каталога `/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5/chat'
cd pppd/plugins; make - --jobserver-fds=3,4 -j all
make[1]: Вход в каталог `/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5/pppd/plugins'
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -march=i686 -pipe -D_GNU_SOURCE -I.. -I../../include -fPIC -o minconn.so minconn.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -march=i686 -pipe -D_GNU_SOURCE -I.. -I../../include -fPIC -o passprompt.so passprompt.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -march=i686 -pipe -D_GNU_SOURCE -I.. -I../../include -fPIC -o passwordfd.so passwordfd.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -march=i686 -pipe -D_GNU_SOURCE -I.. -I../../include -fPIC -o winbind.so winbind.c
for d in rp-pppoe pppoatm pppol2tp; do make -w --jobserver-fds=3,4 - --jobserver-fds=3,4 -j -C $d all || exit minconn.so passprompt.so passwordfd.so winbind.so; done
make[2]: Вход в каталог `/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5/pppd/plugins/rp-pppoe'
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o -fPIC plugin.c
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o discovery.o -fPIC discovery.c
In file included from plugin.c:53:0:
/usr/include/linux/if_pppox.h:84:26: ошибка: field ‘pppol2tp’ has incomplete type
/usr/include/linux/if_pppox.h:99:28: ошибка: field ‘pppol2tp’ has incomplete type
make[2]: *** [plugin.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
make[2]: Выход из каталога `/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5/pppd/plugins/rp-pppoe'
/bin/sh: line 0: exit: minconn.so: требуется числовой аргумент
make[1]: *** [all] Ошибка 255
make[1]: Выход из каталога `/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5/pppd/plugins'
make: *** [all] Ошибка 2
emake failed
* ERROR: net-dialup/ppp-2.4.5-r1 failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3199: Called die
* The specific snippet of code:
* emake COPTS="${CFLAGS} -D_GNU_SOURCE" || die "compile failed";
*
* If you need support, post the output of `emerge --info '=net-dialup/ppp-2.4.5-r1'`,
* the complete build log and the output of `emerge -pqv '=net-dialup/ppp-2.4.5-r1'`.
* The complete build log is located at '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/temp/environment'.
* Working directory: '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5'
* S: '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5'
>>> Failed to emerge net-dialup/ppp-2.4.5-r1, Log file:
>>> '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/temp/build.log'
* Messages for package net-dialup/ppp-2.4.5-r1:
* ERROR: net-dialup/ppp-2.4.5-r1 failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3199: Called die
* The specific snippet of code:
* emake COPTS="${CFLAGS} -D_GNU_SOURCE" || die "compile failed";
*
* If you need support, post the output of `emerge --info '=net-dialup/ppp-2.4.5-r1'`,
* the complete build log and the output of `emerge -pqv '=net-dialup/ppp-2.4.5-r1'`.
* The complete build log is located at '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/temp/environment'.
* Working directory: '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5'
* S: '/var/tmp/portage/net-dialup/ppp-2.4.5-r1/work/ppp-2.4.5'
hpmini ut4nj #
Живу плохо: Сыр с плесенью, вино старое, машина без крыши, телефон без кнопок...
Registered Linux user #585833