Re: ext/sysvmsg
| From: | Melvyn Sopacua | Date: | Tue, 08 Oct 2002 15:40:00 +0000 |
| Subject: | Re: ext/sysvmsg | ||
| References: | 1 2 3 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-89228@lists.php.net to get a copy of this message | ||
Wez,
there's something going wrong with the autoconf logic config.m4 section I sent a while back.
I'll look into it.
Jan: if you change the following in main/php_config.h, it should work:
========================
/*msgbuf is called mymsg */
/* #undef msgbuf */
========================
to:
========================
/*msgbuf is called mymsg */
#define msgbuf mymsg
========================
See /usr/include/sys/msg.h for the reason why.
At 12:06 10/8/2002 +0100, Wez Furlong wrote:
Hi Jan, I wrote that code, but I don't have a FreeBSD box to help fix this :-/ --Wez. On 10/08/02, "Jan Lehnardt" <jan@php.net> wrote: Hi, even more errors show up when the previously quoted lines are commented out: gcc -Iext/sysvmsg/ -I/mnt/data/cvs/php4clean/ext/sysvmsg/ -DPHP_ATOM_INC -I/mnt/data/cvs/php4clean/include -I/mnt/data/cvs/php4clean/main -I/mnt/data/cvs/php4clean -I/mnt/data/cvs/php4clean/Zend -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/FrontBase/include -I/usr/local/include/mcal -I/usr/local/include/ming -I/usr/local/include/pspell -I/usr/local/include/ucd-snmp -I/mnt/data/cvs/php4clean/ext/xml/expat -I/mnt/data/cvs/php4clean/TSRM -g -O2 -c /mnt/data/cvs/php4clean/ext/sysvmsg/sysvmsg.c -o ext/sysvmsg/sysvmsg.o && echo > ext/sysvmsg/sysvmsg.lo /mnt/data/cvs/php4clean/ext/sysvmsg/sysvmsg.c: In function `zif_msg_send': /mnt/data/cvs/php4clean/ext/sysvmsg/sysvmsg.c:365: sizeof applied to an incomplete type /mnt/data/cvs/php4clean/ext/sysvmsg/sysvmsg.c:366: dereferencing pointer to incomplete type /mnt/data/cvs/php4clean/ext/sysvmsg/sysvmsg.c:371: sizeof applied to an incomplete type /mnt/data/cvs/php4clean/ext/sysvmsg/sysvmsg.c:372: dereferencing pointer to incomplete type /mnt/data/cvs/php4clean/ext/sysvmsg/sysvmsg.c:377: dereferencing pointer to incomplete type *** Error code 1 Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/ Got an old and spare laptop? Please send me a mail.Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua <@Logan> I spent a minute looking at my own code by accident. <@Logan> I was thinking "What the hell is this guy doing?"Key 7BCC EB86 8313 DDA9 25DF Fingerprint 1805 ECA5 BCB7 BB96 56B0-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php