From:             x-penguin at tut dot by
Operating system: Linux
PHP version:      5CVS-2004-09-04 (dev)
PHP Bug Type:     MySQLi related
Bug description:  mysqli - compilation error

Description:
------------
./configure --prefix=/usr/ --with-apxs2 --with-gettext --with-iconv
--with-mysql=/usr --with-mysql-sock=/tmp/mysql.sock --enable-mbstring=ru
--enable-mbregex --enable-mbstr-enc-trans --disable-short-tags --with-xsl
--with-libxml --without-sqlite --enable-soap --with-pgsql
--with-mysqli=/opt/mysql-4.1.3/bin/mysql_config
--with-mysqli-sock=/tmp/mysql-4.1.3.sock


/bin/sh /mnt/data/Sources/php-src/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/mysqli/ -I/mnt/data/Sources/php-src/ext/mysqli/
-DPHP_ATOM_INC -I/mnt/data/Sources/php-src/include
-I/mnt/data/Sources/php-src/main -I/mnt/data/Sources/php-src
-I/mnt/data/Sources/php-src/Zend -I/usr//include/libxml2
-I/mnt/data/Sources/php-src/ext/mbstring/oniguruma
-I/mnt/data/Sources/php-src/ext/mbstring/libmbfl
-I/mnt/data/Sources/php-src/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql
-I/opt/mysql-4.1.3/include/mysql -I/usr//include 
-I/mnt/data/Sources/php-src/TSRM  -g -O2  -prefer-pic -c
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo
In file included from /mnt/data/Sources/php-src/ext/mysqli/mysqli.c:31:
/mnt/data/Sources/php-src/ext/mysqli/php_mysqli.h:48: error: syntax error
before "MYSQL_STMT"
/mnt/data/Sources/php-src/ext/mysqli/php_mysqli.h:48: warning: no
semicolon at end of struct or union
/mnt/data/Sources/php-src/ext/mysqli/php_mysqli.h:52: error: syntax error
before '}' token
/mnt/data/Sources/php-src/ext/mysqli/php_mysqli.h:52: warning: data
definition has no type or storage class
/mnt/data/Sources/php-src/ext/mysqli/php_mysqli.h:85: error:
`LOCAL_INFILE_ERROR_LEN' undeclared here (not in a function)
/mnt/data/Sources/php-src/ext/mysqli/php_mysqli.h:113: error: syntax error
before '*' token
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:91: error: syntax error
before '*' token
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c: In function
`php_clear_stmt_bind':
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:93: error: `stmt' undeclared
(first use in this function)
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:93: error: (Each undeclared
identifier is reported only once
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:93: error: for each function
it appears in.)
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c: In function
`mysqli_objects_free_storage':
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:140: error: syntax error
before ')' token
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c: In function
`mysqli_read_property':
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:210: error: `MYSQL_STMT'
undeclared (first use in this function)
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:210: error: syntax error
before ')' token
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:210: error: syntax error
before ')' token
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c: In function
`zm_startup_mysqli':
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:459: error:
`STMT_ATTR_UPDATE_MAX_LENGTH' undeclared (first use in this function)
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:517: error: `MYSQL_NO_DATA'
undeclared (first use in this function)
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c: In function
`php_mysqli_fetch_into_hash':
/mnt/data/Sources/php-src/ext/mysqli/mysqli.c:626: error: syntax error
before ')' token
make: *** [ext/mysqli/mysqli.lo] Error 1



-- 
Edit bug report at http://bugs.php.net/?id=29979&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29979&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29979&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29979&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29979&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29979&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29979&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29979&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29979&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29979&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29979&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29979&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29979&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29979&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29979&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29979&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29979&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29979&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29979&r=float

Reply via email to