This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: Problem__kernel_fd_set with glibc-2.0.95
- To: Kaoru Fukui <k_fukui@highway.ne.jp>
- Subject: Re: Problem__kernel_fd_set with glibc-2.0.95
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 02 Aug 1998 18:29:04 +0200
- Cc: libc-alpha@cygnus.com
- Mail-Copies-To: never
- References: <199808021441.XAA01099@smtp01.highway.ne.jp>
>>>>> 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