[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#182367: libc6-dev: inconsistency of sys/sem.h and linux/sem.h



Daniel Jacobowitz wrote:
On Tue, Feb 25, 2003 at 11:04:03AM +0100, MeDon wrote:

Hi,
yes it's on i386 architecture. Both program I mentioned use <sys/sem.h>. I don't know much about it, sorry. I'm sending you a semtool.c and semstat.c from "LINUX Programmer's Guide". More on MPICH problem could be seen on http://www-unix.mcs.anl.gov/mpi/mpich/buglist-tbl.html.

Regards
      Ondrej Medek


They don't even compile; and I know that it's not a bug that
<sys/sem.h> doesn't provide union semun - it's a bizarre quirk of the
standards.



I think you're right. Red Hat 7.2. uses exactly the same header files. But what do you think about the sentence (MPICH) "One user found that the include file /usr/include/linux/sem.h (used by the kernel) and /usr/include/sys/sem.h and /usr/include/sys/ipc.h were not consistent, causing programs using semaphores to fail. If you have this problem, you need to correct your installation of Linux."


--
       -== Medon ==-
     Sillicon Hill 8/410A
JID: medon@jabber.sh.cvut.cz
        ICQ#29135328
           _\|/_




Reply to: