From:             php at on-e dot com
Operating system: Solaris 10
PHP version:      5.5.1
Package:          Compile Failure
Bug Type:         Bug
Bug description:pdo mysql parsing errors

Description:
------------
Mysql 5.1.65

/bin/bash /usr/local/src/php-5.5.1/libtool --silent --preserve-dup-deps --
mode=compile gcc -I/usr/local/src/php-5.5.1/ext -I -Iext/pdo_mysql/ -
I/usr/local/src/php-5.5.1/ext/pdo_mysql/ -DPHP_ATOM_INC
-I/usr/local/src/php-
5.5.1/include -I/usr/local/src/php-5.5.1/main -I/usr/local/src/php-5.5.1 -
I/usr/local/src/php-5.5.1/ext/date/lib
-I/usr/local/src/php-5.5.1/ext/ereg/regex 
-I/usr/local/include/libxml2 -I/usr/local/ssl/include -I/usr/local/include
-
I/usr/local/include/freetype2
-I/usr/local/src/php-5.5.1/ext/mbstring/oniguruma 
-I/usr/local/src/php-5.5.1/ext/mbstring/libmbfl -I/usr/local/src/php-
5.5.1/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include/mysql -
I/usr/local/src/php-5.5.1/ext/sqlite3/libsqlite
-I/usr/local/src/php-5.5.1/TSRM 
-I/usr/local/src/php-5.5.1/Zend  -D_POSIX_PTHREAD_SEMANTICS -
D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  -I/usr/local/include -g -O2 -DZTS 
-c 
/usr/local/src/php-5.5.1/ext/pdo_mysql/mysql_driver.c -o 
ext/pdo_mysql/mysql_driver.lo 
/usr/local/src/php-5.5.1/ext/pdo_mysql/mysql_driver.c:532:1: warning: 
"MYSQL_UNIX_ADDR" redefined
In file included from /usr/local/mysql/include/mysql/mysql.h:74,
                 from /usr/local/src/php-
5.5.1/ext/pdo_mysql/php_pdo_mysql_int.h:31,
                 from
/usr/local/src/php-5.5.1/ext/pdo_mysql/mysql_driver.c:33:
/usr/local/mysql/include/mysql/mysql_version.h:19:1: warning: this is the 
location of the previous definition
/usr/local/src/php-5.5.1/ext/pdo_mysql/mysql_driver.c: In function 
`pdo_mysql_handle_factory':
/usr/local/src/php-5.5.1/ext/pdo_mysql/mysql_driver.c:717: error: 
`MYSQL_SERVER_PUBLIC_KEY' undeclared (first use in this function)
/usr/local/src/php-5.5.1/ext/pdo_mysql/mysql_driver.c:717: error: (Each 
undeclared identifier is reported only once
/usr/local/src/php-5.5.1/ext/pdo_mysql/mysql_driver.c:717: error: for each

function it appears in.)
make: *** [ext/pdo_mysql/mysql_driver.lo] Error 1


-- 
Edit bug report at https://bugs.php.net/bug.php?id=65299&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65299&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65299&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=65299&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65299&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65299&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65299&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65299&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65299&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65299&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65299&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=65299&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=65299&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65299&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65299&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65299&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65299&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65299&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65299&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65299&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65299&r=mysqlcfg

Reply via email to