Re: Bug #12451: compilation halts on libmysql extension

From: Date: Mon, 30 Jul 2001 08:01:13 +0000
Subject: Re: Bug #12451: compilation halts on libmysql extension
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61438@lists.php.net to get a copy of this message
UNSUBSCRIBE ME PLEASE!!!!!!!!!!!!!! f.lamonica@tin.it schrieb: > From: f.lamonica@tin.it > Operating system: Linux 2.4.7 > PHP version: 4.0.6 > PHP Bug Type: Compile Failure > Bug description: compilation halts on libmysql extension > > make[1]: Entering directory > `/usr/local/src/php-4.0.6/ext/mysql/libmysql' > /bin/sh /usr/local/src/php-4.0.6/libtool --silent > --mode=compile gcc -I. > -I/usr/local/src/php-4.0.6/ext/mysql/libmysql > -I/usr/local/src/php-4.0.6/main -I/usr/local/src/php-4.0.6 > -I/usr/local/apache/include > -I/usr/local/src/php-4.0.6/Zend -I/usr/local/ssl/include > -I/opt/interbase//include > -I/usr/local/src/php-4.0.6/ext/mysql/libmysql > -I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok > -I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse > -I/usr/local/src/php-4.0.6/TSRM -DLINUX=22 -DUSE_HSREGEX > -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c > libmysql.c > In file included from libmysql.c:9: > global.h:240: warning: redefinition of `uint' > /usr/include/sys/types.h:146: warning: `uint' previously > declared here > global.h:241: warning: redefinition of `ushort' > /usr/include/sys/types.h:145: warning: `ushort' previously > declared here > In file included from libmysql.c:12: > m_string.h:180: parse error before `__extension__' > m_string.h:180: parse error before `&&' > make[1]: *** [libmysql.lo] Error 1 > make[1]: Leaving directory > `/usr/local/src/php-4.0.6/ext/mysql/libmysql' > make: *** [all-recursive] Error 1 > > my configure line is the following: > ./configure --with-apxs=/usr/local/apache/bin/apxs > --with-openssl --with-zlib --enable-ftp > --with-interbase=/opt/interbase/ > > i am running a freshly installed slackware 8.0 with apache > 1.3.20 glibc is 2.2.3 > > I Noticed that there is a compilation define -DLinux=22 > shouldn't it be 2.4? > > -- > Edit bug report at: http://bugs.php.net/?id=12451&edit=1 > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#61438) next »