Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
ipvsadm: missing header and lib (needed by feedbackd ...etc) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.10 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -funroll-loops -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tk truetype x86 xml xml2 xmms xv zlib"
Created an attachment (id=31532) [edit] added header and lib (1.21 and 1.24) added header and lib (1.21 and 1.24)
I checked in your fixes. Thanks for your submission.
Your changes to -1.24 work great. When i try to reemerge -1.21-r1 i get the following errors... Is this inteded? Can you confirm? mobile ipvsadm # emerge ipvsadm-1.21-r1.ebuild Calculating dependencies ...done! >>> emerge (1 of 1) sys-cluster/ipvsadm-1.21-r1 to / >>> md5 src_uri ;-) ipvsadm-1.21.tar.gz >>> Unpacking source... >>> Unpacking ipvsadm-1.21.tar.gz to /var/tmp/portage/ipvsadm-1.21-r1/work >>> Source unpacked. gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include -I.. -I. -DVERSION=\"1.21\" -DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq"\" -DHAVE_POPT -DHAVE_NET_IP_VS_H -o ipvsadm.o -c ipvsadm.c distcc[19883] ERROR: compile on localhost failed In file included from ipvsadm.c:120: libipvs/libipvs.h:45: warning: `struct ip_vs_rule_user' declared inside parameter list libipvs/libipvs.h:45: warning: its scope is only this definition or declaration, which is probably not what you want ipvsadm.c:274: warning: `struct ip_vs_rule_user' declared inside parameter list ipvsadm.c:318: warning: `struct ip_vs_rule_user' declared inside parameter list ipvsadm.c: In function `parse_options': ipvsadm.c:401: error: `IP_VS_SO_SET_TIMEOUTS' undeclared (first use in this function) ipvsadm.c:401: error: (Each undeclared identifier is reported only once ipvsadm.c:401: error: for each function it appears in.) ipvsadm.c:412: error: dereferencing pointer to incomplete type ipvsadm.c:414: error: dereferencing pointer to incomplete type ipvsadm.c:435: error: dereferencing pointer to incomplete type ipvsadm.c:437: error: dereferencing pointer to incomplete type ipvsadm.c:438: error: dereferencing pointer to incomplete type ipvsadm.c:439: error: dereferencing pointer to incomplete type ipvsadm.c:450: error: dereferencing pointer to incomplete type ipvsadm.c:451: error: dereferencing pointer to incomplete type ipvsadm.c:455: error: dereferencing pointer to incomplete type ipvsadm.c:455: error: dereferencing pointer to incomplete type ipvsadm.c:455: error: dereferencing pointer to incomplete type ipvsadm.c:459: error: dereferencing pointer to incomplete type ipvsadm.c:460: error: dereferencing pointer to incomplete type ipvsadm.c:464: error: dereferencing pointer to incomplete type ipvsadm.c:472: error: dereferencing pointer to incomplete type ipvsadm.c:473: error: dereferencing pointer to incomplete type ipvsadm.c:474: error: dereferencing pointer to incomplete type ipvsadm.c:480: error: dereferencing pointer to incomplete type ipvsadm.c:480: error: dereferencing pointer to incomplete type ipvsadm.c:484: error: dereferencing pointer to incomplete type ipvsadm.c:488: error: dereferencing pointer to incomplete type ipvsadm.c:492: error: dereferencing pointer to incomplete type ipvsadm.c:496: error: dereferencing pointer to incomplete type ipvsadm.c:509: error: dereferencing pointer to incomplete type ipvsadm.c:509: error: dereferencing pointer to incomplete type ipvsadm.c:509: error: dereferencing pointer to incomplete type ipvsadm.c:549: error: dereferencing pointer to incomplete type ipvsadm.c:551: error: dereferencing pointer to incomplete type ipvsadm.c:553: error: dereferencing pointer to incomplete type ipvsadm.c: In function `process_options': ipvsadm.c:836: error: storage size of `urule' isn't known ipvsadm.c:842: error: invalid application of `sizeof' to an incomplete type ipvsadm.c:842: error: invalid application of `sizeof' to an incomplete type ipvsadm.c:842: error: invalid application of `sizeof' to an incomplete type ipvsadm.c:842: error: invalid application of `sizeof' to an incomplete type ipvsadm.c:842: error: invalid application of `sizeof' to an incomplete type ipvsadm.c:842: error: invalid application of `sizeof' to an incomplete type ipvsadm.c:836: warning: unused variable `urule' ipvsadm.c: In function `print_service': ipvsadm.c:1487: error: structure has no member named `stats' ipvsadm.c:1488: error: structure has no member named `stats' ipvsadm.c:1489: error: structure has no member named `stats' ipvsadm.c:1490: error: structure has no member named `stats' ipvsadm.c:1491: error: structure has no member named `stats' ipvsadm.c:1494: error: structure has no member named `stats' ipvsadm.c:1495: error: structure has no member named `stats' ipvsadm.c:1496: error: structure has no member named `stats' ipvsadm.c:1497: error: structure has no member named `stats' ipvsadm.c:1498: error: structure has no member named `stats' ipvsadm.c:1516: warning: initialization from incompatible pointer type ipvsadm.c:1527: error: structure has no member named `flags' ipvsadm.c:1530: error: structure has no member named `stats' ipvsadm.c:1531: error: structure has no member named `stats' ipvsadm.c:1532: error: structure has no member named `stats' ipvsadm.c:1533: error: structure has no member named `stats' ipvsadm.c:1534: error: structure has no member named `stats' ipvsadm.c:1538: error: structure has no member named `stats' ipvsadm.c:1539: error: structure has no member named `stats' ipvsadm.c:1540: error: structure has no member named `stats' ipvsadm.c:1541: error: structure has no member named `stats' ipvsadm.c:1542: error: structure has no member named `stats' ipvsadm.c:1546: error: structure has no member named `flags' ipvsadm.c:1547: error: structure has no member named `activeconns' ipvsadm.c:1547: error: structure has no member named `inactconns' ipvsadm.c: At top level: ipvsadm.c:1554: warning: `struct ip_vs_rule_user' declared inside parameter list ipvsadm.c:1555: error: conflicting types for `list_service' ipvsadm.c:274: error: previous declaration of `list_service' ipvsadm.c: In function `list_service': ipvsadm.c:1558: error: dereferencing pointer to incomplete type ipvsadm.c:1558: error: dereferencing pointer to incomplete type ipvsadm.c:1559: error: dereferencing pointer to incomplete type ipvsadm.c:1559: error: dereferencing pointer to incomplete type ipvsadm.c: In function `list_all': ipvsadm.c:1590: warning: passing arg 1 of `print_service' from incompatible pointer type make: *** [ipvsadm.o] Error 1 !!! ERROR: sys-cluster/ipvsadm-1.21-r1 failed. !!! Function src_compile, Line 20, Exitcode 2 !!! (no error message)
1.21 is for kernel 2.4.x 1.24 is for kernel 2.6.x as you can see at this url http://www.linuxvirtualserver.org/