Hello, I am using VC++ 5.0 to compile PHP 4.3.0 on a NT box, I got the following error during compilation:
--------------------Configuration: Zend - Win32 Release-------------------- Compiling... zend.c zend_alloc.c zend_API.c zend_builtin_functions.c zend_compile.c zend_constants.c zend_execute.c G:\work\php-4.3.0\Zend\zend_execute.c(127) : warning C4013: '__assume' undefined; assuming extern returning int zend_execute_API.c G:\work\php-4.3.0\Zend\zend_execute_API.c(362) : warning C4018: '==' : signed/unsigned mismatch zend_extensions.c zend_hash.c zend_highlight.c zend_indent.c zend_ini.c zend_ini_parser.c zend_ini_scanner.c zend_language_parser.c zend_language_scanner.c G:\work\php-4.3.0\Zend\zend_language_scanner.c(5558) : warning C4273: 'isatty' : inconsistent dll linkage. dllexport assumed. zend_list.c G:\work\php-4.3.0\Zend\zend_list.c(180) : warning C4013: '__assume' undefined; assuming extern returning int zend_llist.c zend_multibyte.c zend_opcode.c zend_operators.c zend_ptr_stack.c zend_qsort.c zend_sprintf.c zend_stack.c zend_variables.c Generating Code... Creating library... --------------------Configuration: libmysql - Win32 Release-------------------- Compiling... array.c bchange.c bmove.c bmove_upp.c charset.c ctype.c dbug.c default.c dll.c errmsg.c errors.c get_password.c int2str.c is_prefix.c libmysql.c G:\work\php-4.3.0\ext\mysql\libmysql\libmysql.c(923) : warning C4018: '>' : signed/unsigned mismatch G:\work\php-4.3.0\ext\mysql\libmysql\libmysql.c(982) : warning C4018: '>' : signed/unsigned mismatch list.c longlong2str.c mf_casecnv.c mf_dirname.c mf_fn_ext.c mf_format.c mf_loadpath.c mf_pack.c mf_path.c mf_unixpath.c mf_wcomp.c mulalloc.c my_alloc.c my_compress.c my_create.c my_delete.c my_div.c my_error.c my_fopen.c my_getwd.c my_init.c my_lib.c my_malloc.c my_messnc.c my_net.c my_once.c my_open.c my_pthread.c my_read.c my_realloc.c my_static.c my_tempnam.c my_thr_init.c my_wincond.c my_winthread.c my_write.c net.c password.c safemalloc.c str2int.c strcend.c strcont.c strend.c strfill.c string.c strinstr.c strmake.c strmov.c strnmov.c strtoll.c strtoull.c strxmov.c thr_mutex.c typelib.c violite.c Creating library... --------------------Configuration: php4dll - Win32 Release-------------------- Compiling... aggregation.c css.c cyr_convert.c fopen_wrappers.c main.c mergesort.c network.c output.c php_content_types.c php_ini.c php_logos.c php_open_temporary_file.c php_ticks.c php_variables.c quot_print.c reentrancy.c rfc1867.c safe_mode.c SAPI.c snprintf.c spprintf.c streams.c strlcat.c strlcpy.c user_streams.c G:\work\php-4.3.0\main\user_streams.c(640) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data G:\work\php-4.3.0\main\user_streams.c(641) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data G:\work\php-4.3.0\main\user_streams.c(642) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data G:\work\php-4.3.0\main\user_streams.c(643) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data G:\work\php-4.3.0\main\user_streams.c(644) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data array.c assert.c base64.c basic_functions.c bcmath.c browscap.c crc32.c credits.c datetime.c dir.c dl.c dns.c exec.c file.c filestat.c flock_compat.c formatted_print.c fsock.c ftp_fopen_wrapper.c head.c html.c http_fopen_wrapper.c image.c incomplete_class.c info.c iptc.c lcg.c levenshtein.c link.c mail.c math.c md5.c metaphone.c microtime.c mod_files.c mod_user.c pack.c pageinfo.c parsedate.c php_fopen_wrapper.c php_mysql.c G:\work\php-4.3.0\ext\mysql\php_mysql.c(359) : error C2065: 'CLIENT_INTERACTIVE' : undeclared identifier G:\work\php-4.3.0\ext\mysql\php_mysql.c(1077) : warning C4013: 'mysql_character_set_name' undefined; assuming extern returning int G:\work\php-4.3.0\ext\mysql\php_mysql.c(1671) : warning C4013: 'mysql_real_escape_string' undefined; assuming extern returning int php_odbc.c G:\work\php-4.3.0\ext\odbc\php_odbc.c(2134) : warning C4761: integral size mismatch in argument; conversion supplied php_pcre.c rand.c reg.c G:\work\php-4.3.0\ext\standard\reg.c(350) : warning C4018: '<=' : signed/unsigned mismatch scanf.c session.c soundex.c string.c strnatcmp.c syslog.c type.c uniqid.c url.c url_scanner.c var.c versioning.c regcomp.c regerror.c regexec.c regfree.c chartables.c get.c G:\work\php-4.3.0\ext\pcre\pcrelib\internal.h(145) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4 maketables.c G:\work\php-4.3.0\ext\pcre\pcrelib\internal.h(145) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4 pcre.c G:\work\php-4.3.0\ext\pcre\pcrelib\internal.h(145) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4 study.c G:\work\php-4.3.0\ext\pcre\pcrelib\internal.h(145) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4 ctype.c overload.c tokenizer.c ftp.c php_ftp.c cal_unix.c calendar.c dow.c easter.c french.c gregor.c jewish.c julian.c COM.c conversion.c G:\work\php-4.3.0\ext\com\conversion.c(498) : warning C4013: 'SafeArrayGetVartype' undefined; assuming extern returning int pwd.c readdir.c registry.c sendmail.c time.c VARIANT.c G:\work\php-4.3.0\ext\com\VARIANT.c(87) : fatal error C1189: #error : "CP_SYMBOL undefined" wfile.c winsnmp.c winutil.c wsyslog.c Error executing cl.exe. php4nts.dll - 6 error(s), 16 warning(s) What am I missing here?? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php