Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iproute fails to emerge: linux-headers error?
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
theomega
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2006
Posts: 88
Location: Germany

PostPosted: Wed Jan 31, 2007 10:04 pm    Post subject: iproute fails to emerge: linux-headers error? Reply with quote

Hy,
If I emerge iproute2 (version iproute2-2.6.19.20061214) I get this compile error:
Code:


>>> Emerging (1 of 2) sys-apps/iproute2-2.6.19.20061214 to /
 * iproute2-2.6.19-061214.tar.gz MD5 ;-) ...                                                                                                                                                        [ ok ]
 * iproute2-2.6.19-061214.tar.gz RMD160 ;-) ...                                                                                                                                                     [ ok ]
 * iproute2-2.6.19-061214.tar.gz SHA1 ;-) ...                                                                                                                                                       [ ok ]
 * iproute2-2.6.19-061214.tar.gz SHA256 ;-) ...                                                                                                                                                     [ ok ]
 * iproute2-2.6.19-061214.tar.gz size ;-) ...                                                                                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                              [ ok ]
 * checking iproute2-2.6.19-061214.tar.gz ;-) ...                                                                                                                                                   [ ok ]
 * QA Notice: USE Flag 'kernel_linux' not in IUSE for sys-apps/iproute2-2.6.19.20061214
 *
 * iproute2 requires kernel support for Netlink (CONFIG_NETLINK).
 * This is only applies for kernels prior to 2.4.17
 *
>>> Unpacking source...
>>> Unpacking iproute2-2.6.19-061214.tar.gz to /var/tmp/portage/sys-apps/iproute2-2.6.19.20061214/work
 * Applying iproute2-2.6.16.20060323-build.patch ...                                                                                                                                                [ ok ]
 * Applying iproute2-2.6.16.20060323-routef-safe.patch ...                                                                                                                                          [ ok ]
 * Applying iproute2-2.6.19.20061214-build.patch ...                                                                                                                                                [ ok ]
 * Applying iproute2-051007-esfq-2.6.13.patch ...                                                                                                                                                   [ ok ]
 * Applying iproute2-2.6.11.20050330-wrr.patch ...                                                                                                                                                  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/iproute2-2.6.19.20061214/work/iproute2-2.6.19-061214 ...
make[1]: Entering directory `/var/tmp/portage/sys-apps/iproute2-2.6.19.20061214/work/iproute2-2.6.19-061214/lib'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_map.o ll_map.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o libnetlink.o libnetlink.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o utils.o utils.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o rt_names.o rt_names.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_types.o ll_types.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_proto.o ll_proto.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_addr.o ll_addr.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o inet_proto.o inet_proto.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o dnet_ntop.o dnet_ntop.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o dnet_pton.o dnet_pton.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipx_ntop.o ipx_ntop.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipx_pton.o ipx_pton.c
i686-pc-linux-gnu-ar rcs libnetlink.a ll_map.o libnetlink.o
i686-pc-linux-gnu-ar rcs libutil.a utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o  dnet_ntop.o dnet_pton.o ipx_ntop.o ipx_pton.o
make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.19.20061214/work/iproute2-2.6.19-061214/lib'
make[1]: Entering directory `/var/tmp/portage/sys-apps/iproute2-2.6.19.20061214/work/iproute2-2.6.19-061214/ip'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ip.o ip.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipaddress.o ipaddress.c
ipaddress.c: In function `print_link_flags':
ipaddress.c:99: error: `IFF_DYNAMIC' undeclared (first use in this function)
ipaddress.c:99: error: (Each undeclared identifier is reported only once
ipaddress.c:99: error: for each function it appears in.)
make[1]: *** [ipaddress.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.19.20061214/work/iproute2-2.6.19-061214/ip'
make: *** [all] Error 2

!!! ERROR: sys-apps/iproute2-2.6.19.20061214 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 3035:   Called src_compile
  iproute2-2.6.19.20061214.ebuild, line 69:   Called die

!!! make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sys-apps:iproute2-2.6.19.20061214:20070131-215659.log'.


My System is a gentoo hardened unstable:
emerge --info
Code:

Portage 2.1.2-r5 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 31 Jan 2007 12:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3 -momit-leaf-frame-pointer -fomit-frame-pointer -fforce-addr -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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.de.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb blowfish bzip2 caps crypt curl dlloader erandom expat fam gd gdbm glibc-omitfp gmp gzip hardened hash iconv idn imap ithreads java5 jpeg libwww linuxthreads-tls logrotate maildir memlimit mhash midi mime mmap mysql ncurses nls no-old-linux nocd nomac nptl nptlonly pam pcre perl pic png posix pwdb python readline sharedmem sockets ssl symlink sysfs sysvipc tcpd threads tk ucs2 udev unicode urandom userlocales utf8 vhosts x86 xml xml2 xorg xsl zlib" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS


My Kernel-Version:
Code:

[ebuild   R   ] sys-apps/portage-2.1.2-r5  USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 0 kB
[ebuild   R   ] sys-kernel/gentoo-sources-2.6.19-r5  USE="symlink -build" 0 kB
[ebuild   R   ] sys-kernel/linux-headers-2.6.19.2-r2  0 kB


My Kernel is compiled with full netfilter support.

Can somebody explain this error? It seems to be a fault in the linux hearders but they are on the most recent version.

Who can help?

Thanks
TO
_________________
A64 3700+ SanDiego@Ninja Passive, Asus A8V Deluxe, 2x1024MB MDT-Ram, Saphire Radeon 9800 pro@VF700CU, Samsung 200GB IDE, LianLi PC7SE (2x120mm fans)
Back to top
View user's profile Send private message
buanzo
n00b
n00b


Joined: 21 Apr 2006
Posts: 40
Location: Buenos Aires, Argentina

PostPosted: Wed Jun 20, 2007 7:50 pm    Post subject: Reply with quote

Did you ever solve this?
_________________
Arturo 'Buanzo' Busleiman - http://www.buanzo.com.ar/pro/eng.html
Enigform - Securely Login to websites using OpenPGP+Firefox
http://wiki.buanzo.org
Back to top
View user's profile Send private message
theomega
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2006
Posts: 88
Location: Germany

PostPosted: Thu Jun 21, 2007 8:45 am    Post subject: Reply with quote

search on bugs.gentoo.org, there is a patch for it.
_________________
A64 3700+ SanDiego@Ninja Passive, Asus A8V Deluxe, 2x1024MB MDT-Ram, Saphire Radeon 9800 pro@VF700CU, Samsung 200GB IDE, LianLi PC7SE (2x120mm fans)
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