Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 96040 invoked from network); 3 Jan 2008 04:22:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2008 04:22:55 -0000 Received: (qmail 88738 invoked by uid 500); 3 Jan 2008 04:22:42 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 88707 invoked by uid 500); 3 Jan 2008 04:22:42 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 88698 invoked by uid 99); 3 Jan 2008 04:22:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 20:22:42 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chunronglai@gmail.com designates 209.85.198.190 as permitted sender) Received: from [209.85.198.190] (HELO rv-out-0910.google.com) (209.85.198.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 04:22:20 +0000 Received: by rv-out-0910.google.com with SMTP id k20so4348894rvb.0 for ; Wed, 02 Jan 2008 20:22:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=hUvATpWtxAFO23BQ8+2+L+g5T5gie1casXG0hU0dlP8=; b=dGTefpNK9pXFKY69AleEdYc5XS3EMNo5G6NCrHYhgOElRiKdEFOYjRYbdG+1aDx3Lm2WJRrpo7eaGmI2YjC1pIPaLMiJ3U2bAII8MqP5Ey/RHncOoTs+qDRlOpLWMaTz5AjW3tz/ZMHpL1OiA3CbTK1vRBkPLNMUDtXOdxCWKWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=BQ1x4y2GYNJ9YpsJMGjEceXsmLKuSA/YILx+E5T8I013rmjd28vF2UsC1hvmLWsAaa9PfCUP6GpvmY37TnbaWpgHtiKKmeEHaladv8epsU6d69p+jQ3AYAVd7zLhi1S7Idab04vcJCtLH5TANc4LdKKJzabB3D8Y0gxpsT6XdRs= Received: by 10.142.171.6 with SMTP id t6mr658373wfe.126.1199334144527; Wed, 02 Jan 2008 20:22:24 -0800 (PST) Received: by 10.143.161.20 with HTTP; Wed, 2 Jan 2008 20:22:24 -0800 (PST) Message-ID: Date: Thu, 3 Jan 2008 12:22:24 +0800 From: "chunrong lai" To: dev@harmony.apache.org Subject: [drlvm][build]Need manual environment variable setting to build Harmony MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_42562_1020848.1199334144555" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_42562_1020848.1199334144555 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, colleagues: Just a note that recently I found that I need to manually set "LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;" to successfully build Harmony in my machine, or not I will have build error message like below build.native.link: [cc] 0 total files to be compiled. [cc] Starting link [cc] msvcrt.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in MSVCRT.LIB(ti_inst.obj) [cc] msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z ) already defined in MSVCRT.LIB(ti_inst.obj) [cc] msvcrt.lib(ti_inst.obj) : warning LNK4006: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in MSVCRT.LIB(ti_inst.obj); second definition ignored [cc] msvcrt.lib(ti_inst.obj) : warning LNK4006: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z ) already defined in MSVCRT.LIB(ti_inst.obj); second definition ignored [cc] Creating library harmonyvm.lib and object harmonyvm.exp [cc] harmonyvm.dll : fatal error LNK1169: one or more multiply defined symbols found My machine installs both of Visual Studio 2003 and VC6. The environment setting is firstly "LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\ProgramFiles\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib" and is then "LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\LIB;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\prerelease;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\lib;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib" after the vsvars32.bat has been called. I am not sure what was happened but I could build Harmony after had called vsvars32.bat before. So this is likely a new issue to me. ------=_Part_42562_1020848.1199334144555--