php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57554 Compilation error
Submitted: 2007-03-02 16:45 UTC Modified: 2008-11-07 17:15 UTC
From: boneskull at deathculture dot net Assigned:
Status: Closed Package: parsekit (PECL)
PHP Version: 4.4.4 OS: MacOS 10.4.8
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: boneskull at deathculture dot net
New email:
PHP Version: OS:

 

 [2007-03-02 16:45 UTC] boneskull at deathculture dot net
Description:
------------
PEAR Version: 1.5.0
PHP Version: 4.4.4
Zend Engine Version: 1.3.0
Running on: Darwin tiamat.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep  8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh
----------------------------------------------------

Dump:

downloading parsekit-1.2.tgz ...
Starting to download parsekit-1.2.tgz (14,979 bytes)
.....done: 14,979 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20050606
building in /var/tmp/pear-build-root/parsekit-1.2
running: /private/tmp/pear/cache/parsekit-1.2/configure
checking build system type... powerpc-apple-darwin8.8.0
checking host system type... powerpc-apple-darwin8.8.0
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... no
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether to enable parsekit support... yes, shared
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm -p output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8.8.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... yes
creating libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/var/tmp/pear-build-root/parsekit-1.2/libtool --mode=compile gcc  -I. -I/private/tmp/pear/cache/parsekit-1.2 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/parsekit-1.2/include -I/private/var/tmp/pear-build-root/parsekit-1.2/main -I/private/tmp/pear/cache/parsekit-1.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/cache/parsekit-1.2/parsekit.c -o parsekit.lo
gcc -I. -I/private/tmp/pear/cache/parsekit-1.2 -DPHP_ATOM_INC -I/private/var/tmp/pear-build-root/parsekit-1.2/include -I/private/var/tmp/pear-build-root/parsekit-1.2/main -I/private/tmp/pear/cache/parsekit-1.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/cache/parsekit-1.2/parsekit.c  -fno-common -DPIC -o parsekit.lo
/private/tmp/pear/cache/parsekit-1.2/parsekit.c: In function 'php_parsekit_pop_functions':
/private/tmp/pear/cache/parsekit-1.2/parsekit.c:569: error: 'struct <anonymous>' has no member named 'scope'
/private/tmp/pear/cache/parsekit-1.2/parsekit.c:569: error: 'struct <anonymous>' has no member named 'scope'
/private/tmp/pear/cache/parsekit-1.2/parsekit.c:570: error: 'struct <anonymous>' has no member named 'scope'
/private/tmp/pear/cache/parsekit-1.2/parsekit.c:583: warning: pointer targets in passing argument 4 of 'zend_hash_get_current_key_ex' differ in signedness
/private/tmp/pear/cache/parsekit-1.2/parsekit.c: In function 'php_parsekit_pop_classes':
/private/tmp/pear/cache/parsekit-1.2/parsekit.c:793: warning: pointer targets in passing argument 4 of 'zend_hash_get_current_key_ex' differ in signedness
make: *** [parsekit.lo] Error 1
ERROR: `make' failed

Expected result:
----------------
successful compilation


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-07 17:15 UTC] sean@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 07:01:27 2024 UTC