Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:197 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72820 invoked from network); 23 Mar 2003 18:10:41 -0000 Received: from unknown (HELO secure.thebrainroom.com) (213.239.42.171) by pb1.pair.com with SMTP; 23 Mar 2003 18:10:41 -0000 Received: from zaneeb.brainnet.i (brain.dial.nildram.co.uk [195.149.29.154]) by secure.thebrainroom.com (8.9.3/8.9.3) with ESMTP id SAA21876; Sun, 23 Mar 2003 18:29:03 GMT Received: from zaneeb.brainnet.i (IDENT:+KUhIUnSn+gXwA8g5BsPimcnn/gZV2CM@zaneeb.brainnet.i [127.0.0.1]) by zaneeb.brainnet.i (8.11.6/8.11.6) with ESMTP id h2NIAcb10909; Sun, 23 Mar 2003 18:10:39 GMT Date: Sun, 23 Mar 2003 18:10:38 +0000 (GMT) X-X-Sender: wez@zaneeb.brainnet.i To: Rob Richards cc: php-dev In-Reply-To: <016701c2f156$f6d83080$06dea8c0@cyberware.local> Message-ID: References: <1048001497.1516.3.camel@localhost.localdomain> <001901c2ed6f$b3be6f70$0301a8c0@TRABAJOS2> <016701c2f156$f6d83080$06dea8c0@cyberware.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Win 32 Build problem From: wez@thebrainroom.com (Wez Furlong) You are most likely building from the wrong branch. for PHP5: co php5 for PHP 4.3.x co -r PHP_4_3 php4 checking out HEAD from php4 will not work. --Wez. On Sun, 23 Mar 2003, Rob Richards wrote: > 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 > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > >