Win 32 Build problem
| From: | Rob Richards | Date: | Sun, 23 Mar 2003 16:12:12 +0000 |
| Subject: | Win 32 Build problem | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-191@lists.php.net to get a copy of this message | ||
I am trying to do a win 32 build from the latest cvs source. After 842
errors I am trying to go through them to figure out what the problems are
that I am having.
The largest source of errors seems to be a change made in February to the
use of winsock2.
winsock.h is getting pulled in first from /arpa/inet.h from the win32build
tools (via the php.h include).
This is causing many redefinition; different linkage errors.
In order to get rid of the errors and allow the the problem files to be
created I include the winsock2.h file prior to including the php.h file.
Does any know wether this may o may not cause any unexpected problems?
The files I found the problems in were:
main/fopen_wrappers.c
main/mergesort.c
extc/ftp/ftp.c
ext/standard/dns.c
ext/standard/ftp_fopen_wrapper.c
ext/standard/http_fopen_wrapper.c
ext/mysql/php_mysql.c
ext/odbc/php_odbc.c
win32/sendmail.c
Rob