php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55944 Fails to compile
Submitted: 2003-12-31 05:39 UTC Modified: 2004-01-15 07:16 UTC
From: gaz at fission dot org dot uk Assigned:
Status: Wont fix Package: xmms (PECL)
PHP Version: 5.0.0b1 (beta1) OS: Debian/GNU linux sid(unstable)
Private report: No CVE-ID: None
 [2003-12-31 05:39 UTC] gaz at fission dot org dot uk
Description:
------------
running:
phpize
./configure
both work fine. Then when you come to running "make", a load of errors come up about uninitialised variables. As far as I can determine, this is to do with the PHP_STATIS_FE() for php_xmms_start(), though I've not got the time to bugfix it fully right now.

oh, and I'm using php5-beta3, not beta1.

Reproduce code:
---------------
n/a

Expected result:
----------------
that it compiles ?

Actual result:
--------------
This is the compile error I get:
/home/gaz/php/extensions/xmms-0.2/xmms.c:38: error: initializer element is not constant
/home/gaz/php/extensions/xmms-0.2/xmms.c:38: error: (near 
initialization for `xmms_functions[0].fname')
/home/gaz/php/extensions/xmms-0.2/xmms.c:38: error: syntax error before '{' token
/home/gaz/php/extensions/xmms-0.2/xmms.c:38: error: initializer element is not constant
/home/gaz/php/extensions/xmms-0.2/xmms.c:38: error: (near 
initialization for `xmms_functions[0]')
/home/gaz/php/extensions/xmms-0.2/xmms.c:39: error: syntax error before '{' token
/home/gaz/php/extensions/xmms-0.2/xmms.c:75: error: initializer element is not constant
/home/gaz/php/extensions/xmms-0.2/xmms.c:75: error: (near 
initialization for `php_xmms_class_functions[1].fname')
/home/gaz/php/extensions/xmms-0.2/xmms.c:75: error: syntax error before '{' token
/home/gaz/php/extensions/xmms-0.2/xmms.c:75: error: initializer element is not constant
/home/gaz/php/extensions/xmms-0.2/xmms.c:75: error: (near 
initialization for `php_xmms_class_functions[1]')
/home/gaz/php/extensions/xmms-0.2/xmms.c:76: error: syntax error before '{' token
/home/gaz/php/extensions/xmms-0.2/xmms.c:134: error: `OnUpdateInt' undeclared here (not in a function)
/home/gaz/php/extensions/xmms-0.2/xmms.c:134: error: initializer 
element is not constant
/home/gaz/php/extensions/xmms-0.2/xmms.c:134: error: (near 
initialization for `ini_entries[0].on_modify')
/home/gaz/php/extensions/xmms-0.2/xmms.c:134: error: initializer 
element is not constant
/home/gaz/php/extensions/xmms-0.2/xmms.c:134: error: (near 
initialization for `ini_entries[0]')
/home/gaz/php/extensions/xmms-0.2/xmms.c:135: error: initializer 
element is not constant
/home/gaz/php/extensions/xmms-0.2/xmms.c:135: error: (near 
initialization for `ini_entries[1]')
/home/gaz/php/extensions/xmms-0.2/xmms.c:136: error: initializer 
element is not constant
/home/gaz/php/extensions/xmms-0.2/xmms.c:136: error: (near 
initialization for `ini_entries[2]')

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-15 07:16 UTC] rasmus@php.net
I have no plans to port this to PHP5
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 06:01:27 2024 UTC