SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] compile problem with use of glib-2.1.2-11 [RH6.1]


Chronological Thread 
  • From: Vaclav Urbanek <xurbanev AT fel.cvut.cz>
  • To: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] compile problem with use of glib-2.1.2-11 [RH6.1]
  • Date: Mon May 7 12:41:02 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

>
> On Saturday, 5. May 2001 08:42, you wrote:
> > Hello all,
> > while I compiled a SCTP pre9 it stoppped while compiling
> > adaptation.c.
> > The reason was clear. The compiler didn't know the structure in_pktinfo.
> >
> > I found the declaration of this structure is loacated at
> > /usr/include/linux/in.h (kernel headers), but it is not at glibc's
> > /2.1.2-11/ devel header files /usr/include/netinet/in.h supported by
> > REDHAT 6.1 distibution.
> >
> > I patched this by brute force approach. I moved this declaratinon from
> > /usr/include/linux/in.h directly into adaptation.c file and then
> > compilation passed ok.
> >
> > The test programs seems to work. Is this patch clear, or do I need a
> > newer version of glibc? Or is there any other my well known mistake?
> >
>
> Hi all,
> I am not sure whether this applies to RedHat-6.1, but in general,
> that should be included by some other means.
> <bits/in.h> contains a declaration for struct in_pktinfo,
> and should be included somehow by /usr/include/netinet/in.h,
> I suppose.

My bits/in.h (glibc 2.1.2-12 from Redhat) doesn't contain that
structure. Maybe it is some particular problem, some bug with Czech
distribution. The only file, which contains this stucture is kernel's
/linux/in.h.

> Have you made sure that there are the symbolic links in
> /usr/incude/linux -> /usr/src/linux/include/linux and
> /usr/incude/asm -> /usr/src/linux/include/asm ?

Yes

> Other than that I do not know !
>
> I am currently running Mandrake 8.0 (Linux-2.4.3, glibc-2.2.2) but
> compiled the lib here successfully on RedHat-6.2, SuSe-7.0, SuSe-6.2
> and FreeBSD-4.0. Would be nice to have some feedback about other
> platforms/unix/linux-versions that worked !
>
> Regards,
>
> - --
>
> Andreas Jungmaier
>
> -
> ----------------------------------------------------------------------------
> \|/ _____ \|/ Andreas Jungmaier, Dipl.-Ing.
> "@'/ , . \`@" University of Essen
> ajung AT exp-math.uni-essen.de
> /_| \___/ |__\ -> Computer Networking Tel. : +49 (0201) 183-7636
> \___U_/ Technology Group <-
> -
> ----------------------------------------------------------------------------
> PGP Public Key and Fingerprint: see http://www.exp-math.uni-essen.de/~ajung
> -
> ----------------------------------------------------------------------------
> _______________________________________________
> discussion mailing list
> discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/discussion

Thank You for your answer. I think that a problem is in particular
distibution of Redhat.

Vaclav Urbanek

--------------------------------------------
Student of Czech Technical Univeristy Prague
Faculty of Electrical Engeneering
Department of Telecomunications




Archive powered by MHonArc 2.6.19+.

Top of page