ID:               19896
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Semaphore related
 Operating System: Linux
 PHP Version:      4CVS-2002-10-14
 New Comment:

Can you check your /usr/include/sys/msg.h  for those two structs?
(msgbuf and mymsg)



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

[2002-10-15 03:39:59] [EMAIL PROTECTED]

$ 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-14 19:17:42] [EMAIL PROTECTED]

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


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

[2002-10-14 03:24:18] [EMAIL PROTECTED]

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

Reply via email to