Skip to contentSkip to conversation

iproute2 tool compiling problems.

LARTC Nathan Levy 4 participants 4 messages Sep 23, 2004 – Sep 24, 2004

lore
Share & tools
lore
#0 lore raw

Hi all.

This is my first msg in this list, and I´d
appreciate any help you could give me.
I already compiled the kernel with the options to
run iproute2 tools. But, when I download the iproute2-2.4.7-now-ss010824.tar.gz file from ftp://ftp.inr.ac.ru/ip-routing/ and try to compile it, I got too many errors. Here goes the output:

server:/home/nathan/iproute2# make
make[1]: Entering directory
`/home/nathan/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-Werror -g -I../include-glibc -i
nclude ../include-glibc/glibc-bugs.h
-I/usr/src/linux/include -I../include -DRES
OLVE_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:173:
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:179:
warning: implicit declaration of
function `ntohl'
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/home/nathan/iproute2/lib'
make: *** [all] Error 2

Do you know what that means? I tried to change the
kernel_include path in the Makefile without success.

Thanks,

Nathan Levy.

_______________________________________________________
Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita diversão. Instale agora!
http://br.download.yahoo.com/messenger/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Did you try this one: http://developer.osdl.org/dev/iproute2/, on the download section? This is the last one.

[]'s

x-arnie

Quoted 46 lines · Nathan Levy

Hi all.

This is my first msg in this list, and I´d
appreciate any help you could give me.
I already compiled the kernel with the options to
run iproute2 tools. But, when I download the iproute2-2.4.7-now-ss010824.tar.gz file from ftp://ftp.inr.ac.ru/ip-routing/ and try to compile it, I got too many errors. Here goes the output:

server:/home/nathan/iproute2# make
make[1]: Entering directory
`/home/nathan/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-Werror -g -I../include-glibc -i
nclude ../include-glibc/glibc-bugs.h
-I/usr/src/linux/include -I../include -DRES
OLVE_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:173:
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:179:
warning: implicit declaration of
function `ntohl'
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/home/nathan/iproute2/lib'
make: *** [all] Error 2

Do you know what that means? I tried to change the
kernel_include path in the Makefile without success.

Thanks,

Nathan Levy.

Quoted 8 lines

_______________________________________________________
Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita diversão. Instale agora!
http://br.download.yahoo.com/messenger/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Nathan Levy

hi,

when i put the iproute2 i only did the next:

apt-get install iproute

because in debian the name of the package is without the 2, and i didn´t have any problem to install it (other things...).

only a question: are u trying to run cbq.init?

Sergio

----- Mensaje Original -----
De: Nathan Levy <[email protected]>
Fecha: Jueves, Septiembre 23, 2004 2:32 pm
Asunto: [LARTC] iproute2 tool compiling problems.

Quoted 47 lines

Hi all.

This is my first msg in this list, and I´d
appreciate any help you could give me.
I already compiled the kernel with the options to
run iproute2 tools. But, when I download the iproute2-2.4.7-now-ss010824.tar.gz file from ftp://ftp.inr.ac.ru/ip-routing/ and try to compile it, I got too many errors. Here goes the output:

server:/home/nathan/iproute2# make
make[1]: Entering directory
`/home/nathan/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-Werror -g -I../include-glibc -i
nclude ../include-glibc/glibc-bugs.h
-I/usr/src/linux/include -I../include -DRES
OLVE_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:173:
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:179:
warning: implicit declaration of
function `ntohl'
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/home/nathan/iproute2/lib'
make: *** [all] Error 2

Do you know what that means? I tried to change the
kernel_include path in the Makefile without success.

Thanks,

Nathan Levy.

Quoted 7 lines

_______________________________________________________
Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita diversão. Instale agora!
http://br.download.yahoo.com/messenger/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:

http://lartc.org/

Quoted 1 line

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Nathan Levy
Quoted 17 lines · Sergio Hormaetxe Gallego

hi,

when i put the iproute2 i only did the next:

apt-get install iproute

because in debian the name of the package is without the 2, and i didn´t have any problem to install it (other things...).

only a question: are u trying to run cbq.init?

Sergio

Quoted 15 lines

----- Mensaje Original -----
De: Nathan Levy <[email protected]>
Fecha: Jueves, Septiembre 23, 2004 2:32 pm
Asunto: [LARTC] iproute2 tool compiling problems.

Quoted 10 lines

Hi all.

This is my first msg in this list, and I´d
appreciate any help you could give me.
I already compiled the kernel with the options to
run iproute2 tools. But, when I download the iproute2-2.4.7-now-ss010824.tar.gz file from ftp://ftp.inr.ac.ru/ip-routing/ and try to compile it, I got too many errors. Here goes the output:

The latest version of iproute2 is at
http://developer.osdl.org/dev/iproute2

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/