First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 71576
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Webert <rockoo@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 71576 depends on: Show dependency tree
Show dependency graph
Bug 71576 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-17 11:38 0000
sys-cluster/ipvsadm-1.21 doesnt compile

<snip>
>>> 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
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: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: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 incomplete type `ip_vs_rule_user' 
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' was here
ipvsadm.c:1555: error: conflicting types for 'list_service'
ipvsadm.c:274: error: previous declaration of 'list_service' was here
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
ipvsadm.c: At top level:
ipvsadm.c:274: warning: 'list_service' declared `static' but never defined
ipvsadm.c:1555: warning: 'list_service' defined but not used
make: *** [ipvsadm.o] Error 1

!!! ERROR: sys-cluster/ipvsadm-1.21-r1 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
</snip>

<snip>
porkoo linux-2.6.8.1-uml1-r3 # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-cko3 i686)
=================================================================
System uname: 2.6.9-cko3 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.6.6
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks loadpolicy sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="GAPING_SECURITY_HOLE X X509 Xaw3d aac aalib acl adns aim alsa amd apache2 apm arts artswrappersuid async audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bmp bonobo bzlib calendar cddb cdparanoia cdr cdrom chroot clamav clanJavaScript clanVoice client codecs cpdflib crypt css ctype cups curl curlwrappers dba dedicated devmap dillo dio disablekernelsupport distcache distribution divx4linux dnd dts dv dvd dvdr dvdread edl encode erandom escreen esd estraier ethereal etwin evms2 exif f77 faac faad fam fbcon ffmpeg flac flash flatfile flood fmod font-server foomaticdb fortran fpx freetype fs ftp ftruncate fusion gb gd gdbm geoip ggi gif gimp gkrellm glut gphoto2 gpm gps gs gtk gtk2 gtkhtml hbci hub iconv icq ieee1394 imagemagick imap imlib imlib2 immqt immqt-bc inifile innodb intl ipv6 ipv6arpa ithreads jabber java javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice lcd lcms ldap libcaca libg++ libsamplerate libwww live lm_sensors ltsp lua lufsusermount lzo lzw lzw-tiff mad maildir maildrop mailwrapper matroska mbox mcal md5sum memlimit mhash mikmod mime ming mixer mmx mmx2 mng motif moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msn multipleip mysql nas ncurses net network neural nis nls nntp nowin nptl nptlonly ntlm nvidia nviz oav offensive ofx oggvorbis openal opengl oscar oss pam passfile pcap pcre pdflib perl php physfs pic pie png postgres prelude procmail python qt quicktime quotes readline real rplay rtc sdl server session sftplogging silc silverxp skey slang smartcard smime sndfile snmp soap sockets socks5 softmmu speex spell sse sse2 ssl stats streamzap stroke subject-rewrite svg svga szip tcltk tcpd tga theora threads thumbnail tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1-fonts uml unicode uptimed usb userlocales uudeview v4l v4l2 vda vhosts vim-with-x virus-scan wmf wsconvert x86 xanim xchatdccserver xchattext xface xfs xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xsl xv xvid xvmc yahoo yv12 zlib linguas_en linguas_de linguas_es"
</snip>

------- Comment #1 From Christian Zoffoli 2005-01-21 10:27:39 0000 -------
added some additional checks in cvs
please use ipvsadm-1.24 for 2.6 kernels

------- Comment #2 From Christian Zoffoli 2005-01-21 10:28:15 0000 -------
bug closed

First Last Prev Next    No search results available      Search page      Enter new bug