This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: glibc 2.0.107
- To: "Jason P Schanuel" <jason@gobills.com>
- Subject: Re: glibc 2.0.107
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 16 Dec 1998 19:04:34 -0800
- Cc: "GNU libc testers" <libc-alpha@cygnus.com>, "VGER gcc list" <linux-gcc@vger.rutgers.edu>
- References: <000601be2968$a4330fe0$0c0a0a0a@atlas.gobills.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
"Jason P Schanuel" <jason@gobills.com> writes:
> egcs is 1.1.1 and my msgfmt is out of date 0.10 (where do I get a newer
> version?).
Ftp://alpha.gnu.org/gnu
> I moved /usr/include to /usr/include.old and made the normal asm and
> linux links in a clean /usr/include.
With glibc 2.1 this is not necessary anymore.
> ../sysdeps/unix/sysv/linux/msgsnd.c: In function `msgsnd':
> ../sysdeps/unix/sysv/linux/msgsnd.c:33: `IPCOP_msgsnd' undeclared (first
> use in this function)
Yes, I know meanwhile. Thie stupid CVS lost a file. I append it
below. Simply place it in include/bits/ipc.h and you should be fine.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include_next <bits/ipc.h>
__BEGIN_DECLS
/* The actual system call: all functions are multiplexed by this. */
extern int __syscall_ipc __P ((int __call, int __first, int __second,
int __third, void *__ptr));
__END_DECLS
/* The codes for the functions to use the multiplexer `__syscall_ipc'. */
#define IPCOP_semop 1
#define IPCOP_semget 2
#define IPCOP_semctl 3
#define IPCOP_msgsnd 11
#define IPCOP_msgrcv 12
#define IPCOP_msgget 13
#define IPCOP_msgctl 14
#define IPCOP_shmat 21
#define IPCOP_shmdt 22
#define IPCOP_shmget 23
#define IPCOP_shmctl 24