#50689 [NEW]: PHP don't compile error php_odbc.c when pdo_informix

From: Date: Thu, 07 Jan 2010 21:15:28 +0000
Subject: #50689 [NEW]: PHP don't compile error php_odbc.c when pdo_informix
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-146422@lists.php.net to get a copy of this message
From:             fmostini at aerolineas dot com dot ar
Operating system: Linux SLES10 32bit
PHP version:      5.2.12
PHP Bug Type:     Compile Failure
Bug description:  PHP don't compile error php_odbc.c when pdo_informix

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 bug report at http://bugs.php.net/?id=50689&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=50689&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=50689&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=50689&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=50689&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50689&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=50689&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=50689&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=50689&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=50689&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=50689&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=50689&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=50689&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=50689&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=50689&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50689&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50689&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=50689&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=50689&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=50689&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=50689&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=50689&r=mysqlcfg



Thread (7 messages)

« previous php.bugs (#146422) next »