iproute2 tool compiling problems.

Linux Advanced Routing and Traffic Control

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

 



   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 / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux