Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64267 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97476 invoked from network); 12 Dec 2012 11:19:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2012 11:19:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=mohammad.ghazavi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mohammad.ghazavi@gmail.com; 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:63177] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/56-54245-72868C05 for ; Wed, 12 Dec 2012 06:19:03 -0500 Received: by mail-ie0-f170.google.com with SMTP id k10so1623277iea.29 for ; Wed, 12 Dec 2012 03:19:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=/qpGtG/YtmA7fgXZflF1pNMlGGRNEIH25cVXTYMRJzg=; b=Pmo4U6alLbrimwBs4wWHQtvzNHyUJ1dDq89+CqyxFJUewapYPJ3QTb5eja5CBIaqV8 MMLdb3oBsmgoriCL9SNrXFumnFzcNulZ5ndXoJ3FyP6UlsMIGWcOa729KfRJUrJt1vkz wXW08wChLqYaCNdOVggQ4GfKl6H7Wdhe8hT+5xPYbYf3QefwQBqKN8lV4hGwVb/7LtxJ qNJ0RYhowReDK3WCJOIfbP1+s6mgFky2uj/qNZl5TMxdIbPGaTQgQUXrJIn4l1ON/zsz 0qKO+9t8HbqK8dIeDIWHTM3w6hNSG76eHEnI+wbCIk3GaZvA3B7bA0tdW04yYEODGEwZ y7lA== Received: by 10.50.0.179 with SMTP id 19mr501178igf.59.1355311140824; Wed, 12 Dec 2012 03:19:00 -0800 (PST) MIME-Version: 1.0 Sender: mohammad.ghazavi@gmail.com Received: by 10.50.156.163 with HTTP; Wed, 12 Dec 2012 03:18:20 -0800 (PST) Date: Wed, 12 Dec 2012 14:48:20 +0330 X-Google-Sender-Auth: yrON06WDU8qBFZ125a3WIAHKIbk Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=e89a8f502fc01be7bc04d0a5f761 Subject: compile php extension on visual c++ 2005 From: admin@ecdcconference.org (Amir) --e89a8f502fc01be7bc04d0a5f761 Content-Type: text/plain; charset=UTF-8 Hi Im compiling my c++ php extension on php 5.3 and visual c++ 2008 everything is ok and work fine, but I have to (and I force) to using php 5.2.9 and compile it via vc++ 2005. I got this error during compile: *zend\zend_config.w32.h(38) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory* * * I changed my windows SDK include directory, set environment variables and.. But have still error. I compiled with vc++ 2008 and get another error: *microsoft visual studio 8\vc\include\sys\stat.inl(44) : error C2466: cannot allocate an array of constant size 0* --e89a8f502fc01be7bc04d0a5f761--