Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64284 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40611 invoked from network); 15 Dec 2012 09:52:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Dec 2012 09:52:30 -0000 Authentication-Results: pb1.pair.com header.from=mohammad.ghazavi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mohammad.ghazavi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: mohammad.ghazavi@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:41385] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/53-19100-D584CC05 for ; Sat, 15 Dec 2012 04:52:29 -0500 Received: by mail-ie0-f170.google.com with SMTP id k10so7579746iea.29 for ; Sat, 15 Dec 2012 01:52:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=V0pBW5G803xx+7W/puNxhbh2bX9MxFT6vMd0U+1sKl8=; b=rsWDH5sqFvY1nCcxDDk36mRbXMzsHfQDLiNW6x3wv3h09FGFMielcqldCUOEYX4XKY hmQiqwK3ROI3DgUhd7xEGUv5SdjNSpFWWHpjKbzbLOmq2HwrkUWFbYnRqcZoU+a0CtvR qQWWmMYpnGGKD02c/fIsEXwwzy+zWsXjKE3dC30tqNb0PBaK1WfOcYG7ikl1Oxu2nlvY Qc98CZm7AV/7xe4+kvwK7GcJct6qb0vurpkFx/LNOMljroJfVbHX3NS6pKMINUbJM/PE dMBuLgkXl/Fj2Oipg3KC0b/bn7oR76p0L5IyfSgObZ5AkWrryqZseAFRP/23RNwNkGlq ItOg== Received: by 10.42.68.203 with SMTP id y11mr6859617ici.26.1355565146862; Sat, 15 Dec 2012 01:52:26 -0800 (PST) MIME-Version: 1.0 Sender: mohammad.ghazavi@gmail.com Received: by 10.50.156.163 with HTTP; Sat, 15 Dec 2012 01:51:46 -0800 (PST) In-Reply-To: References: Date: Sat, 15 Dec 2012 13:21:46 +0330 X-Google-Sender-Auth: BBqMEt-w23rrjX2mCF9Gtfg71F0 Message-ID: To: Pierre Joye Cc: PHP internals Content-Type: multipart/alternative; boundary=20cf30334b5f0c761304d0e11be0 Subject: Re: [PHP-DEV] error when compiling php 5.3.x with vc++ 2008 From: admin@ecdcconference.org (Amir) --20cf30334b5f0c761304d0e11be0 Content-Type: text/plain; charset=UTF-8 I did it but have error still note: I compile none thread safe and got error when using some user function in my c++ code. On Sat, Dec 15, 2012 at 1:02 PM, Pierre Joye wrote: > hi, > > nmake clean > configure .... > make > > You are building it again while having configured&built for another mode. > > On Sat, Dec 15, 2012 at 9:43 AM, Amir wrote: > > Hi > > > > here is my error: > > error LNK2001: unresolved external symbol __imp__executor_globals_id > > > > when I compiling my c++ php extension. > > > > My setting is: > > I use php5.lib as additional library > > my processor: > WIN32;NDEBUG;_WINDOWS;_USRDLL;PHP_WIN32;ZEND_WIN32;ZTS=0;ZEND_DEBUG=0 > > > > and include directories: > > > C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include";" > > > C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include\win32";" > > > C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include\TSRM";" > > > C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include\zend";" > > > C:\php-sdk\php53dev\vc9\x86\php5.3-xyz\Release\php-5.3.19-devel-VC9-x86\include\main" > > > > I configured as this link > > https://wiki.php.net/internals/windows/stepbystepbuild step by step and > > using Windows SDK 6.1 > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > --20cf30334b5f0c761304d0e11be0--