This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem__kernel_fd_set with glibc-2.0.95


>>>>> Kaoru Fukui writes:

>> 
>> >>>>> Kaoru Fukui writes:
>> 
>> > Hi!
>> > I tried compile glibc-2.0.95,
>> > I had error stop under that.
>> > Plerase give me any suggestion.
>> Add
>> #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
>> to include/asm/posix_types.h as it has been done for
>> include/asm-i386/posix_types.h (both kernel headers).

 > Why is the problem the version of glibc?
That's just a sanity check.  __GLIBC__ is AFAIK never defined to
values < 2 - glibc2 defines it to 2.
 > I found __kernel_fd_set in /usr/src/linux-2.1.103/include/linux/posix_types.h
 > .
 > I could not found /usr/src/linux-2.1.103/include/asm/posix_types.h
Check /usr/include/asm/posix_types.h.  The problem is not
__kernel_fd_set bug __FD_SET and friends (check line 49 and 50 and
compare with asm-i386/posix-types.h):
> In file included from ../sysdeps/unix/sysv/linux/recvmsg.c:23:
> /usr/include/asm/posix_types.h:49: parse error before `__kernel_fd_set'
> /usr/include/asm/posix_types.h:50: warning: function declaration isn't a prototype


Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]