#19896 [Fbk->Csd]: --enable-sysvmsg doesn't work on Linux
| From: | sniper@php.net | Date: | Sun, 27 Oct 2002 16:13:57 +0000 |
| Subject: | #19896 [Fbk->Csd]: --enable-sysvmsg doesn't work on Linux | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23427@lists.php.net to get a copy of this message | ||
ID: 19896
Updated by: sniper@php.net
Reported By: mfischer@php.net
-Status: Feedback
+Status: Closed
Bug Type: Semaphore related
Operating System: Linux
PHP Version: 4CVS-2002-10-14
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-10-20 23:43:12] sniper@php.net
Can you check your /usr/include/sys/msg.h for those two structs?
(msgbuf and mymsg)
------------------------------------------------------------------------
[2002-10-15 03:39:59] 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-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