lkml.org 
[lkml]   [1996]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectlibc-5.3.12, kernel-2.0, struct msghdr
Hi!

I just downloaded and compiled Linux kernel 2.0. All works fine,
thanx, guys.

One problem though. I read the Changes file included with the kernel
and decided to upgrade my other software as indicated there.

When I tried to compile libc-5.3.12, I got compile errors. Seems
that the struct msghdr in the kernel include file socket.h has been
changed. Is this libc problem?

The error came from the source file fd_kern.c, which cannot access
the msg_accrights and msg_accrightslen members of the msghdr struct.
It does, however include a file called pthread/mit/sys/compat.h which
defines the struct as fd_kern.c likes but it is between #ifndef
__LINUX_UIO_H condition which does not return a true value because it
includes sys/socket.h which includes linux/socket.h (where the
new-style msghdr is defined) which includes linux/uio.h (#define
__LINUX_UIO_H).

What should I do? Get the compiled libc? I wouldn't like that.


*********************************
Magnus Hiie
Eesti Ekspress
E-mail: mgn@ekspress.ee
Tel: +372 6408046
GSM: +372 56 51146


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