尝试生成PHP mssql但生成返回致命错误

尝试生成PHP mssql但生成返回致命错误,php,sql-server,makefile,configure,Php,Sql Server,Makefile,Configure,我在第三步。 我完全遵循了,只是我下载了这个 您能提供帮助吗?解决方法:似乎是/Applications/MAMP/Library/include/sqlfront.h导致了一个错误。那是什么意思?我从来没读过,我也是。我不知道它是干什么的。似乎是软件包的一部分,似乎是关于iPhone/iPad/Android编程的。在构建该模块时,尝试从任何环境变量中删除该路径。或者在构建该目录时简单地重命名该目录。 make /bin/sh /Users/myusername/Downloads/php-5

我在第三步。 我完全遵循了,只是我下载了这个


您能提供帮助吗?

解决方法:

似乎是
/Applications/MAMP/Library/include/sqlfront.h
导致了一个错误。那是什么意思?我从来没读过,我也是。我不知道它是干什么的。似乎是软件包的一部分,似乎是关于iPhone/iPad/Android编程的。在构建该模块时,尝试从任何环境变量中删除该路径。或者在构建该目录时简单地重命名该目录。
make
/bin/sh /Users/myusername/Downloads/php-5.3.5/ext/mssql/libtool --mode=compile cc  -I. -I/Users/myusername/Downloads/php-5.3.5/ext/mssql -DPHP_ATOM_INC -I/Users/myusername/Downloads/php-5.3.5/ext/mssql/include -I/Users/myusername/Downloads/php-5.3.5/ext/mssql/main -I/Users/myusername/Downloads/php-5.3.5/ext/mssql -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/Applications/MAMP/Library/include  -DHAVE_CONFIG_H  -g -O2   -c /Users/myusername/Downloads/php-5.3.5/ext/mssql/php_mssql.c -o php_mssql.lo 
mkdir .libs
 cc -I. -I/Users/myusername/Downloads/php-5.3.5/ext/mssql -DPHP_ATOM_INC -I/Users/myusername/Downloads/php-5.3.5/ext/mssql/include -I/Users/myusername/Downloads/php-5.3.5/ext/mssql/main -I/Users/myusername/Downloads/php-5.3.5/ext/mssql -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/Applications/MAMP/Library/include -DHAVE_CONFIG_H -g -O2 -c /Users/myusername/Downloads/php-5.3.5/ext/mssql/php_mssql.c  -fno-common -DPIC -o .libs/php_mssql.o
In file included from /Users/myusername/Downloads/php-5.3.5/ext/mssql/php_mssql.c:33:
/Users/myusername/Downloads/php-5.3.5/ext/mssql/php_mssql.h:68: error: redefinition of typedef ‘LPBYTE’
/Applications/MAMP/Library/include/sqlfront.h:35: error: previous declaration of ‘LPBYTE’ was here
/Users/myusername/Downloads/php-5.3.5/ext/mssql/php_mssql.c: In function ‘php_mssql_do_connect’:
/Users/myusername/Downloads/php-5.3.5/ext/mssql/php_mssql.c:760: warning: cast from pointer to integer of different size
/Users/myusername/Downloads/php-5.3.5/ext/mssql/php_mssql.c: In function ‘php_mssql_get_column_content_without_type’:
/Users/myusername/Downloads/php-5.3.5/ext/mssql/php_mssql.c:1113: warning: passing argument 1 of ‘spprintf’ from incompatible pointer type
make: *** [php_mssql.lo] Error 1