iputils HEAD + 2.4

Paweł Sikora pluto w ds14.agh.edu.pl
Wto, 20 Sty 2004, 16:11:00 CET


On Tue, 20 Jan 2004, Arkadiusz Patyk wrote:

> Paweł Sikora (pluto w ds14.agh.edu.pl) wrote:
> > On Tue, 20 Jan 2004, Arkadiusz Patyk wrote:
> >
> > > Witam
> > >
> > > ping_common.o ping_common.c
> > > gcc -Os -march=i386 -mcpu=i386 -falign-loops=0 -falign-jumps=0
> > > -falign-functions=0 -mno-align-double -D_GN
> > > U_SOURCE -DHAVE_SIN6_SCOPEID=1 -Iinclude-glibc -include
> > > include-glibc/glibc-bugs.h -I../include      clock
> > > diff.c   -o clockdiff
> > > In file included from include-glibc/netinet/in.h:7,
> > >                  from /usr/include/netdb.h:28,
> > >                  from tracepath.c:19:
> > > /usr/include/linux/in.h:144: error: field `gr_group' has incomplete type
> > > /usr/include/linux/in.h:150: error: field `gsr_group' has incomplete
> > > type
> > > /usr/include/linux/in.h:151: error: field `gsr_source' has incomplete
> > > type
> > > /usr/include/linux/in.h:157: error: field `gf_group' has incomplete type
> > > /usr/include/linux/in.h:160: error: field `gf_slist' has incomplete type
> > > make: *** [tracepath] Error 1
> > > make: *** Waiting for unfinished jobs....
> > > In file included from include-glibc/netinet/in.h:7,
> > >                  from /usr/include/netdb.h:28,
> > >                  from ping_common.h:18,
> > >                  from ping.c:61:
> > > /usr/include/linux/in.h:144: error: field `gr_group' has incomplete type
> > > /usr/include/linux/in.h:150: error: field `gsr_group' has incomplete
> > > type
> > > /usr/include/linux/in.h:151: error: field `gsr_source' has incomplete
> > > type
> > > /usr/include/linux/in.h:157: error: field `gf_group' has incomplete type
> > > /usr/include/linux/in.h:160: error: field `gf_slist' has incomplete type
> > > make: *** [ping.o] Error 1
> > >
> > > Otoczenie AC/NEST
> > > $ rpm -qa | grep kernel
> > > kernel-source-2.4.25-0.1
> > > kernel-headers-2.4.25-0.1
> > > glibc-kernel-headers-2.6.1.0-1
> > > $ uname -r
> > > 2.4.24
> >
> > pakiet gkh bruzdzi.
> > jesli skorzytasz z oryginalnych naglowkow kernela, to bedzie ok.
> >
> > otoczenie:
> > kernel-{source,headers}-2.4.25-0.1
> > ! brak glibc-kernel-headers
> >
> > %rpmcflags -O2 -march=i686 -fomit-frame-pointer -funroll-all-loops -pipe
> > %_without_distkernel
> > %_with_kernelheaders
> > (w.w. daja symlinki:
> >     /usr/include/{asm,linux}->/usr/src/linux/include/{asm,linux})
>
> czyli glibc-kernel-headers do poprawki ?

pewnie tak :)
wezmy np. inny kwiatek - pakiet net-tools
patch5: x25_address_is_struct
owszem ale tylko w gkh jest struct!
w naglowkach kernela jest typdef struct {...} x25_address i latka jest zbedna.
pewnie takich kwiatkow mozna by znalezc wiecej.



Więcej informacji o liście dyskusyjnej pld-devel-pl