php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57600 sdm
Submitted: 2007-03-30 03:25 UTC Modified: 2008-05-04 12:47 UTC
From: sdmzhu3 at gmail dot com Assigned:
Status: Not a bug Package: spread (PECL)
PHP Version: 5.1.6 OS: ubuntu6.10
Private report: No CVE-ID: None
 [2007-03-30 03:25 UTC] sdmzhu3 at gmail dot com
Description:
------------
make
/bin/sh /var/www/f/s/libtool --mode=compile gcc  -I. -I/var/www/f/s -DPHP_ATOM_INC -I/var/www/f/s/include -I/var/www/f/s/main -I/var/www/f/s -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext  -DHAVE_CONFIG_H  -g -O2   -c /var/www/f/s/php_spread.c -o php_spread.lo
 gcc -I. -I/var/www/f/s -DPHP_ATOM_INC -I/var/www/f/s/include -I/var/www/f/s/main -I/var/www/f/s -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /var/www/f/s/php_spread.c  -fPIC -DPIC -o .libs/php_spread.o
/var/www/f/s/php_spread.c:19:16: error: sp.h: No such file or directory
/var/www/f/s/php_spread.c:38: error: 'BYREF_NONE' undeclared here (not in a function)
/var/www/f/s/php_spread.c:38: error: 'BYREF_FORCE' undeclared here (not in a function)
/var/www/f/s/php_spread.c: In function '_close_spread_pconn':
/var/www/f/s/php_spread.c:74: error: 'mailbox' undeclared (first use in this function)
/var/www/f/s/php_spread.c:74: error: (Each undeclared identifier is reported only once
/var/www/f/s/php_spread.c:74: error: for each function it appears in.)
/var/www/f/s/php_spread.c:74: error: 'mbox' undeclared (first use in this function)
/var/www/f/s/php_spread.c:74: error: invalid operands to binary *
/var/www/f/s/php_spread.c: In function 'zm_startup_spread':
/var/www/f/s/php_spread.c:86: error: 'LOW_PRIORITY' undeclared (first use in this function)
/var/www/f/s/php_spread.c:86: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:87: error: 'MEDIUM_PRIORITY' undeclared (first use in this function)
/var/www/f/s/php_spread.c:87: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:88: error: 'HIGH_PRIORITY' undeclared (first use in this function)
/var/www/f/s/php_spread.c:88: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:90: error: 'UNRELIABLE_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:90: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:91: error: 'RELIABLE_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:91: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:92: error: 'FIFO_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:92: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:93: error: 'CAUSAL_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:93: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:94: error: 'AGREED_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:94: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:95: error: 'SAFE_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:95: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:96: error: 'REGULAR_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:96: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:98: error: 'REG_MEMB_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:98: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:99: error: 'TRANSITION_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:99: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:100: error: 'CAUSED_BY_JOIN' undeclared (first use in this function)
/var/www/f/s/php_spread.c:100: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:101: error: 'CAUSED_BY_LEAVE' undeclared (first use in this function)
/var/www/f/s/php_spread.c:101: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:102: error: 'CAUSED_BY_DISCONNECT' undeclared (first use in this function)
/var/www/f/s/php_spread.c:102: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:103: error: 'CAUSED_BY_NETWORK' undeclared (first use in this function)
/var/www/f/s/php_spread.c:103: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:104: error: 'MEMBERSHIP_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:104: warning: passing argument 3 of 'zend_register_long_constant' makes integer from pointer without a cast
/var/www/f/s/php_spread.c: In function 'zif_spread_connect':
/var/www/f/s/php_spread.c:148: error: 'mailbox' undeclared (first use in this function)
/var/www/f/s/php_spread.c:148: error: 'mbox' undeclared (first use in this function)
/var/www/f/s/php_spread.c:148: error: invalid operands to binary *
/var/www/f/s/php_spread.c:149: error: 'MAX_GROUP_NAME' undeclared (first use in this function)
/var/www/f/s/php_spread.c:178: error: 'MAX_PRIVATE_NAME' undeclared (first use in this function)
/var/www/f/s/php_spread.c:178: warning: passing argument 2 of 'ap_php_snprintf' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:182: warning: passing argument 2 of 'ap_php_snprintf' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:195: error: expected expression before ')' token
/var/www/f/s/php_spread.c:195: error: invalid operands to binary *
/var/www/f/s/php_spread.c:197: error: 'ACCEPT_SESSION' undeclared (first use in this function)
/var/www/f/s/php_spread.c:197: warning: comparison between pointer and integer
/var/www/f/s/php_spread.c:223: error: expected expression before ')' token
/var/www/f/s/php_spread.c:223: error: invalid operands to binary *
/var/www/f/s/php_spread.c: In function 'zif_spread_multicast':
/var/www/f/s/php_spread.c:257: error: 'RELIABLE_MESS' undeclared (first use in this function)
/var/www/f/s/php_spread.c:257: warning: assignment makes integer from pointer without a cast
/var/www/f/s/php_spread.c:264: warning: assignment makes integer from pointer without a cast
/var/www/f/s/php_spread.c:304: error: 'MAX_GROUP_NAME' undeclared (first use in this function)
/var/www/f/s/php_spread.c:313: warning: passing argument 1 of '__builtin_strncpy' makes pointer from integer without a cast
/var/www/f/s/php_spread.c:313: warning: passing argument 3 of '__builtin_strncpy' makes integer from pointer without a cast
/var/www/f/s/php_spread.c: In function 'zif_spread_join':
/var/www/f/s/php_spread.c:361: error: 'MAX_GROUP_NAME' undeclared (first use in this function)
/var/www/f/s/php_spread.c: In function 'zif_spread_receive':
/var/www/f/s/php_spread.c:398: error: 'int16' undeclared (first use in this function)
/var/www/f/s/php_spread.c:398: error: expected ';' before 'mtype'
/var/www/f/s/php_spread.c:399: error: 'service' undeclared (first use in this function)
/var/www/f/s/php_spread.c:399: error: expected ';' before 'stype'
/var/www/f/s/php_spread.c:406: error: 'MAX_GROUP_NAME' undeclared (first use in this function)
/var/www/f/s/php_spread.c:441: error: invalid operands to binary *
/var/www/f/s/php_spread.c:441: warning: passing argument 2 of '_erealloc' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:443: error: invalid operands to binary *
/var/www/f/s/php_spread.c:443: warning: passing argument 1 of '_emalloc' makes integer from pointer without a cast
/var/www/f/s/php_spread.c:455: error: 'stype' undeclared (first use in this function)
/var/www/f/s/php_spread.c:456: error: 'mtype' undeclared (first use in this function)
/var/www/f/s/php_spread.c:457: error: 'BUFFER_TOO_SHORT' undeclared (first use in this function)
/var/www/f/s/php_spread.c:457: warning: comparison between pointer and integer
/var/www/f/s/php_spread.c:476: error: invalid operands to binary *
/var/www/f/s/php_spread.c:476: error: array subscript is not an integer
/var/www/f/s/php_spread.c:476: error: invalid operands to binary *
/var/www/f/s/php_spread.c:476: error: array subscript is not an integer
/var/www/f/s/php_spread.c:476: warning: passing argument 1 of 'strlen' from incompatible pointer type
/var/www/f/s/php_spread.c:476: warning: passing argument 3 of 'add_index_stringl' from incompatible pointer type
/var/www/f/s/php_spread.c:479: warning: passing argument 4 of 'add_assoc_long_ex' makes integer from pointer without a cast
/var/www/f/s/php_spread.c: In function 'zif_spread_close':
/var/www/f/s/php_spread.c:488: error: 'mailbox' undeclared (first use in this function)
/var/www/f/s/php_spread.c:488: error: 'mbox' undeclared (first use in this function)
/var/www/f/s/php_spread.c:488: error: invalid operands to binary *
/var/www/f/s/php_spread.c:505: error: expected expression before ')' token
/var/www/f/s/php_spread.c:505: error: invalid operands to binary *
make: *** [php_spread.lo] 错误 1
sdm@sdm-laptop:/var/www/f/s$                                            


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-04 12:47 UTC] rrichards@php.net
Thank you for taking the time to report a problem with the package.
Unfortunately you are not using a current version of the package -- 
the problem might already be fixed. Please download a new
version from http://pecl.php.net/packages.php

If you are able to reproduce the bug with one of the latest
versions, please change the package version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PECL.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC