- From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
- 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 11:52:01 2001
- List-id: SCTP Discussions <discussion.sctp.de>
- Organization: University of Essen, Germany
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
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 ?
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
- ----------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see
http://www.gnupg.org
iD8DBQE69sSad2Uw+xBvGUIRAoq1AJ42yOmV9w5tdIUhAh7y6qOq6yAlawCgiea3
5CLuuHcVV+GqeHs6bvgLm5s=
=of8x
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.