#19016 [NEW]: --with-mysql: CLIENT_SSL undeclared

From: Date: Wed, 21 Aug 2002 11:58:47 +0000
Subject: #19016 [NEW]: --with-mysql: CLIENT_SSL undeclared
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17435@lists.php.net to get a copy of this message
From: michael.mauch@gmx.de Operating system: Tru64 4.0 PHP version: 4CVS-2002-08-21 PHP Bug Type: Compile Failure Bug description: --with-mysql: CLIENT_SSL undeclared './configure' '--prefix=/Team/local' '--enable-exif' '--enable-track-vars' '--with-calendar=shared' '--enable-safe-mode' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-oci8=/appl/oracle/product/8.1.6' '--with-mysql=/usr/local/mysql' [...] gcc -Iext/mysql/ -I/Team/local/src/php4-200208210300/ext/mysql/ -DPHP_ATOM_INC -I/Team/local/src/php4-200208210300/include -I/Team/local/src/php4-200208210300/main -I/Team/local/src/php4-200208210300 -I/Team/local/src/php4-200208210300/Zend -I/usr/local/mysql/include/mysql -I/appl/oracle/product/8.1.6/rdbms/public -I/appl/oracle/product/8.1.6/rdbms/demo -I/appl/oracle/product/8.1.6/network/public -I/Team/local/src/php4-200208210300/ext/xml/expat -I/Team/local/src/php4-200208210300/TSRM -g -O2 -c /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.o && echo > ext/mysql/php_mysql.lo In file included from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/stdarg.h:36, from /Team/local/src/php4-200208210300/Zend/zend.h:63, from /Team/local/src/php4-200208210300/main/php.h:34, from /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:32: /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c: In function `zm_startup_mysql': /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:374: `CLIENT_SSL' undeclared (first use in this function) /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:374: (Each undeclared identifier is reported only once /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:374: for each function it appears in.) /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c: In function `php_mysql_do_connect': /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:708: warning: cast from pointer to integer of different size /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c: In function `zif_mysql_character_set_name': /Team/local/src/php4-200208210300/ext/mysql/php_mysql.c:1073: warning: cast to pointer from integer of different size *** Exit 1 Stop. If I add -DCLIENT_SSL=0, it compiles. -- Edit bug report at http://bugs.php.net/?id=19016&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19016&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19016&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19016&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19016&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19016&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19016&r=support Expected behavior: http://bugs.php.net/fix.php?id=19016&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19016&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19016&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19016&r=globals

« previous php.bugs (#17435) next »