Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15692 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60460 invoked by uid 1010); 30 Mar 2005 17:35:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60144 invoked from network); 30 Mar 2005 17:35:34 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 30 Mar 2005 17:35:34 -0000 X-Host-Fingerprint: 64.233.170.192 rproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.170.192:10559] helo=rproxy.gmail.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 14/4B-22409-463EA424 for ; Wed, 30 Mar 2005 12:35:32 -0500 Received: by rproxy.gmail.com with SMTP id i8so172812rne for ; Wed, 30 Mar 2005 09:35:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=TyYHB6aiwO4m94b4nqj9Z0dPIaCESYmFs7R7oHVrmj8TSVYngFHTjPjDkQZXSAIMEjkEF84QVjXAPKMch2aM0isD4Q+KA7RcNmsD9q3xuHG2qxFMqVY8fdbMLWWKoerWQhBFeMMJbBIsxyMBshWuin0TGBEinUqPH2jyagjFHj4= Received: by 10.38.75.70 with SMTP id x70mr640667rna; Wed, 30 Mar 2005 09:35:29 -0800 (PST) Received: by 10.38.65.30 with HTTP; Wed, 30 Mar 2005 09:35:29 -0800 (PST) Message-ID: Date: Wed, 30 Mar 2005 12:35:29 -0500 Reply-To: Dan Scott To: internals@lists.php.net In-Reply-To: <038b01c5354c$bab025e0$1200000a@intra.emini.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <424A4F09.6040603@picorp.com> <038b01c5354c$bab025e0$1200000a@intra.emini.dk> Subject: Re: [PHP-DEV] php5 win build From: denials@gmail.com (Dan Scott) Thanks Edin, grabbing your updated resolv.lib and dropping it into the win32build directory got me over the last hurdle! Dan On Wed, 30 Mar 2005 19:20:11 +0200, Edin Kadribasic wrote: > You can download the lib from: > > http://ftp.emini.dk/pub/php/win32/dev/php_build/lib/resolv.lib > > headers are in: > > http://ftp.emini.dk/pub/php/win32/dev/php_build/include/ > > Edin > > ----- Original Message ----- > From: "Dan Scott" > To: > Sent: Wednesday, March 30, 2005 6:23 PM > Subject: Re: [PHP-DEV] php5 win build > > > On Wed, 30 Mar 2005 08:36:28 -0500, Dan Scott wrote: > > > Try grabbing the latest CVS version of PHP or the latest 5.0.x > > > snapshots from http://snaps.php.net/ -- there were a number of patches > > > since 5.0.3 that helped me get further on my attempt to compile on > > > Windows using the Microsoft Visual C++ Toolkit 2003 (for C compiler) + > > > Platform SDK for Windows (for most of the required header files) + > > > Microsoft .NET SDK (for nmake). > > > > > > However, my build is now dying because it can't find winres.h :( > > > > > > Dan > > > > > > > Okay, so I copied the Microsoft Platform SDK for Windows XP > > SP2\include\WinResrc.h to winres.h and that got the compile all the > > way to the linking point. But now it dies (so close!) with: > > > > Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp > > resolv.lib(inet_addr.obj) : error LNK2019: unresolved external symbol > > __pctype referenced in function _inet_aton > > resolv.lib(inet_addr.obj) : error LNK2019: unresolved external symbol > > ___mb_cur_max referenced in function _inet_aton > > Release_TS\php5ts.dll : fatal error LNK1120: 2 unresolved externals > > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET > 2003\ > > Vc7\bin\link.exe"' : return code '0x460' > > > > Reading http://www.zend.com/manual/install.windows.building.php > > suggests that to fix this problem I need to rebuild resolv.lib -- but > > using the bindlib.dsp file requires msdev, which requires a full MS > > Visual Studio environment. That's a showstopper for those of us trying > > to do this with just the free-beer tools available from Microsoft. > > > > However, it is apparently possible to export a DSP file as a Makefile > > from MS Visual Studio. If someone with a full MS Visual Studio > > environment would be willing to make that exported makefile available, > > I think it might help close this final loop and would be a worthwhile > > addition to the bindlib_w32.zip archive. > > > > Dan > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > >