php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59408 compilation fails in ncurses_fe.c
Submitted: 2010-09-09 15:51 UTC Modified: 2015-09-20 04:22 UTC
Votes:3
Avg. Score:3.3 ± 1.7
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: HMWiesinger at gmx dot at Assigned:
Status: No Feedback Package: ncurses (PECL)
PHP Version: 5.2.13 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: HMWiesinger at gmx dot at
New email:
PHP Version: OS:

 

 [2010-09-09 15:51 UTC] HMWiesinger at gmx dot at
Description:
------------
I'm trying to compile ncurses-1.0.1 for php-5.2.14, but 
compilation fails with the following error:

 cc -I. -I/usr/src/sbo_tmp/ncurses-1.0.1 -DPHP_ATOM_INC -
I/usr/src/sbo_tmp/ncurses-1.0.1/include -
I/usr/src/sbo_tmp/ncurses-1.0.1/main -
I/usr/src/sbo_tmp/ncurses-1.0.1 -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 -fPIC -c /usr/src/sbo_tmp/ncurses-
1.0.1/ncurses_fe.c  -fPIC -DPIC -o .libs/ncurses_fe.o
/usr/src/sbo_tmp/ncurses-1.0.1/ncurses_fe.c:56: error: 
static declaration of ?first_arg_force_ref? follows non-
static declaration
/usr/include/php/Zend/zend_modules.h:35: note: previous 
declaration of ?first_arg_force_ref? was here
/usr/src/sbo_tmp/ncurses-1.0.1/ncurses_fe.c:61: error: 
static declaration of ?second_arg_force_ref? follows non-
static declaration
/usr/include/php/Zend/zend_modules.h:36: note: previous 
declaration of ?second_arg_force_ref? was here
make: *** [ncurses_fe.lo] Error 1

------------------------

I'm using gcc-4.4.4 and glibc-2.11


Patches

hhhhhhhh (last revision 2011-12-06 14:18 UTC by a at test dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-09 14:35 UTC] cmb@php.net
-Status: Open +Status: Feedback
 [2015-09-09 14:35 UTC] cmb@php.net
Does this problem persist with ncurses-1.0.2? If so, some details
regarding the build failure would be approrpriate.
 [2015-09-20 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 00:01:30 2024 UTC