Skip to content

Error compiling the driver for php 8.3 #55

Open
@buhlerax

Description

@buhlerax

Environment:
Debian 12
PHP 8.3
Firebird 5.0
PHPize and ./configure work normally.
In make it gives this error:

root@alexandre:/opt/configuracoes/firebirdphp/php-firebird-master# make
/bin/bash /opt/configuracoes/firebirdphp/php-firebird-master/libtool --mode=compile cc -I. -I/opt/configuracoes/firebirdphp/php-firebird-master -I/opt/configuracoes/firebirdphp/php-firebird-master/include -I/opt/configuracoes/firebirdphp/php-firebird-master/main -I/opt/configuracoes/firebirdphp/php-firebird-master -I/usr/include/php/20230831 -I/usr/include/php/20230831/main -I/usr/include/php/20230831/TSRM -I/usr/include/php/20230831/Zend -I/usr/include/php/20230831/ext -I/usr/include/php/20230831/ext/date/lib -I/opt/firebird/include -I/usr/include/firebird -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /opt/configuracoes/firebirdphp/php-firebird-master/interbase.c -o interbase.lo -MMD -MF interbase.dep -MT interbase.lo
libtool: compile: cc -I. -I/opt/configuracoes/firebirdphp/php-firebird-master -I/opt/configuracoes/firebirdphp/php-firebird-master/include -I/opt/configuracoes/firebirdphp/php-firebird-master/main -I/opt/configuracoes/firebirdphp/php-firebird-master -I/usr/include/php/20230831 -I/usr/include/php/20230831/main -I/usr/include/php/20230831/TSRM -I/usr/include/php/20230831/Zend -I/usr/include/php/20230831/ext -I/usr/include/php/20230831/ext/date/lib -I/opt/firebird/include -I/usr/include/firebird -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /opt/configuracoes/firebirdphp/php-firebird-master/interbase.c -MMD -MF interbase.dep -MT interbase.lo -fPIC -DPIC -o .libs/interbase.o
/opt/configuracoes/firebirdphp/php-firebird-master/interbase.c:30: warning: "_GNU_SOURCE" redefined
30 | #define _GNU_SOURCE
|
: note: this is the location of the previous definition
In file included from /opt/firebird/include/ibase.h:1200,
from /opt/configuracoes/firebirdphp/php-firebird-master/php_ibase_includes.h:29,
from /opt/configuracoes/firebirdphp/php-firebird-master/interbase.c:40:
/opt/firebird/include/./iberror.h:93:10: fatal error: firebird/impl/iberror_c.h: No such file or directory
93 | #include "firebird/impl/iberror_c.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:210: interbase.lo] Erro 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions