Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84255 - iproute2 doesn't compile (sys-libs/db bug)
Summary: iproute2 doesn't compile (sys-libs/db bug)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 17:15 UTC by James Couzens
Modified: 2006-07-23 08:39 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 James Couzens 2005-03-05 17:15:50 UTC
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o p_icmp.o p_icmp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o p_tcp.o p_tcp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o p_udp.o p_udp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -shared -fpic q_netem.c -o q_netem.so
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -o normal normal.c -lm
./normal >normal.dist
rm normal
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -o pareto pareto.c -lm
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -o paretonormal paretonormal.c -lm
./pareto >pareto.dist
rm pareto
i686-pc-linux-gnu-ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o
i686-pc-linux-gnu-gcc -Wl,-export-dynamic  tc.o tc_qdisc.o tc_class.o tc_filter.o tc_util.o m_police.o m_estimator.o m_action.o q_fifo.o q_sfq.o q_esfq.o q_red.o q_prio.o q_tbf.o q_cbq.o q_wrr.o f_rsvp.o f_u32.o f_route.o f_fw.o q_dsmark.o q_gred.o f_tcindex.o q_ingress.o q_hfsc.o q_htb.o m_gact.o m_mirred.o m_ipt.o m_pedit.o p_ip.o p_icmp.o p_tcp.o p_udp.o ../lib/libnetlink.a ../lib/libutil.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o  -lresolv -L../lib -lnetlink -lutil -L. -ltc -lm -ldl -o tc
./paretonormal >paretonormal.dist
rm paretonormal
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.10.20050124/work/iproute2-050124/tc'
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.10.20050124/work/iproute2-050124/misc'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o ss.o ss.c
bison ssfilter.y -o ssfilter.c
ssfilter.y: conflicts: 27 shift/reduce
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES  -o nstat nstat.c -lm
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES  -o ifstat ifstat.c ../lib/libnetlink.a ../lib/libutil.a -lm
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES  -o rtacct rtacct.c ../lib/libnetlink.a ../lib/libutil.a -lm
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -I/usr/include  -o arpd arpd.c ../lib/libnetlink.a ../lib/libutil.a -ldb -lpthread
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o lnstat.o lnstat.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES   -c -o lnstat_util.o lnstat_util.c
/var/tmp/portage/iproute2-2.6.10.20050124/temp/ccJZ2Ckr.o(.text+0x17d5): In function `main':
/var/tmp/portage/iproute2-2.6.10.20050124/work/iproute2-050124/misc/arpd.c:670: undefined reference to `__db185_open_4002'
collect2: ld returned 1 exit status
make[1]: *** [arpd] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.10.20050124/work/iproute2-050124/misc'
make: *** [all] Error 2

!!! ERROR: sys-apps/iproute2-2.6.10.20050124 failed.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2005-03-08 16:24:26 UTC
you neglected to provide `emerge info` like the bug report page told you to

also, what versions of sys-libs/db do you have installed ?  if you do `emerge =db-1* iproute2` does it work ?
Comment 2 James Couzens 2005-03-08 16:28:47 UTC
Whups, I'll post that information when I get home in a couple of hours
Comment 3 James Couzens 2005-03-14 05:19:23 UTC
code3 ~ # emerge iproute2
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/iproute2-2.6.11.20050310 to /
mv: cannot stat `/var/tmp/portage/iproute2-2.6.11.20050310/temp/environment': No such file or directory
>>> md5 src_uri ;-) iproute2-2.6.11-050310.tar.gz
>>> Unpacking source...
>>> Unpacking iproute2-2.6.11-050310.tar.gz to /var/tmp/portage/iproute2-2.6.11.20050310/work
 * 2 patches to apply ...
 * Applying 2.6.9.20041106-esfq.patch ...                                 [ ok ]
 * Applying 2.6.9.20041019-wrr.patch ...                                  [ ok ]
>>> Source unpacked.
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/lib'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_map.o ll_map.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o libnetlink.o libnetlink.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o utils.o utils.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o rt_names.o rt_names.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_types.o ll_types.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_proto.o ll_proto.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ll_addr.o ll_addr.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o inet_proto.o inet_proto.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o dnet_ntop.o dnet_ntop.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o dnet_pton.o dnet_pton.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipx_ntop.o ipx_ntop.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -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/iproute2-2.6.11.20050310/work/iproute2-2.6.11/lib'
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/ip'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ip.o ip.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipaddress.o ipaddress.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o iproute.o iproute.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o iprule.o iprule.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o rtm_map.o rtm_map.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o iptunnel.o iptunnel.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipneigh.o ipneigh.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o iplink.o iplink.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipmaddr.o ipmaddr.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipmonitor.o ipmonitor.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipmroute.o ipmroute.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipprefix.o ipprefix.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ipxfrm.o ipxfrm.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o xfrm_state.o xfrm_state.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o xfrm_policy.o xfrm_policy.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o rtmon.o rtmon.c
i686-pc-linux-gnu-gcc   rtmon.o ../lib/libnetlink.a ../lib/libutil.a  -lresolv -L../lib -lnetlink -lutil -o rtmon
i686-pc-linux-gnu-gcc   ip.o ipaddress.o iproute.o iprule.o rtm_map.o iptunnel.o ipneigh.o iplink.o ipmaddr.o ipmonitor.o ipmroute.o ipprefix.o ipxfrm.o xfrm_state.o xfrm_policy.o ../lib/libnetlink.a ../lib/libutil.a  -lresolv -L../lib -lnetlink -lutil -o ip
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/ip'
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/tc'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_core.o tc_core.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_red.o tc_red.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_cbq.o tc_cbq.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_estimator.o tc_estimator.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc.o tc.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_qdisc.o tc_qdisc.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_class.o tc_class.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_filter.o tc_filter.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_util.o tc_util.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_police.o m_police.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_estimator.o m_estimator.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_action.o m_action.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_fifo.o q_fifo.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_sfq.o q_sfq.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_esfq.o q_esfq.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_red.o q_red.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_prio.o q_prio.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_tbf.o q_tbf.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_cbq.o q_cbq.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_wrr.o q_wrr.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o f_rsvp.o f_rsvp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o f_u32.o f_u32.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o f_route.o f_route.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o f_fw.o f_fw.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_dsmark.o q_dsmark.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_gred.o q_gred.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o f_tcindex.o f_tcindex.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_ingress.o q_ingress.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_hfsc.o q_hfsc.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o q_htb.o q_htb.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_gact.o m_gact.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_mirred.o m_mirred.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_ipt.o m_ipt.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_pedit.o m_pedit.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o p_ip.o p_ip.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o p_icmp.o p_icmp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o p_tcp.o p_tcp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o p_udp.o p_udp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -shared -fpic q_netem.c -o q_netem.so
i686-pc-linux-gnu-ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o
i686-pc-linux-gnu-gcc -Wl,-export-dynamic  tc.o tc_qdisc.o tc_class.o tc_filter.o tc_util.o m_police.o m_estimator.o m_action.o q_fifo.o q_sfq.o q_esfq.o q_red.o q_prio.o q_tbf.o q_cbq.o q_wrr.o f_rsvp.o f_u32.o f_route.o f_fw.o q_dsmark.o q_gred.o f_tcindex.o q_ingress.o q_hfsc.o q_htb.o m_gact.o m_mirred.o m_ipt.o m_pedit.o p_ip.o p_icmp.o p_tcp.o p_udp.o ../lib/libnetlink.a ../lib/libutil.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o  -lresolv -L../lib -lnetlink -lutil -L. -ltc -lm -ldl -o tc
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/tc'
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/misc'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ss.o ss.c
bison ssfilter.y -o ssfilter.c
ssfilter.y: conflicts: 27 shift/reduce
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES  -o nstat nstat.c -lm
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES  -o ifstat ifstat.c ../lib/libnetlink.a ../lib/libutil.a -lm
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES  -o rtacct rtacct.c ../lib/libnetlink.a ../lib/libutil.a -lm
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -I/usr/include  -o arpd arpd.c ../lib/libnetlink.a ../lib/libutil.a -ldb -lpthread
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o lnstat.o lnstat.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o lnstat_util.o lnstat_util.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES   -c -o ssfilter.o ssfilter.c
/var/tmp/portage/iproute2-2.6.11.20050310/temp/ccVAhUjx.o(.text+0x17d5): In function `.L207':
: undefined reference to `__db185_open_4002'
collect2: ld returned 1 exit status
make[1]: *** [arpd] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/misc'
make: *** [all] Error 2

code3 ~ # emerge info
Portage 2.0.51.19 (hardened/x86, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 22 2005, 04:23:00)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5, 1.3.5
virtual/os-headers:  2.4.26
ACCEPT_KEYWORDS="x86 ~amd64 ~arm ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks keeptemp keepwork sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aac aalib afs audiofile berkdb bonobo cd cdparanoia cdr crypt ctype cups curl dba dbm dga dio dlloader dvd dvdr encode esd ethereal evo examples exif expat fam fastcgi fbcon ffmpeg fftw flac flash freetype ftp gd gdbm gif glut gmp gnome gnustep gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml hardened icc imagemagick imlib jabber java javascript jpeg kde kdeenablefinal kerberos krb4 lcms ldap lesstif libcaca libwww lirc lm_sensors mad maildir mailwrapper memlimit mhash mime ming mmap mmx motif mozilla mp3 mpeg mpi msn multilib mysql mysqli nas ncurses neXt netboot nis nls nocardbus nptl nvidia ogg oggvorbis opengl openssh pcre pda pdflib perl php physfs pic pie plotutils png posix ppds profile python qdbm qt quicktime readline recode samba sapdb sasl sdl session sharedmem simplexml slang slp smartcard sndfile snmp sockets spell sqlite sse ssl svg svga symlink sysvipc szip tcltk tcpd tetex theora threads tidy tiff truetype unicode usb v4l vhosts videos wifi wmf x86 xine xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Attempting with suggested: 'emerge =db-1* iproute2'

-- SNIP (db-1.85-r2 builds successfully)

>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...                                                                                                                                                                           [ ok ]
>>> sys-libs/db-1.85-r2 merged.
mv: cannot stat `/var/tmp/portage/db-1.85-r2/temp/environment': No such file or directory

>>> clean: No packages selected for removal.

>>> emerge (2 of 2) sys-apps/iproute2-2.6.11.20050310 to /
mv: cannot stat `/var/tmp/portage/iproute2-2.6.11.20050310/temp/environment': No such file or directory
>>> md5 src_uri ;-) iproute2-2.6.11-050310.tar.gz
>>> Checking iproute2-2.6.11-050310.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/lib'
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/ip'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/ip'
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/tc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/tc'
make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/misc'
i686-pc-linux-gnu-gcc   ss.o ssfilter.o  -lresolv -L../lib -lnetlink -lutil -o ss
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-xp -O2 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -I/usr/include  -o arpd arpd.c ../lib/libnetlink.a ../lib/libutil.a -ldb -lpthread
i686-pc-linux-gnu-gcc   lnstat.o lnstat_util.o  -lresolv -L../lib -lnetlink -lutil -o lnstat
/var/tmp/portage/iproute2-2.6.11.20050310/temp/cckUZvXh.o(.text+0x17d5): In function `.L207':
: undefined reference to `__db185_open_4002'
collect2: ld returned 1 exit status
make[1]: *** [arpd] Error 1
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050310/work/iproute2-2.6.11/misc'
make: *** [all] Error 2
Comment 4 James Couzens 2005-03-15 03:26:49 UTC
I was able to successfully build iproute2 on a different machine against 2.6.11 which is also Gentoo Hardened, up to date, however it is a Pentium 4 as opposed to an Athlon which is the system which the above posted compilation errors are from.

Any thoughts?

Here is the emerge info from the P4 machine:

Notable differences exist (other than the fact that its a p4 are):
- CFLAGS
- automake 
- binutils
- libtool
- virtual/os-headers


cccp src # emerge info
Portage 2.0.51.19 (hardened/x86, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 13 2005, 06:53:45)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.4.3-r4, 1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -ftracer -pipe -mmmx -msse2 -msse"
CHOST="i686-pc-linux-gnu"
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="-march=pentium4 -O2 -ftracer -pipe -mmmx -msse2 -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distlocks keeptemp keepwork noauto noclean notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="berkdb bind bzip cpdflib crypt db dba dlloader gd gif gpm hardened jpeg mysql ncurses nls openssl pam perl pic pie png python readline ssl tcpd x86 xml zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

I'll try to update the P4 system to be identical to the Athlon and see if I can create the same problem, I think starting with binutils.

Any thoughts?
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2005-03-15 06:49:34 UTC
Ok, apparently your headers suggest to get db_open from a db_185.h from version 4.2. The library however is a different version. Please try to remerge db-4.2 or fix the /usr/lib/libdb.so symlink.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 08:39:23 UTC
User response needed.