[LARTC] Compile error "iproute2"

Linux Advanced Routing and Traffic Control

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

 



Hi,

I am trying to compile "iproute2" (iproute2-2.4.7-now-ss020116-try.tar.gz, 
inclusively the latest HTB patch, activated diffserv components) on a 
SuSE-Linux 8.2 system (using "gcc 3.3", system based on "glibc 2.3.2"). 

It is no problem as long as I use the kernel header files of linux-2.4.20
(vanilla), linux-2.4.20.SuSE (special kernel patched by SuSE, shipped
with SuSE 8.2) or linux-2.4.21 (vanilla).

As soon as I use the header files of "linux-2.4.22-rc2" (i.e.
"/usr/src/linux" links to "/usr/src/linux-2.4.22-rc2") the compile
process breaks up very shortly after staring:

 | steffen@pc01:~/tools/iproute2> make
 | 
 | make[1]: Entering directory `/home/steffen/tools/iproute2/lib'
 | gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c
 | In file included from ../include-glibc/netinet/in.h:7,
 |                  from ll_map.c:19:
 | /usr/src/linux/include/linux/in.h:140: error: field `gr_group' has incomplete type
 | /usr/src/linux/include/linux/in.h:146: error: field `gsr_group' has incomplete type
 | /usr/src/linux/include/linux/in.h:147: error: field `gsr_source' has incomplete type
 | /usr/src/linux/include/linux/in.h:153: error: field `gf_group' has incomplete type
 | /usr/src/linux/include/linux/in.h:156: error: field `gf_slist' has incomplete type
 | ll_map.c: In function `ll_remember_index':
 | ll_map.c:77: warning: comparison between signed and unsigned
 | make[1]: *** [ll_map.o] Fehler 1
 | make[1]: Leaving directory `/home/steffen/tools/iproute2/lib'
 | make: *** [all] Fehler 2
 | 
 | steffen@pc01:~/tools/iproute2>

Of course, I know that "linux-2.4.22-rc2" is just a release candidate
but no official stable version. However, I'm going to ask this question:

Has anyone encountered the same problem? Is there any patch to solve it?

Regards,
Steffen


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