From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4CVS-2002-10-14
PHP Bug Type:     Semaphore related
Bug description:  --enable-sysvmsg doesn't work on Linux

./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; }


-- 
Edit bug report at http://bugs.php.net/?id=19896&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19896&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19896&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19896&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19896&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19896&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19896&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19896&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19896&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19896&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19896&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19896&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19896&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19896&r=isapi

Reply via email to