Quantcast
Viewing all articles
Browse latest Browse all 2539

Re: MaxDB ext + Php-5.4

Hello,

from my point of view there seems something wrong with the configuring procedure or the includes.

The compilation errors are duplicate definitions

 

In file included from /usr/src/php-5.4.13/ext/maxdb/php_maxdb.c:100:

/usr/src/php-5.4.13/ext/maxdb/php_maxdb.h:203: error: duplicate âstaticâ

/usr/src/php-5.4.13/ext/maxdb/php_maxdb.h:208: error: duplicate âstaticâ

/usr/src/php-5.4.13/ext/maxdb/php_maxdb.h:215: error: duplicate âstaticâ

 

These definition should be only defined in php_maxdb.h

 

201: #if ZEND_MODULE_API_NO >= 20040412

202: static
203:   ZEND_BEGIN_ARG_INFO(second_arg_force_by_ref_rest, 1)
204:  ZEND_ARG_PASS_INFO(0)

205: ZEND_END_ARG_INFO();

 

207:static
208:     ZEND_BEGIN_ARG_INFO(third_arg_force_by_ref_rest, 1)

This problem doesn't come from a double include of php_maxdb.h which could not be since it is protected by

#ifndef PHP_MAXDB_H

#define PHP_MAXDB_H

 

Check your version of the installed ZEND API,  PECL and PHP version including autoconf.

Are there some configure warnigs?

 

Kind regards,

Burkhard


Viewing all articles
Browse latest Browse all 2539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>