Код:
In file included from /usr/include/linux/netdevice.h:28,
from /usr/include/linux/if_arp.h:26,
from io.c:24:
/usr/include/linux/if.h:118: error: redefinition of ‘struct ifmap’
/usr/include/linux/if.h:154: error: redefinition of ‘struct ifreq’
/usr/include/linux/if.h:204: error: redefinition of ‘struct ifconf’
io.c: In function ‘accept_new’:
io.c:281: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness
io.c:296: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness
io.c: In function ‘get_local’:
io.c:618: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
make[3]: *** [io.o] Ошибка 1
make[3]: Leaving directory `/Foto/temp/portage/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src/arpd'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/Foto/temp/portage/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/Foto/temp/portage/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1'
make: *** [all-recursive-am] Ошибка 2
!!! ERROR: net-dialup/linux-atm-2.4.1-r1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 608: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.Код:
emerge --info linux-atm
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gent
oo-r6 i686)
=================================================================
System Settings
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Intel® Pentium® 4 CPU 2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 18 Jan 2007 15:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/Data/ebuilds/"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.intergenia.de/ ftp://ftp.dtiltas.lt/mirror/gentoo
"
LANG="ru_RU.UTF-8"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Foto/temp/portage"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X aac ace acpi adsl akode alsa alsa_cards_hda-intel alsa_pcm_plugi
ns_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_
pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugin
s_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks al sa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_p lugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mu law alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_ plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amr aoss aotuv arj arts atm berkdb bitmap-fonts bittorr ent bzip2 cairo cddb cdr cdrom chroot cli cpio cracklib crypt css cups dhcp divx djvu dlloader dv dvd dvdr eap-tls elibc_glibc encode exif ffmpeg flac fontconfi g fortran ftp gd gdbm geoip gif gimp glitz gpm graphviz hal iconv icq ieee1394 i magemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog ja va javascript jbig jpeg jpeg2k kde kernel_linux kipi lame lcd_devices_bayrad lcd _devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_de vices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devic es_text lcms libg++ linguas_ru lm_sensors mad matroska md5sum mime mmx mng mp3 m p4 mplayer mppe-mppc musepack ncurses nls nptl nptlonly ntfs nvidia odbc ogg ope ngl pam pcre pdf perl png pop ppds pppd python qt3 qt4 quicktime rar readline re al reflection reiserfs scanner session sms smtp snmp spell spl sqlite sse sse2 s sl svg tcpd theora thumbnail thumbnailing tiff truetype truetype-fonts type1 typ e1-fonts udev unicode usb userland_GNU utf8 vcd video_cards_nvidia vorbis win32c odecs x264 xine xml xorg xv xvid xvmc zip zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, P ORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Без него не собираются rp-pppoe и br2684ctl
Как поставить linux-atm и настроить интернет?
PS Под кубунту ставил по этому руководству (ядро патчить не пришлось) - все работает.