[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compile iproute2 on debian woody



Hi,

I installed debian woody and made my own 2.4.23-kernel which
source is at /usr/src/linux

I want to compile iproute2 myself, because the
apt-get iproute gets a iproute2 wchich is only compatible with the
2.4.18-x kernels

When I do a make I get this:

router:/usr/local/src/iproute2# make
make[1]: Entering directory `/usr/local/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../includ
e-glibc -include
../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -D
RESOLVE_HOSTNAMES   -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/include/linux/inetdevice.h: In function
`inet_make_mask':
/usr/src/linux/include/linux/inetdevice.h:167: warning: implicit
declaration of function `htonl'
/usr/src/linux/include/linux/inetdevice.h: In function
`inet_mask_len':
/usr/src/linux/include/linux/inetdevice.h:173: warning: implicit
declaration of function `ntohl'
make[1]: *** [utils.o] Fehler 1
make[1]: Leaving directory `/usr/local/src/iproute2/lib'
make: *** [all] Fehler 2
router:/usr/local/src/iproute2#

Whats wrong?

Freundliche Grüsse

Alexander Bruns



Reply to: