#19896 [Fbk->Opn]: --enable-sysvmsg doesn't work on Linux

From: Date: Tue, 15 Oct 2002 08:39:59 +0000
Subject: #19896 [Fbk->Opn]: --enable-sysvmsg doesn't work on Linux
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22483@lists.php.net to get a copy of this message
 ID:               19896
 Updated by:       mfischer@php.net
 Reported By:      mfischer@php.net
-Status:           Feedback
+Status:           Open
 Bug Type:         Semaphore related
 Operating System: Linux
 PHP Version:      4CVS-2002-10-14
 New Comment:

$ 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.


Previous Comments:
------------------------------------------------------------------------

[2002-10-14 19:17:42] sniper@php.net

Works fine here with latest CVS..
What kernel are you running?


------------------------------------------------------------------------

[2002-10-14 03:24:18] 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; }



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19896&edit=1



Thread (5 messages)

« previous php.bugs (#22483) next »