building libkolabxml

Thomas Spuhler thomas.spuhler at btspuhler.com
Wed Dec 9 00:15:20 CET 2015


On Friday, November 27, 2015 04:29:23 PM Aleksander Machniak wrote:
> On 11/27/2015 03:31 PM, Thomas Spuhler wrote:
> > this error comes up multiple time, but there are other such type of
> > errors.
> > /home/iurt/rpmbuild/BUILD/libkolabxml-1.1.2/build/src/php/php_kolabformat_
> > wrapper.cpp: In function 'void
> > _wrap_destroy_p_Kolab__Attendee(zend_resource*)':
> > /home/iurt/rpmbuild/BUILD/libkolabxml-1.1.2/build/src/php/php_kolabformat_
> > wrapper.cpp:30700:26: error: 'rsrc' was not declared in this scope
> 
> I'm afraid we can do nothing about this on Kolab side. As I know all PHP
> extensions code required update for PHP7, so the same will apply to
> swig. Unfortunately searching for PHP7 + swig gives no result.
> 
> So, for now probably the only thing you can do is to create a ticket in
> swig's bugtracker.

Hmmm... I am not convinced about your conclusion

This seems to be an PHP-7 issue and needs a lot of work
I found this blog:
https://github.com/beberlei/whitewashing.de/blob/master/drafts/porting_extension_to_php7.rst

looks similar to:

[ 61%] Building CXX object 
src/php/CMakeFiles/phpbindings.dir/php_kolabformat_wrapper.cpp.o
/home/spuhler/MageiaSVN/kolab-3.5/libkolabxml/BUILD/libkolabxml-1.1.2/build/src/php/php_kolabformat_wrapper.cpp:889:106: 
error: macro "zend_hash_update" passed 6 arguments, but takes just 3
       zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), 
(void*)&resource, sizeof(zval*), NULL);
                                                                                                          ^


-- 
Best regards
Thomas Spuhler

All of my e-mails have a valid digital signature
ID 60114E63
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20151208/4014322e/attachment.sig>


More information about the users mailing list