#21867 [NEW]: Compile error on mysql when using mssql
| From: | thiele at telecorp dot com dot br | Date: | Fri, 24 Jan 2003 20:02:45 +0000 |
| Subject: | #21867 [NEW]: Compile error on mysql when using mssql | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-31177@lists.php.net to get a copy of this message | ||
From: thiele@telecorp.com.br
Operating system: RedHat Linux 7.2 (2.4.18)
PHP version: 4.3.0
PHP Bug Type: MSSQL related
Bug description: Compile error on mysql when using mssql
My configure line is:
# ./configure --with-apxs --with-mysql --with-imap=../imap-2002
--enable-track-vars --enable-calendar --with-imap-ssl
--with-mssql=../freetds-0.60
When I try to make, got the error above:
In file included from
/usr/src/telecorp/php4-STABLE-200301241830/ext/mysql/libmysql/libmysql.c:4:
/usr/src/telecorp/php4-STABLE-200301241830/ext/mysql/libmysql/global.h:260:
warning: redefinition of `uint'
/usr/include/sys/types.h:152: warning: `uint' previously declared here
/usr/src/telecorp/php4-STABLE-200301241830/ext/mysql/libmysql/global.h:261:
warning: redefinition of `ushort'
/usr/include/sys/types.h:151: warning: `ushort' previously declared here
In file included from
/usr/src/telecorp/php4-STABLE-200301241830/ext/mysql/libmysql/libmysql.c:11:
/usr/src/telecorp/php4-STABLE-200301241830/ext/mysql/libmysql/m_string.h:183:
parse error before `__extension__'
/usr/src/telecorp/php4-STABLE-200301241830/ext/mysql/libmysql/m_string.h:183:
parse error before `&&'
make: ** [ext/mysql/libmysql/libmysql.lo] Erro 1
My mysql pakages are:
mysql-devel-3.23.54a-3.72
mysql-3.23.54a-3.72
mysql-server-3.23.54a-3.72
mysqlclient9-3.23.22-8
Without the --with-mssql option I can compile php normally.
--
Edit bug report at http://bugs.php.net/?id=21867&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21867&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21867&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21867&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21867&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21867&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21867&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21867&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21867&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21867&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21867&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21867&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21867&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21867&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21867&r=gnused