Bug 200132 - php bindings does not build
Summary: php bindings does not build
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 06:30 UTC by Funda Wang
Modified: 2009-07-21 14:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Funda Wang 2009-07-14 06:30:44 UTC
Version:            (using KDE 4.2.96)
Compiler:          gcc 4.4.0 CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4"
OS:                Linux
Installed from:    Compiled From Sources

When building kdebindings 4.2.95 and 4.2.96 with php 5.3.0, it fails when building php bindings:

[ 91%] Building CXX object php/phpqt/src/CMakeFiles/php_qt.dir/zphp/functions.cpp.o
In file included from /usr/include/php/main/php.h:34,
                 from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/phpqt_internals.h:27,
                 from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:30:
/usr/include/php/Zend/zend.h:82:5: warning: "HAVE_MACH_O_DYLD_H" is not defined
In file included from /usr/include/php/Zend/zend.h:768,
                 from /usr/include/php/main/php.h:34,
                 from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/phpqt_internals.h:27,
                 from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:30:
/usr/include/php/Zend/zend_operators.h:66:5: warning: "ZEND_DVAL_TO_LVAL_CAST_OK" is not defined
In file included from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/phpqt_internals.h:27,
                 from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:30:
/usr/include/php/main/php.h:94:5: warning: "HAVE_UNIX_H" is not defined
In file included from /usr/include/php/TSRM/tsrm_virtual_cwd.h:26,
                 from /usr/include/php/main/php.h:407,
                 from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/phpqt_internals.h:27,
                 from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:30:
/usr/include/php/TSRM/tsrm_config_common.h:5:6: warning: "WINNT" is not defined
/usr/include/php/TSRM/tsrm_config_common.h:5:12: warning: "WIN32" is not defined
In file included from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:34:
/home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/php_qt.h:62: warning: type qualifiers ignored on function return type
/home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/php_qt.h:64: warning: type qualifiers ignored on function return type
/home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/php_qt.h:76: warning: type qualifiers ignored on function return type
In file included from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:35:
/home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/z_extension.h:48: error: conflicting specifiers in declaration of 'phpqt_cast_arginfo'
Comment 1 Rex Dieter 2009-07-21 06:37:13 UTC
Been hit by this too in fedora, here's what we've got so far,
http://cvs.fedoraproject.org/viewvc/devel/kdebindings/kdebindings-4.2.96-php-5.3.patch
Comment 2 Than Ngo 2009-07-21 11:31:08 UTC
i already commited the fix in 4.3 branch and trunk yesterday.
Comment 3 Rex Dieter 2009-07-21 14:35:15 UTC
woo