php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58278 Build/Register issue with PHP 5.3.0
Submitted: 2008-07-19 02:30 UTC Modified: 2009-12-17 13:51 UTC
From: Fedora at FamilleCollet dot com Assigned:
Status: Closed Package: ncurses (PECL)
PHP Version: 5_3 CVS-2008-07-19 (dev) OS: Linux (Fedora 9)
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Fedora at FamilleCollet dot com
New email:
PHP Version: OS:

 

 [2008-07-19 02:30 UTC] Fedora at FamilleCollet dot com
Description:
------------
first_arg_force_ref and second_arg_force_ref no more provided by zend_modules.h with php 5.3.0 (200807181430 snapshot)

Simple patch proposal :
http://remi.fedorapeople.org/ncurses-1.0.0-php53.patch

Please also convert package.xml to version 2.0 format. This is needed to be able to (un)register the extension using the "pecl (un)install ..." command.

Simple solution :
pear convert package.xml package2.xml

Regards

Reproduce code:
---------------
make

Expected result:
----------------
Build complete.


Actual result:
--------------
 gcc -I. -I/home/extras/BUILD/php-pecl-ncurses-1.0.0/ncurses-1.0.0 -DPHP_ATOM_INC -I/home/extras/BUILD/php-pecl-ncurses-1.0.0/ncurses-1.0.0/include -I/home/extras/BUILD/php-pecl-ncurses-1.0.0/ncurses-1.0.0/main -I/home/extras/BUILD/php-pecl-ncurses-1.0.0/ncurses-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/ncurses -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c /home/extras/BUILD/php-pecl-ncurses-1.0.0/ncurses-1.0.0/ncurses_fe.c  -fPIC -DPIC -o .libs/ncurses_fe.o
/home/extras/BUILD/php-pecl-ncurses-1.0.0/ncurses-1.0.0/ncurses_fe.c:169: error: 'first_arg_force_ref' undeclared here (not in a function)
/home/extras/BUILD/php-pecl-ncurses-1.0.0/ncurses-1.0.0/ncurses_fe.c:183: error: 'second_arg_force_ref' undeclared here (not in a function)
make: *** [ncurses_fe.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-17 13:51 UTC] rasmus@php.net
Both of these were taken care of a while ago.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC