compile php old extensions for new zend api php 5.4.9

From: Date: Tue, 11 Dec 2012 00:47:50 +0000
Subject: compile php old extensions for new zend api php 5.4.9
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-10027@lists.php.net to get a copy of this message
Hello, I have ubuntu 12.04 lts+php 5.4.9. I tried to download and build the last version of the memtrack extension. Following the standard procedure configure, make,... on the compiling pass In memtrack.c, I get: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] at the following lines: line 75:14: line 77:14: line 82:18: line 84:18: line 88:10: line 90:10: then, In function 'memtrack_execute_internal' in memtrack.c: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] at the following lines: 341:21: 383:21: then the more serious: memtrack.c, line 112:63: error: 'znode_op' has no member named 'op_type' line 113:12: error: 'znode_op' has no member named 'u' In function 'memtrack_execute': This on line 113, I found that I can solve it, substituting the line 113 with switch (exec_data->opline->extended_value) { But I got lost for the rest and I don't manage to solve the op_type. And finally, I get also: /usr/local/include/php/Zend/zend_execute.h:380:22: note: expected 'const char ** ' but argument is of type 'char **' Your help is highly appreciated to get it out. Thanks for your cooperation, Best regards Martino -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: Stampa le tue FOTO SU TELA! Su MisterCupido.com puoi creare Quadri Personalizzati a partire da soli euro 18.90 - Consegne in tutta Italia in soli 2-3 giorni Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12388&d=11-12

« previous php.pecl.dev (#10027) next »