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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
35 + 14 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Apr 23 12:01:31 2024 UTC