The error when emerging linux-atm: Making all in arpd make[3]: Entering directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src/arpd' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -Os -march=i686 -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmarp.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -Os -march=i686 -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmarpd.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -Os -march=i686 -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c arp.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -Os -march=i686 -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c io.c In file included from arp.c:19: /usr/include/linux/if_arp.h:133: error: expected specifier-qualifier-list before ‘__be16’ io.c: In function ‘accept_new’: io.c:282: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness io.c:297: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness io.c: In function ‘get_local’: io.c:619: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness make[3]: *** [arp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src/arpd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r1/work/linux-atm-2.4.1' make: *** [all-recursive-am] Error 2 And that's the error when compiling ppp: i686-pc-linux-gnu-gcc -Os -march=i686 -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o if.o -fPIC if.c if.c: In function ‘openInterface’: if.c:423: error: storage size of ‘ifr’ isn’t known make[2]: *** [if.o] Error 1 Strangely, this error doesn't stop the compilation, that goes "well", but suddently an error occours at the beginning of the installation because rp-pppoe.so doesn't exist! Both linux-atm and ppp used to compile fine with older kernels and headers... My emerge --info: Portage 2.1.2_rc4-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 i686) ================================================================= System uname: 2.6.18-gentoo-r1 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.12.8 Last Sync: Tue, 02 Jan 2007 16:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at" LANG="it_IT.UTF8" LDFLAGS="-Wl,-O1,--sort-common,--no-keep-memory -s" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acpi apache2 bash-completion berkdb bzip2 clamav clamd cli courier cracklib crypt cups dio fam foomaticdb ftp gd gdbm gif gimpprint gpm gs iconv jpeg ldap mmx mmxext mysql ncurses nls nptl nptlonly pam pcre pdf php png ppds readline reflection reiserfs rtc samba session spl ssl tcpd truetype udev unicode usb userlocales utf8 vhosts x86 xml zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS Thanks in advance, Emanuele Tamponi
The error on installing ppp: >>> Source compiled. >>> Test phase [not enabled]: net-dialup/ppp-2.4.4-r4 >>> Install ppp-2.4.4-r4 into /var/tmp/portage/net-dialup/ppp-2.4.4-r4/image/ category net-dialup !!! dosbin: pppd/plugins/rp-pppoe/pppoe-discovery does not exist install: cannot stats `pppd/plugins/rp-pppoe/rp-pppoe.so': No such file or directory
One ebuild == one bug. File a separate bug for the ppp issue.
Not really net-dialup turf. Reassigning to toolchain team.
not a bug in linux-headers, linux-atm is stupid and defines _LINUX_NETDEVICE_H
fixed in cvs