Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53159 - iproute2-2.4.7.20020116 doesn't compile arpd.c (db parameters)
Summary: iproute2-2.4.7.20020116 doesn't compile arpd.c (db parameters)
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 All
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 14:09 UTC by Blu3
Modified: 2004-08-11 14:37 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 Blu3 2004-06-06 14:09:57 UTC
arpd.c: In function `do_one_request':
arpd.c:342: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:342: error: too few arguments to function
arpd.c:366: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:366: error: too few arguments to function
arpd.c:392: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:392: error: too few arguments to function
arpd.c:410: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:410: error: too few arguments to function
arpd.c:422: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:422: error: too few arguments to function
arpd.c: In function `get_arp_pkt':
arpd.c:520: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:520: error: too few arguments to function
arpd.c:530: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:530: error: too few arguments to function
arpd.c: In function `main':
arpd.c:670: warning: implicit declaration of function `dbopen'
arpd.c:670: warning: assignment makes pointer from integer without a cast
arpd.c:716: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:716: error: too few arguments to function
arpd.c:729: error: structure has no member named `seq'
arpd.c:729: error: `R_NEXT' undeclared (first use in this function)
arpd.c:729: error: (Each undeclared identifier is reported only once
arpd.c:729: error: for each function it appears in.)
arpd.c:840: error: too few arguments to function
arpd.c:844: error: too few arguments to function
make[1]: *** [arpd.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.4.7.20020116/work/iproute2/misc'
make: *** [all] Error 2

Scott root # emerge info
Portage 2.0.50-r7 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,2.3.3_pre20040420-r0,2.3.3_pre20040529-r0,2.3.4.20040605-r0, 2.6.7-rc2)
=================================================================
System uname: 2.6.7-rc2 x86_64 5
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="no"
CFLAGS="-mcpu=opteron -march=opteron -mmmx -msse -msse2 -m3dnow -m64 -O3 -pipe -fexpensive-optimizations -ffast-math -mfpmath=sse,387 -fomit-frame-pointer"
CHOST="x86_64-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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=opteron -march=opteron -mmmx -msse -msse2 -m3dnow -m64 -O3 -pipe -fexpensive-optimizations -ffast-math -mfpmath=sse,387 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache keepwork sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="GAPING_SECURITY_HOLE S3TC X X509 aac acpi acpi4linux aim alsa amd64 apache2 arts artswrappersuid audiofile avantgo avi bluetooth caps cddb cdf cdr chroot cle266 crypt cups devfs26 dga distcache divx4linux dnd dv dvb dvd dvdr encode esd ethereal faad fam fax ffmpeg fftw flash flexresp fmod foomaticdb freetype fs gd gdbm geoip gif gimp gimpprint glade glut gmp gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml icq idea ieee1394 imagemagick imap imlib imlib2 ipv6 irda irmc jabber jack jack-caps jack-tmpfs java javascript jbig jpeg kadu-modules kadu-voice kde lcms libg++ libgda libwww lirc live ltsp mbox mcal md5sum mdb memlimit mikmod mmap mng mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mpeg mpeg4 mpi mplayer msn multilib multitarget ncurses nls nogcj nptl ntlm nvidia nviz oav odbc offensive oggvorbis openal opengl oscar oss pam parse-clocks pcap pdflib perl php pic plotutils png pnp portaudio postgres ppds pthreads python quicktime readline remote samba scanner sdl slang slp sndfile snmp socks5 sox speedo speex spell ssl t1lib tcpd theora tiff timidity transcode transparent-proxy truetype type1 usb v4l v4l2 wifi wmf xgetdefault xine xinerama xml2 xmms xosd xprint xrandr xv xvid yahoo yaz zlib zvbi"

*  sys-libs/db
      Latest version available: 4.1.25_p1-r3
      Latest version installed: 4.1.25_p1-r3
      Size of downloaded files: 3,008 kB
      Homepage:    http://www.sleepycat.com
      Description: Berkeley DB
      License:     DB

*  sys-libs/gdbm
      Latest version available: 1.8.0-r5
      Latest version installed: 1.8.0-r5
      Size of downloaded files: 130 kB
      Homepage:    http://www.gnu.org/software/gdbm/gdbm.html
      Description: Standard GNU database libraries included for compatibility with Perl
      License:     GPL-2


        key.iface = ndm->ndm_ifindex;
        memcpy(&key.addr, RTA_DATA(tb[NDA_DST]), 4);
        dbkey.data = &key;
        dbkey.size = sizeof(key);

>>>     if (dbase->get(dbase, &dbkey, &dbdat, 0) != 0) {
                dbdat.data = 0;
                dbdat.size = 0;
        }

        if (n->nlmsg_type == RTM_GETNEIGH) {
Comment 1 SpanKY gentoo-dev 2004-06-21 21:10:17 UTC
please try iproute2-2.6.7.20040608
Comment 2 Rob Holland 2004-07-07 08:16:56 UTC
we saw this bug too, 2.6.7 compiled fine.
Comment 3 SpanKY gentoo-dev 2004-07-23 22:55:55 UTC
coolio