Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79390 - iproute2-2.6.9.20041019-r1 doesn't compile well in a uclibc env
Summary: iproute2-2.6.9.20041019-r1 doesn't compile well in a uclibc env
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 15:09 UTC by Christian Zoffoli (RETIRED)
Modified: 2005-01-30 10:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Zoffoli (RETIRED) gentoo-dev 2005-01-24 15:09:43 UTC
during the compilation you can see this error:

i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o ip.o ip.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o ipaddress.o ipaddress.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o iproute.o iproute.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o iprule.o iprule.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o rtm_map.o rtm_map.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o iptunnel.o iptunnel.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o ipneigh.o ipneigh.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o iplink.o iplink.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o ipmaddr.o ipmaddr.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o ipmonitor.o ipmonitor.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o ipmroute.o ipmroute.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o ipxfrm.o ipxfrm.c
ipxfrm.c: In function `xfrm_selector_print':
ipxfrm.c:395: error: `IPPROTO_SCTP' undeclared (first use in this function)
ipxfrm.c:395: error: (Each undeclared identifier is reported only once
ipxfrm.c:395: error: for each function it appears in.)
ipxfrm.c: In function `xfrm_selector_upspec_parse':
ipxfrm.c:790: error: `IPPROTO_SCTP' undeclared (first use in this function)
make[1]: *** [ipxfrm.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.9.20041019-r1/work/iproute2-2.6.9/ip'
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.9.20041019-r1/work/iproute2-2.6.9/tc'
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_core.o tc_core.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_red.o tc_red.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_cbq.o tc_cbq.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_estimator.o tc_estimator.c
ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc.o tc.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_qdisc.o tc_qdisc.c
i386-pc-linux-uclibc-gcc -D_GNU_SOURCE -Os -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
ip utils aren't compiled/installed.

FYI iproute2-2.6.10.20050112 compiles fine

I hate stupid Makefiles, it have to stop the compilation instead install a
semi-compiled package.


Portage 2.0.51-r3 (uclibc/x86/hardened, gcc-3.3.5, uclibc-0.9.26-r7,
2.6.10-hardened-r1 i686)
=================================================================
System uname: 2.6.10-hardened-r1 i686 VIA Ezra
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe"
CHOST="i386-pc-linux-uclibc"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks nodoc noinfo
noman sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/x86/embedded"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="apache2 apm berkdb crypt dhcp gdbm hardened hostap-noplx justify libwww
make-busybox-symlinks multicall ncurses oggvorbis pcmcia pic pie png pnp
postgres readline slang snmp ssl tcpd uclibc x86 zlib"
Comment 1 SpanKY gentoo-dev 2005-01-28 22:25:02 UTC
works fine for me but i have linux-2.6 headers
Comment 2 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-29 07:19:32 UTC
mmm ...do you have the ip command in the package?

Comment 3 SpanKY gentoo-dev 2005-01-29 20:41:27 UTC
root@uclibc-nemo 0 / # grep ' /sbin/' /var/db/pkg/sys-apps/iproute2-2.6.10.20050112-r1/CONTENTS 
obj /sbin/ip db83f4356c76e8a15c886b6dbde52adc 1106979830
obj /sbin/rtmon c48aa0e2c65fca8d998ebac03071e8a9 1106979830
obj /sbin/ifcfg 3b638c8529c71d5c901e1f1e1dac7d74 1106979830
obj /sbin/tc dc7d696f8c33cd9bc88abca979a34e6d 1106979830
obj /sbin/ss c3802ffa97b9c496216493712caafce8 1106979830
obj /sbin/nstat 1cb7ad561c84a29d163cb6937d7ee939 1106979830
obj /sbin/ifstat 137d26f75bac6a55cbc2fc8506143e0f 1106979830
obj /sbin/rtacct 0e06e32231a5fb4545ad957d326d2590 1106979830
obj /sbin/arpd 0516d3428ea4381f782e00818fa299c6 1106979830
obj /sbin/lnstat 280339b8a6fcbbec3d31e1034ef1f497 1106979830
sym /sbin/rtstat -> /sbin/lnstat 1106979830
sym /sbin/ctstat -> /sbin/lnstat 1106979830
Comment 4 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-30 08:07:27 UTC
argh 

...as you can see in the bug report I said that iproute2-2.6.10.20050112 compiles fine ...only iproute2-2.6.9.20041019-r1 has problems ;)

 
Comment 5 SpanKY gentoo-dev 2005-01-30 10:51:23 UTC
i tend to skim bugs and thus missed that fact ;)

pushed iproute2-2.6.10.20050112-r1 to stable for some arches