Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21697 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85370 invoked by uid 1010); 27 Jan 2006 03:11:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 85355 invoked from network); 27 Jan 2006 03:11:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2006 03:11:59 -0000 X-Host-Fingerprint: 64.233.184.197 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.197:30980] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 12/86-03249-D7F89D34 for ; Thu, 26 Jan 2006 22:11:57 -0500 Received: by wproxy.gmail.com with SMTP id i3so569661wra for ; Thu, 26 Jan 2006 19:11:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=CAP4ZcfYnW0UJcqgnz0g0xCjvWu91/rPfrrpnPPAnXiGfdVqfmVu/stIM3VU5yUV9L3WITKymrkV+PwQ9xnthBMPGz3v3AzNpJsKMdT2mnBYQF0e9hVNz4HaHdSJB5OmRbu/ISuP3LQoMl0dfi3W3HQ2KKBxR9k6AS7dDT5gZO8= Received: by 10.64.242.12 with SMTP id p12mr1753769qbh; Thu, 26 Jan 2006 19:11:54 -0800 (PST) Received: by 10.64.178.15 with HTTP; Thu, 26 Jan 2006 19:11:53 -0800 (PST) Message-ID: Date: Fri, 27 Jan 2006 11:11:53 +0800 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_83868_19779605.1138331513917" Subject: Why this link error From: taft123@gmail.com (taft) ------=_Part_83868_19779605.1138331513917 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I use MVC 6 to get my extension compiled, but when it linked, the IDE issue= d the following error: myfile.obj : error LNK2001: unresolved external symbol _executor_globals_id Release/php_myfile.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe. my code is simple: PHP_FUNCTION(create_var) { zval *new_long =3DNULL; if( ZEND_NUM_ARGS() !=3D0 ) WRONG_PARAM_COUNT; MAKE_STD_ZVAL(new_long); new_long -> type =3D IS_LONG; new_long -> value.lval =3D 100; ZEND_SET_SYMBOL(EG(active_symbol_table),"new_long_name",new_long); RETURN_TRUE; } I already included php4ts.lib into my IDE. I need you help thank you! -- please visit my blog http://blog.csdn.net/taft ------=_Part_83868_19779605.1138331513917--