Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge fails for iproute2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tretre
n00b
n00b


Joined: 10 Sep 2005
Posts: 18

PostPosted: Fri Mar 02, 2007 10:57 pm    Post subject: emerge fails for iproute2 Reply with quote

Hello I'm trying to emerge iproute2 that in turn needs linux-atm-2.4.1 that fails to emerge with this output

Code:

gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../src/include -O2 -march=i686 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c atmarpd.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../src/include -O2 -march=i686 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c arp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../src/include -O2 -march=i686 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c io.c
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] Error 1
make[3]: Leaving directory `/var/tmp/portage/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/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/portage/net-dialup/linux-atm-2.4.1-r1/work/linux-atm-2.4.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-dialup/linux-atm-2.4.1-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3288:   Called src_compile
  ebuild.sh, line 645:   Called die

what can it be? I don't see any other person having this problem. Can anyone advice me?
I attch here emerge --info let me know if any other info is needed
thanks
Code:

Virtual package in package.provided: virtual/pcmcia-2.6.13
Virtual package in package.provided: virtual/x11-6.8
See portage(5) for correct package.provided usage.
Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-vidalinux5 i686)
=================================================================
System uname: 2.6.17-vidalinux5 i686 AMD Sempron(tm) Processor 3100+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 02 Mar 2007 17:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
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.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="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/var/tmp/portage/distfiles"
FEATURES="autoconfig confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch "
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
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/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/vlos"
SYNC="rsync://10.0.0.77/gentoo-portage"
USE="X aac acpi alsa arts asf atm avahi beagle berkdb bindist bitmap-fonts bonjour cairo cdr cli cracklib crypt cups daap dbus dhcp dri dv dvd dvdr eds emboss encode esd fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimp gimpprint glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal howl iconv inotify ipod ipv6 isdnlog jpeg kde kdehiddenvisibility ldap libg++ libnotify mad midi mikmod mmx mng mono motif mp3 mpeg nautilus ncurses njb nls nptl nptlonly ogg opengl oss pam pcmcia pcre pdf perl pertty png ppds pppd python qt3 qt4 quicktime rdesktop readline real reflection samba scanner sdl session skins sox spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis wifi win32codecs wxwindows x86 xine xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="evdev joystick keyboard mouse synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 i915 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo radeon r128"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS


P.S. see the 2nd and 3rd line.... how can I get rid of them?
also I have weird char in the console as you can see... the system is uptdated I don't know what should I do?

thanks again weird
_________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Fri Mar 02, 2007 11:31 pm    Post subject: Reply with quote

try
Code:
emerge =sys-kernel/linux-headers-2.6.17-r2


Also when specifying packages in package.* by specific version use =virtual/pcmcia-2.6.13
but note this from man portage
Quote:
Virtual packages (virtual/*) should not be specified in
package.provided. Depending on the type of virtual, it
may be necessary to add an entry to the virtuals file
and/or add a package that satisfies a virtual to pack-
age.provided.


_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
tretre
n00b
n00b


Joined: 10 Sep 2005
Posts: 18

PostPosted: Sat Mar 03, 2007 12:11 am    Post subject: no change Reply with quote

I emerged them alredy (and again) but makes no diff.

about package.provided the message is obscure to me since I have no packege.provided file and I don't even have pcmcia (it's not a laptop).

thanks for looking at it, anyway hope I can find a way to install iproute I really need it.
_________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
Back to top
View user's profile Send private message
vinboy
n00b
n00b


Joined: 18 Jun 2006
Posts: 69

PostPosted: Sat Mar 03, 2007 7:07 am    Post subject: Reply with quote

try updating the linux-headers
Back to top
View user's profile Send private message
tretre
n00b
n00b


Joined: 10 Sep 2005
Posts: 18

PostPosted: Sat Mar 03, 2007 11:30 am    Post subject: "[solved]" Reply with quote

As I found http://gentoo.ru/node/5737 I had to upgrade to linux-headers-2.6.19.2-r2 to make it compile (then downgrade again)
now it compiles!
I can't upgrade the kernel to 2.6.19 because otherwise it doesn't boot anymore (at least with genkernel) but maybe I should start a new thread for this issue.
Thanks!
_________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum