lkml.org 
[lkml]   [1998]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectglibc 2.0.7 socketbits.h poisons the compile of kernel utilities
Date
/usr/include/socketbits.h from glibc-devel-2.0.7-13.i386.rpm contains
the lines

/* Get socket manipulation related informations from kernel headers. */
#ifndef _LINUX_TYPES_H
# define _LINUX_TYPES_H
#endif

#include <asm/socket.h>

The definition of _LINUX_TYPES_H stops any later inclusion of
linux/types.h from defining critical types, including __u32. Not
surprisingly, kernel utilities such as ppp-2.3.5 fail to compile.
There is no problem with glibc-devel-2.0.5c-10.

storner@image.dk suggests adding #include <asm/types.h> to
<sys/types.h> to overcome the compile problems but that seems to be a
kludge on a kludge.

Would one of the kernel/glibc developers care to give a definitive
answer to this problem?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.065 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site