* [LARTC] Compile error "iproute2"
@ 2003-08-18 17:04 Steffen Moser
2003-09-02 20:41 ` Matías López Bergero
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Steffen Moser @ 2003-08-18 17:04 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Compile error "iproute2"
2003-08-18 17:04 [LARTC] Compile error "iproute2" Steffen Moser
@ 2003-09-02 20:41 ` Matías López Bergero
2003-09-02 21:41 ` Nickola Kolev
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Matías López Bergero @ 2003-09-02 20:41 UTC (permalink / raw)
To: lartc
I have a very similar problem with the same iproute2 and htb version,
but with linux 2.4.22 vanilla, not rc2.
/usr/src/linux/include/linux/in.h:140: field `gr_group' has incomplete type
/usr/src/linux/include/linux/in.h:141: confused by earlier errors,
bailing out
make[1]: *** [ll_map.o] Error 1
make[1]: Leaving directory `/opt/iproute2/lib'
make: *** [all] Error 2
Any idea about how to fix this??
Regards,
Matías.
---------- orig msg ---------------
[LARTC] Compile error "iproute2"
Steffen Moser lists@steffen-moser.de
Mon, 18 Aug 2003 19:04:45 +0200
* Previous message: [LARTC] Remarking non conformant packets as
AF13 from AF11
* Next message: [LARTC] IFUP scripts
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Compile error "iproute2"
2003-08-18 17:04 [LARTC] Compile error "iproute2" Steffen Moser
2003-09-02 20:41 ` Matías López Bergero
@ 2003-09-02 21:41 ` Nickola Kolev
2003-09-06 14:09 ` ThE PhP_KiD
2003-09-07 12:39 ` Nickola Kolev
3 siblings, 0 replies; 5+ messages in thread
From: Nickola Kolev @ 2003-09-02 21:41 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]
Hello,
For example you can try patching iproute2:
vim include-glibc/netinet/in.h
.,$s/linux\/in.h/\/usr\/include\/linux\/in.h
I'm not that "in" those things, but it seems that some distros have
/usr/include/linux linked to the kernel source tree and others dont. I had a
similar situation recently, and I resolved it this way.
Hope this helps.
On Tue, 02 Sep 2003 17:41:13 -0300
Matнas Lуpez Bergero <mlopezb@udesa.edu.ar> wrote:
: I have a very similar problem with the same iproute2 and htb version,
: but with linux 2.4.22 vanilla, not rc2.
:
: /usr/src/linux/include/linux/in.h:140: field `gr_group' has incomplete type
: /usr/src/linux/include/linux/in.h:141: confused by earlier errors,
: bailing out
: make[1]: *** [ll_map.o] Error 1
: make[1]: Leaving directory `/opt/iproute2/lib'
: make: *** [all] Error 2
[ cut ]
--
Със здраве,
Никола
_____________________________________________________________
"Engineering does not require science. Science helps a lot but
people built perfectly good brick walls long before they knew
why cement works." -Alan Cox
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [LARTC] Compile error "iproute2"
2003-08-18 17:04 [LARTC] Compile error "iproute2" Steffen Moser
2003-09-02 20:41 ` Matías López Bergero
2003-09-02 21:41 ` Nickola Kolev
@ 2003-09-06 14:09 ` ThE PhP_KiD
2003-09-07 12:39 ` Nickola Kolev
3 siblings, 0 replies; 5+ messages in thread
From: ThE PhP_KiD @ 2003-09-06 14:09 UTC (permalink / raw)
To: lartc
Hi,
I've same problem like you.
My linux box is:
- kernel 2.4.22
- RH 7.2
- iproute2-2.4.7-now-ss010824
and the same problem appear with:
- iproute2-2.4.7-now-ss020116-try.tar
Since I need esfq, I will try with kernel 2.4.18
What do you mean with this ?
-> vim include-glibc/netinet/in.h
-> .,$s/linux\/in.h/\/usr\/include\/linux\/in.h
Regards.
Mac
-> -----Mensaje original-----
-> De: lartc-admin@mailman.ds9a.nl
-> [mailto:lartc-admin@mailman.ds9a.nl]En nombre de Nickola Kolev
-> Enviado el: Martes, 02 de Septiembre de 2003 06:41 p.m.
-> Para: lartc@mailman.ds9a.nl
-> Asunto: Re: [LARTC] Compile error "iproute2"
->
->
-> Hello,
->
-> For example you can try patching iproute2:
->
-> vim include-glibc/netinet/in.h
-> .,$s/linux\/in.h/\/usr\/include\/linux\/in.h
->
-> I'm not that "in" those things, but it seems that some distros have
-> /usr/include/linux linked to the kernel source tree and others
-> dont. I had a
-> similar situation recently, and I resolved it this way.
->
-> Hope this helps.
->
-> On Tue, 02 Sep 2003 17:41:13 -0300
-> Matías López Bergero <mlopezb@udesa.edu.ar> wrote:
->
-> : I have a very similar problem with the same iproute2 and htb version,
-> : but with linux 2.4.22 vanilla, not rc2.
-> :
-> : /usr/src/linux/include/linux/in.h:140: field `gr_group' has
-> incomplete type
-> : /usr/src/linux/include/linux/in.h:141: confused by earlier errors,
-> : bailing out
-> : make[1]: *** [ll_map.o] Error 1
-> : make[1]: Leaving directory `/opt/iproute2/lib'
-> : make: *** [all] Error 2
->
-> [ cut ]
->
-> --
-> Ñúñ çäðàâå,
-> Íèêîëà
-> _____________________________________________________________
->
-> "Engineering does not require science. Science helps a lot but
-> people built perfectly good brick walls long before they knew
-> why cement works." -Alan Cox
->
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Compile error "iproute2"
2003-08-18 17:04 [LARTC] Compile error "iproute2" Steffen Moser
` (2 preceding siblings ...)
2003-09-06 14:09 ` ThE PhP_KiD
@ 2003-09-07 12:39 ` Nickola Kolev
3 siblings, 0 replies; 5+ messages in thread
From: Nickola Kolev @ 2003-09-07 12:39 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
Hello,
: What do you mean with this ?
:
: -> vim include-glibc/netinet/in.h
: -> .,$s/linux\/in.h/\/usr\/include\/linux\/in.h
With this I meant to replace linux/in.h
with /usr/inclyde/linux/in.h.
--
Със здраве,
Никола
_____________________________________________________________
"Engineering does not require science. Science helps a lot but
people built perfectly good brick walls long before they knew
why cement works." -Alan Cox
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-07 12:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-18 17:04 [LARTC] Compile error "iproute2" Steffen Moser
2003-09-02 20:41 ` Matías López Bergero
2003-09-02 21:41 ` Nickola Kolev
2003-09-06 14:09 ` ThE PhP_KiD
2003-09-07 12:39 ` Nickola Kolev
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.