php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19896 --enable-sysvmsg doesn't work on Linux
Submitted: 2002-10-14 03:24 UTC Modified: 2002-10-27 10:13 UTC
From: mfischer@php.net Assigned:
Status: Closed Package: Semaphore related
PHP Version: 4CVS-2002-10-14 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mfischer@php.net
New email:
PHP Version: OS:

 

 [2002-10-14 03:24 UTC] mfischer@php.net
./configure --enable-sysvmsg && make

results in

checking whether sys/msg.h defines struct msgbuf or mymsg... configure: error: none. Cannot make sysvmsg module

config.log has:

configure:67287: checking whether to enable System V IPC support
configure:67332: checking whether sys/msg.h defines struct msgbuf or mymsg
configure:67346: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:67341: sizeof applied to an incomplete type
configure: failed program was:
#line 67334 "configure"
#include "confdefs.h"
#include <sys/types.h>
    #include <sys/ipc.h>
    #include <sys/msg.h>
int main() {
size_t i;

     i = sizeof(struct msgbuf);
    return 1;
; return 0; }
configure:67368: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:67362: sizeof applied to an incomplete type
configure: failed program was:
#line 67354 "configure"
#include "confdefs.h"
#include <sys/types.h>
      #include <sys/ipc.h>
      #include <sys/msg.h>

int main() {
size_t i;

     i = sizeof(struct mymsg);
      return 1;

; return 0; }


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-14 19:17 UTC] sniper@php.net
Works fine here with latest CVS..
What kernel are you running?

 [2002-10-15 03:39 UTC] mfischer@php.net
$ uname -a
Linux devel01 2.2.20 #1 Sat Apr 20 11:45:28 EST 2002 i686 unknown unknown GNU/Linux

glibc is 2.2.5

Is this a feature which only works with certain kernels/libc ? I've no idea about this.
 [2002-10-20 23:43 UTC] sniper@php.net
Can you check your /usr/include/sys/msg.h  for those two structs? (msgbuf and mymsg)

 [2002-10-27 10:13 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Dec 03 10:01:41 2021 UTC