Errors when compiling PHP source
Posted: Thu Oct 30, 2003 7:27 pm
When I try to compile php4 and php4dll I get the following errors.
I am compiling with VC++ .NET
------ Build started: Project: php4dll, Configuration: Debug Win32 ------
Compiling...
study.c
c:\PHPSOURCE\php-4.3.3\ext\pcre\pcrelib\internal.h(157) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4
pcre.c
c:\PHPSOURCE\php-4.3.3\ext\pcre\pcrelib\internal.h(157) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4
maketables.c
c:\PHPSOURCE\php-4.3.3\ext\pcre\pcrelib\internal.h(157) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4
get.c
c:\PHPSOURCE\php-4.3.3\ext\pcre\pcrelib\internal.h(157) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4
Build log was saved at "file://c:\PHPSOURCE\php-4.3.3\Debug\BuildLog.htm"
php4dll - 4 error(s), 0 warning(s)
------ Build started: Project: php4, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 'php4nts_debug.lib'
Build log was saved at "file://c:\PHPSOURCE\php-4.3.3\Debug\BuildLog.htm"
php4 - 1 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 3 succeeded, 2 failed, 0 skipped
I am compiling with VC++ .NET
------ Build started: Project: php4dll, Configuration: Debug Win32 ------
Compiling...
study.c
c:\PHPSOURCE\php-4.3.3\ext\pcre\pcrelib\internal.h(157) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4
pcre.c
c:\PHPSOURCE\php-4.3.3\ext\pcre\pcrelib\internal.h(157) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4
maketables.c
c:\PHPSOURCE\php-4.3.3\ext\pcre\pcrelib\internal.h(157) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4
get.c
c:\PHPSOURCE\php-4.3.3\ext\pcre\pcrelib\internal.h(157) : fatal error C1189: #error : LINK_SIZE must be either 2, 3, or 4
Build log was saved at "file://c:\PHPSOURCE\php-4.3.3\Debug\BuildLog.htm"
php4dll - 4 error(s), 0 warning(s)
------ Build started: Project: php4, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 'php4nts_debug.lib'
Build log was saved at "file://c:\PHPSOURCE\php-4.3.3\Debug\BuildLog.htm"
php4 - 1 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 3 succeeded, 2 failed, 0 skipped