php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71631 The extension does not compile. Make fails
Submitted: 2016-02-19 13:59 UTC Modified: 2016-03-14 14:12 UTC
Votes:8
Avg. Score:4.9 ± 0.3
Reproduced:8 of 8 (100.0%)
Same Version:8 (100.0%)
Same OS:4 (50.0%)
From: brigitte at metronediaworks dot com Assigned:
Status: Duplicate Package: stem (PECL)
PHP Version: 7.0.3 OS: Unbuntu 14
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: brigitte at metronediaworks dot com
New email:
PHP Version: OS:

 

 [2016-02-19 13:59 UTC] brigitte at metronediaworks dot com
Description:
------------
running: make
/bin/bash /tmp/pear/temp/pear-build-rootwpDTtB/stem-1.5.1/libtool --mode=compile cc  -I. -I/tmp/pear/temp/stem -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootwpDTtB/stem-1.5.1/include -I/tmp/pear/temp/pear-build-rootwpDTtB/stem-1.5.1/main -I/tmp/pear/temp/stem -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/stem/stem.c -o stem.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/stem -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootwpDTtB/stem-1.5.1/include -I/tmp/pear/temp/pear-build-rootwpDTtB/stem-1.5.1/main -I/tmp/pear/temp/stem -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/stem/stem.c  -fPIC -DPIC -o .libs/stem.o
/tmp/pear/temp/stem/stem.c: In function ‘php_stem’:
/tmp/pear/temp/stem/stem.c:222:37: error: macro "RETURN_STRINGL" passed 3 arguments, but takes just 2
   RETURN_STRINGL(incoming, arglen, 1);
                                     ^
/tmp/pear/temp/stem/stem.c:222:3: error: ‘RETURN_STRINGL’ undeclared (first use in this function)
   RETURN_STRINGL(incoming, arglen, 1);
   ^
/tmp/pear/temp/stem/stem.c:222:3: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/stem/stem.c:339:30: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2
  RETVAL_STRINGL(z->p, z->l, 1);
                              ^
/tmp/pear/temp/stem/stem.c:339:2: error: ‘RETVAL_STRINGL’ undeclared (first use in this function)
  RETVAL_STRINGL(z->p, z->l, 1);
  ^
make: *** [stem.lo] Error 1
ERROR: `make' failed



Patches

update-for-php7 (last revision 2016-03-01 09:18 UTC by nikitin dot dv27 at gmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-05 02:56 UTC] ohill@php.net
Doesn't the patch remove <PHP7 compatibility? I think it's missing a couple of #ifdef no?
 [2016-03-14 14:12 UTC] ohill@php.net
-Status: Open +Status: Duplicate
 [2016-03-14 14:12 UTC] ohill@php.net
Duplicates bug #71091
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC