From: Jean-Rene Cormier <jean-rene.cormier@cipanb.ca>
To: lartc@vger.kernel.org
Subject: [LARTC] Error compiling iproute
Date: Wed, 01 Oct 2003 17:46:19 +0000 [thread overview]
Message-ID: <marc-lartc-106503052605943@msgid-missing> (raw)
I'm trying to compile iproute2-2.4.7-now-ss020116-try.tar.gz with the
htb3.6-020525 tc patch against a Linux 2.4.22 kernel. At first I would
get an error message in the first lines and I found a workaround by
removing the -I../include-glibc from the GLIBCFIX and the -O2 from the
CCOPTS. But now I'm getting errors when it tries to compile arpd.c
gcc -D_GNU_SOURCE -Wstrict-prototypes -Wall -g -I/usr/include/db3
-include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include
-I../include -DRESOLVE_HOSTNAMES -c -o arpd.o arpd.c
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]: Leaving directory `/usr/src/iproute2/misc'
make: *** [all] Error 2
Anybody know what I can do for this?
I'm using GCC-3.3.1 and Glibc-2.3.2
Jean-Rene Cormier
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2003-10-01 17:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-106503052605943@msgid-missing \
--to=jean-rene.cormier@cipanb.ca \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox