From: L Rotger <lrotger@aircomp.aero>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Don't know how to compile tc
Date: Thu, 24 Jun 2004 08:00:08 +0000 [thread overview]
Message-ID: <40DA8A08.7020701@aircomp.aero> (raw)
In-Reply-To: <40D83C55.2010400@aircomp.aero>
Stef Coene wrote:
> As far as I remember me, I downloaded the source and compiled it.
> Can you post the compile errors?
Sure, here is the Makefile:
(source is iproute2-2.4.7-010824)
----------------------
KERNEL_INCLUDE=/usr/src/linux-2.4.24/include
LIBC_INCLUDE=/usr/include
DEFINES= -DRESOLVE_HOSTNAMES
#options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
LDLIBS=-lresolv
ADDLIB
#options if you compile with libc5, and without a bind>=4.9.4 libresolv
#LDLIBS#ADDLIB=inet_ntop.o inet_pton.o
#options for decnet
ADDLIB+=dnet_ntop.o dnet_pton.o
#options for ipx
ADDLIB+=ipx_ntop.o ipx_pton.o
----------------------
And the errors:
# make
make[1]: Entering directory `/usr/src/iproute2-2.4.7-20010824/lib' gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g
-I../include-glibc -include ../
include-glibc/glibc-bugs.h -I/usr/src/linux-2.4.24/include -I../include
-DRESOLVE_HOSTNAME
S -c -o ll_map.o ll_map.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g
-I../include-glibc -include ../
include-glibc/glibc-bugs.h -I/usr/src/linux-2.4.24/include -I../include
-DRESOLVE_HOSTNAME
S -c -o libnetlink.o libnetlink.c
ar rcs libnetlink.a ll_map.o libnetlink.o
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g
-I../include-glibc -include ../
include-glibc/glibc-bugs.h -I/usr/src/linux-2.4.24/include -I../include
-DRESOLVE_HOSTNAME
S -c -o utils.o utils.c
cc1: warnings being treated as errors
In file included from ../include/utils.h:6,
from utils.c:30:
/usr/src/linux-2.4.24/include/linux/inetdevice.h: In function
`inet_make_mask':
/usr/src/linux-2.4.24/include/linux/inetdevice.h:167: warning: implicit
declaration of function `htonl'
/usr/src/linux-2.4.24/include/linux/inetdevice.h: In function
`inet_mask_len':
/usr/src/linux-2.4.24/include/linux/inetdevice.h:173: warning: implicit
declaration of function `ntohl'
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2-2.4.7-20010824/lib'
make: *** [all] Error 2
-------------------------------------
Sorry I can't check any further. htonl() and ntohl() are declared in
netinet/in.h, which you include from glibc-bugs.h
regards
L Rotger
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-06-24 8:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-22 14:04 [LARTC] Don't know how to compile tc L Rotger
2004-06-23 13:30 ` Stef Coene
2004-06-23 14:12 ` L Rotger
2004-06-23 14:51 ` Alessandro O. Ungaro
2004-06-23 16:05 ` L Rotger
2004-06-23 17:19 ` Jason Boxman
2004-06-23 21:38 ` Stef Coene
2004-06-24 8:00 ` L Rotger [this message]
2004-06-24 11:36 ` L Rotger
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=40DA8A08.7020701@aircomp.aero \
--to=lrotger@aircomp.aero \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.