Edit report at http://bugs.php.net/bug.php?id=50689&edit=1

 ID:                 50689
 Patch added by:     ka...@php.net
 Reported by:        fmostini at aerolineas dot com dot ar
 Summary:            PHP don't compile error php_odbc.c when pdo_informix
 Status:             Open
 Type:               Bug
 Package:            PDO related
 Operating System:   Linux SLES10 32bit
 PHP Version:        5.2.12
 Block user comment: N
 Private report:     N

 New Comment:

The following patch has been added/updated:

Patch Name: bug50689
Revision:   1290614721
URL:       
http://bugs.php.net/patch-display.php?bug=50689&patch=bug50689&revision=1290614721


Previous Comments:
------------------------------------------------------------------------
[2010-01-08 01:56:35] fmostini at aerolineas dot com dot ar

PDO INFORMIX is 1.2.6 (not .26)

------------------------------------------------------------------------
[2010-01-07 21:29:11] fmostini at aerolineas dot com dot ar

in $INFORMIXDIR/incl/cli/sqlext.h lines 2044 for some reason the GUID
tag is undefined in previus includes

php-5.2.12/ext/odbc/php_odbc_includes.h:119



typedef struct tagODBC_VS_ARGS {

        const GUID      *pguidEvent;    /* the GUID for event */

        DWORD   dwFlags;                /* flags for the call */

        union {

                WCHAR   *wszArg;

                CHAR    *szArg;

        };

        union {

                WCHAR   *wszCorrelation;

                CHAR    *szCorrelation;

        };

        RETCODE RetCode;

} ODBC_VS_ARGS, *PODBC_VS_ARGS;

------------------------------------------------------------------------
[2010-01-07 21:15:25] fmostini at aerolineas dot com dot ar

Description:
------------
Informix PDO 1.2.26 

Informix ClientSDK 3.50

SUSE Linux Enterprise Server 10SP2





./configure  --prefix=/usr --datadir=/usr/share/php5
--mandir=/usr/share/man --bindir=/usr/bin \

        --with-libdir=lib \

        --includedir=/usr/includei \

        --sysconfdir=/etc/php5/apache2 \

        --with-config-file-path=/etc/php5/apache2 \

        --with-config-file-scan-dir=/etc/php5/conf.d  \

        --enable-spl \

        --enable-calendar \

        --enable-filter \

        --enable-ftp    \

        --enable-gd-native-ttf \

        --enable-inline-optimization \

        --enable-safe-mode \

        --enable-session \

        --enable-sysvsem \

        --enable-sysvshm \

        --enable-shared \

        --enable-shmop \

        --disable-debug \

        --disable-rpath \

        --program-suffix=5 \

        --with-apxs2=/usr/sbin/apxs2 \

        --with-bz2  \

        --with-gd \

        --with-gettext   \

        --with-informix=/opt/informix \

        --with-pdo-informix=/opt/informix \

        --with-jpeg-dir=/usr \

        --with-mm \

        --with-mysql \

        --with-openssl \

        --with-pear \

        --with-pcre-regex \

        --with-pic \

        --with-ttf \

        --with-unixODBC=/usr  \

        --with-zlib \

        --enable-xml \

        --enable-simplexml \

        --enable-libxml \

        --enable-sigchild







lxalem01:/home/mostinif/php-5.2.12 # make

/bin/sh /home/mostinif/php-5.2.12/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/include -Iext/odbc/
-I/home/mostinif/php-5.2.12/ext/odbc/ -DPHP_ATOM_INC
-I/home/mostinif/php-5.2.12/include -I/home/mostinif/php-5.2.12/main
-I/home/mostinif/php-5.2.12 -I/home/mostinif/php-5.2.12/ext/date/lib
-I/usr/include/libxml2 -I/usr/include/freetype -I/usr/include/mysql
-I/opt/informix/incl/cli -I/opt/informix/incl/esql
-I/home/mostinif/php-5.2.12/TSRM -I/home/mostinif/php-5.2.12/Zend   
-I/usr/include -g -O2  -prefer-pic -c
/home/mostinif/php-5.2.12/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo

In file included from
/home/mostinif/php-5.2.12/ext/odbc/php_odbc_includes.h:119,

                 from /home/mostinif/php-5.2.12/ext/odbc/php_odbc.c:37:

/opt/informix/incl/cli/sqlext.h:2044: error: expected ':', ',', ';', '}'
or '__attribute__' before '*' token

/home/mostinif/php-5.2.12/ext/odbc/php_odbc.c: In function
'zif_odbc_columns'





The problem don't happen in php 5.2.9



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=50689&edit=1

Reply via email to