Bug in latest update of Mysql code in PHP

From: Date: Wed, 23 Aug 2000 12:15:03 +0000
Subject: Bug in latest update of Mysql code in PHP
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-965@lists.php.net to get a copy of this message
Hi! >>>>> "Kirill" == Kirill Maximov <kir@actimind.com> writes: Kirill> Hi, Kirill> My test configuration is: Kirill> - Solaris 7 x86, Oracle7.3.2, Mysql 3.22.32, sysV semaphores, GD Kirill> 1.8.3/FreeType Kirill> CVS line: Kirill> ./configure \ Kirill> --with-jpeg-dir=/usr/local \ Kirill> --with-gd --with-oracle \ Kirill> --with-mysql \ Kirill> --with-config-file-path=/h/home/kir/SOFT/conf \ Kirill> --with-apxs=/h/home/kir/SOFT/bin/apxs \ Kirill> --disable-debug \ Kirill> --enable-magic-quotes=yes \ Kirill> --enable-memory-limit=yes \ Kirill> --enable-url-fopen-wrapper=no \ Kirill> --enable-sysvsem=yes \ Kirill> --enable-sysvshm=yes \ Kirill> --enable-track-vars=yes \ Kirill> --with-system-regex \ Kirill> --enable-safe-mode \ Kirill> --with-gdbm \ Kirill> --enable-ftp \ Kirill> --with-mod_charset \ Kirill> --with-java=/u/local/jdk1.1.5 Kirill> For the latest CVS I've got a trouble with Kirill> Making all in libmysql Kirill> make[3]: Entering directory `/h/home/kir/SRC/php4/ext/mysql/libmysql' Kirill> make[4]: Entering directory `/h/home/kir/SRC/php4/ext/mysql/libmysql' Kirill> /bin/sh /h/home/kir/SRC/php4/libtool --silent --mode=compile gcc -I. -I/h/home/ Kirill> kir/SRC/php4/ext/mysql/libmysql -I/h/home/kir/SRC/php4 -I/h/home/kir/SRC/php4/ma Kirill> in -I/h/home/kir/SOFT/include -I/h/home/kir/SRC/php4/Zend -I/h/home/kir/SRC/php4 Kirill> -I/usr/local/include -I/usr/local/include/freetype -I/h/home/kir/SRC/php4/ext/m Kirill> ysql/libmysql -I/u/oracle7/rdbms/public -I/u/oracle7/rdbms/demo -I/u/oracle7/net Kirill> work/public -I/h/home/kir/SRC/php4/ext/xml/expat/xmltok -I/h/home/kir/SRC/php4/e Kirill> xt/xml/expat/xmlparse -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=12 -g -O2 -c Kirill> libmysql.c Kirill> In file included from libmysql.c:23: Kirill> global.h:57: warning: `_POSIX_PTHREAD_SEMANTICS' redefined Kirill> *Initialization*:1: warning: this is the location of the previous definition Kirill> In file included from libmysql.c:23: Kirill> global.h:178: asm/atomic.h: No such file or directory Kirill> make[4]: *** [libmysql.lo] Error 1 Kirill> make[4]: Leaving directory `/h/home/kir/SRC/php4/ext/mysql/libmysql' Kirill> The changes, which lead to error, were done today, 22/08 by mysql CVS user. I have now fixed the _POSIX_PTHREAD_SEMANTICS' warning. The second warning is a bit strange as asm/atomic.h should only be included if you have ATOMIC_ADD defined. I have now added a temporary workaround for this in global.h I can't however check this in yet, as the PHP maintainers has temporary removed our patch to get out the new PHP release. We hope to have have our changes tested throughly before the next release, Sorry for the confusion! Regards, Monty

« previous php.qa (#965) next »