Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15690 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44891 invoked by uid 1010); 30 Mar 2005 17:20:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44853 invoked from network); 30 Mar 2005 17:20:17 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 30 Mar 2005 17:20:17 -0000 X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:29082] helo=gw2.emini.dk) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 9D/3A-22409-FCFDA424 for ; Wed, 30 Mar 2005 12:20:15 -0500 Received: from palestine (palestine.intra.emini.dk [10.0.0.18]) by gw2.emini.dk (Postfix) with SMTP id 8D4625576D; Wed, 30 Mar 2005 19:20:11 +0200 (CEST) Message-ID: <038b01c5354c$bab025e0$1200000a@intra.emini.dk> To: "Dan Scott" , References: <424A4F09.6040603@picorp.com> Date: Wed, 30 Mar 2005 19:20:11 +0200 Organization: Emini ApS MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Subject: Re: [PHP-DEV] php5 win build From: edink@emini.dk ("Edin Kadribasic") 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 > > >