Closed KKSzymanowski closed 3 years ago
On 12/7/20 3:34 PM, Kuba Szymanowski wrote:
Hi,
I'm trying to compile this extension on MacOS 11.0.1 (Big Sur) for PHP 7.4 and I'm running some compilation errors namely undefined identifiers |SQL_BOOLEAN| and |blr_bool|.
|/Users/jakub/Code/php-firebird/ibase_query.c:245:22: error: use of undeclared identifier 'blr_bool' case blr_bool: ^ /Users/jakub/Code/php-firebird/ibase_query.c:246:34: error: use of undeclared identifier 'SQL_BOOLEAN' a->el_type = SQL_BOOLEAN; |
Almost for sure that means very old (from fb 2.1) ibase.h.
I'm using Firebird 2.5 because that's what the client has installed. Do you know if the Firebird 3.0 driver would work when connecting to Firebird 2.5 database?
@KKSzymanowski The Firebird 3 driver can connect just fine to Firebird 2.5 and older (assuming use of TCP/IP).
Ok, I'll try the newer driver and post any progress here. Thanks for quick responses.
It worked with Firebird 3. Turned out it was not what I needed and I had to compile pdo_firebird extension found in PHP source code but nevertheless thanks for the support.
Hi,
I'm trying to compile this extension on MacOS 11.0.1 (Big Sur) for PHP 7.4 and I'm running some compilation errors namely undefined identifiers
SQL_BOOLEAN
andblr_bool
.Do you know how can I solve this? I've ran following commands: