php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6769 Error creating sockets.lo
Submitted: 2000-09-15 05:48 UTC Modified: 2000-11-23 22:41 UTC
From: drewpc at colorado dot edu Assigned: chrisv (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: drewpc at colorado dot edu
New email:
PHP Version: OS:

 

 [2000-09-15 05:48 UTC] drewpc at colorado dot edu
Configure line:
./configure --with-pgsql=/usr/local/postgresql \
                --enable-trans-sid \
                --enable-track-vars \
                --with-pspell \
                --enable-bcmath \
                --enable-calendar \
                --enable-ftp \
                --enable-wddx \
                --with-curl \
                --with-imap \
                --with-mcal=../lib-src/libmcal-0.6 \
                --with-xml \
                --enable-sockets \
                --with-apache=../apache_1.3.12

The problem is with the sockets module, really.  Here's the relevant output from make:

Making all in sockets
make[2]: Entering directory `/home/drewpc/php/php-4.0.2/ext/sockets'
make[3]: Entering directory `/home/drewpc/php/php-4.0.2/ext/sockets'
gcc  -I. -I/home/drewpc/php/php-4.0.2/ext/sockets -I/home/drewpc/php/php-4.0.2 -I/home/drewpc/php/php-4.0.2/main -I/home/drewpc/php/apache_1.3.12/src/include -I/home/drewpc/php/apache_1.3.12/src/os/unix -I/home/drewpc/php/php-4.0.2/Zend -I/home/drewpc/php/php-4.0.2 -I/usr/local/include -I/home/drewpc/php/lib-src/libmcal-0.6 -I/home/drewpc/php/php-4.0.2/ext/mysql/libmysql -I/usr/local/include/pspell -I/home/drewpc/php/php-4.0.2/ext/xml/expat/xmltok -I/home/drewpc/php/php-4.0.2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -c sockets.c && touch sockets.lo
sockets.c: In function `php_minit_sockets':
sockets.c:189: `MSG_WAITALL' undeclared (first use in this function)
sockets.c:189: (Each undeclared identifier is reported only once
sockets.c:189: for each function it appears in.)
sockets.c: In function `php_if_connect':
sockets.c:875: warning: assignment from incompatible pointer type
sockets.c:900: warning: assignment from incompatible pointer type
make[3]: *** [sockets.lo] Error 1
make[3]: Leaving directory `/home/drewpc/php/php-4.0.2/ext/sockets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/drewpc/php/php-4.0.2/ext/sockets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drewpc/php/php-4.0.2/ext'
make: *** [all-recursive] Error 1

Here's the RCS id from sockets.c:

/* $Id: sockets.c,v 1.9 2000/08/23 13:47:00 eschmid Exp $ */

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-22 04:00 UTC] chrisv@php.net
Try grabbing the latest CVS and compiling again. The problems mentioned in your report I believe have been fixed. If it doesn't solve the problem, please reply.

Chris
 [2000-11-23 22:41 UTC] chrisv@php.net
I believe this bug is corrected in the current CVS. No reply, so closing. Please reopen this report if the problem persists.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 22:00:01 2026 UTC