php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21867 Compile error on mysql when using mssql
Submitted: 2003-01-24 14:02 UTC Modified: 2003-02-20 08:03 UTC
From: thiele at telecorp dot com dot br Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 4.3.0 OS: RedHat Linux 7.2 (2.4.18)
Private report: No CVE-ID: None
 [2003-01-24 14:02 UTC] thiele at telecorp dot com dot br
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-09 02:23 UTC] fmk@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Tested on a Mandrake 9.0 system. This only gives this warning at the end of compilation:

ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/usr/local/src/php4/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'

 [2003-02-20 08:03 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC