From dev-return-25582-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Mon Apr 02 08:56:51 2007 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 21422 invoked from network); 2 Apr 2007 08:56:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2007 08:56:50 -0000 Received: (qmail 70591 invoked by uid 500); 2 Apr 2007 08:56:55 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 70549 invoked by uid 500); 2 Apr 2007 08:56:55 -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 70540 invoked by uid 99); 2 Apr 2007 08:56:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 01:56:55 -0700 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 (herse.apache.org: domain of vladimir.k.beliaev@gmail.com designates 209.85.132.243 as permitted sender) Received: from [209.85.132.243] (HELO an-out-0708.google.com) (209.85.132.243) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 01:56:46 -0700 Received: by an-out-0708.google.com with SMTP id b2so1204525ana for ; Mon, 02 Apr 2007 01:56:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sF1Xo7nbX/IsAW810Ifwt32DJuEQPRa2qdyC/JZawb6MBsGbfuD1Jh4NkHuhHgkBP5TnRB16n6BC5Eqqs81W5vhVCArcMBiU57f2lKvN20BkUghxJY+1uE0dRywn3MGIYdSJvMk5f+kuQrWOo5hTW1XKiIJiicYSkjC2e7R7vM0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rNE8uRYMAOZwf8SHEEPck4WxraRctPnCCn0LUFONDLUGzUEsTotV1DgYQxUM/MsUhllENEVjbBpdQ5hS1I9g3o0gfZDNaEgaDWonW2Be7QKPK8H5JZoNCzdDJh6QZsslJ748dt454/PA/ueE56z/69dgxTeMwIWKxoEDsDeTRVw= Received: by 10.114.14.1 with SMTP id 1mr1739114wan.1175504185373; Mon, 02 Apr 2007 01:56:25 -0700 (PDT) Received: by 10.114.155.17 with HTTP; Mon, 2 Apr 2007 01:56:25 -0700 (PDT) Message-ID: <587698b80704020156u45376a9ub0d3940369f104a1@mail.gmail.com> Date: Mon, 2 Apr 2007 12:56:25 +0400 From: "Vladimir Beliaev" To: dev@harmony.apache.org Subject: Re: Problem when building harmony on 64bit Windows In-Reply-To: <587698b80704020154h270be46n6613378ff4ab1319@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_105864_24646668.1175504185318" References: <4dd1f3f00703291113j7b52adc9ma5f93127d4ed019e@mail.gmail.com> <587698b80704011146k585b7f22j6db25092cbdf74c@mail.gmail.com> <587698b80704020154h270be46n6613378ff4ab1319@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_105864_24646668.1175504185318 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline > Could you also set your environments settings cmd ("Visual Studio 2005 x64 Win64 Command Prompt"): I meant "Could you also send...". 2007/4/2, Vladimir Beliaev : > > May be it worth getting a fresh Harmony version (although it takes time) & > retry with it before reinstalling windows... > > Another variant is to redo "update" (in properly set environment) [I do it > from cygwin]: > cd /working_vm/build > ./buid.bat clean > rm -fr ./pre-copied > rm -fr ./win_em64t_msvc_debug > cd .. # the target dir is /working_vm > svn update > cd ./build > ./build.bat update > > and then try to build again... > > I'm recalling my situation from previous week when I was not able to build > drlvm "kernel classes" - sources update, cleaning did not help (I missed to > do "./build.update")... I did not meat previously the linking error you > described to give the quick answer. > > Could you also set your environments settings cmd ("Visual Studio 2005 x64 > Win64 Command Prompt"): > INCLUDE > LIB > LIBPATH > Path > FrameworkSDKDir > > Thanks > Vladimir Beliaev > > 2007/4/2, Qi Ji : > > > > Vladimir, your infomation is very important to me, thank you!! > > I followed Xiao-Feng's guild, and my environment virables are all the > > same as yours, but the error is still there. > > I reinstalled vs2005, but the situation was just as it was. > > Could it help if I reinstall Windows? > > > > On 4/2/07, Vladimir Beliaev < vladimir.k.beliaev@gmail.com> wrote: > > > You may call to MSVC2005 development environment setting script w/o > > setting > > > INCLUDE & LIB manually for building on windows/x86_64. > > > > > > You either do this with the command (if MSVC is installed to its > > default > > > location): > > > > > > call "C:\Program Files (x86)\Microsoft Visual Studio > > 8\VC\vcvarsall.bat" > > > amd64 > > > > > > or run cmd.exe through GUI from Start menu like: > > > > > > Start->Programs->Miscrisoft Visula Strudion 2005->Visula Studio > > > Tools->Visual Studio 2005 x64 Win64 Command Prompt > > > > > > Anyway, in this console (in shell): > > > > > > $ echo $INCLUDE > > > C:\Program Files (x86)\Microsoft Visual Studio > > > 8\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio > > > 8\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio > > > 8\VC\PlatformSDK\include;C:\Program Files (x86)\Microsoft Visual > > Studio > > > 8\SDK\v2.0\include; > > > > > > $ echo $LIB > > > C:\Program Files (x86)\Microsoft Visual Studio > > > 8\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio > > > 8\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio > > > 8\VC\PlatformSDK\lib\amd64;C:\Program Files (x86)\Microsoft Visual > > Studio > > > 8\SDK\v2.0\LIB\AMD64; > > > mstmrtd193: ~ $ > > > > > > More hints are given by Xiao-Feng here: > > > http://wiki.apache.org/harmony/DevBuild_Win64 > > > > > > Thanks > > > Vladimir Beliaev > > > > > > 2007/4/1, Qi Ji : > > > > > > > > Weldon, thanks a lot for your reply. > > > > I updated classlib and drlvm, and then rebuild, but the error still > > exist. > > > > Can anybody paste here the win64 environment virables, such as > > INCLUDE and > > > > LIB? > > > > > > > > Thanks! > > > > Qi Ji > > > > > > > > On 3/30/07, Weldon Washburn < weldonwjw@gmail.com> wrote: > > > > > Sorry for the inconvenience. Please try "svn update" now. We > > have had > > > > a > > > > > very difficult time applying a performance enhancement that > > inlines > > > > > thread-local storage (H3065). It should be fixed now. > > > > > > > > > > On 3/29/07, kent qi wrote: > > > > > > > > > > > > Hi, colleagues, > > > > > > When building harmony on 64bit Windows, I met such problem: > > > > > > > > > > > > build.native.link: > > > > > > [cc] 0 total files to be compiled. > > > > > > [cc] Starting link > > > > > > [cc] Creating library jitrino.lib and object > > jitrino.exp > > > > > > [cc] LINK : error LNK2001: unresolved external symbol > > > > _CorDllMain > > > > > > [cc] jitrino.dll : fatal error LNK1120: 1 unresolved > > externals > > > > > > > > > > > > > > > > > > Does anyone know how to fix it? Thanks a lot!! > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Weldon Washburn > > > > > > > > > > > > > > > > > > > > > -- > > > Vladimir Beliaev > > > Intel Middleware Products Division > > > > > > > > > -- > Vladimir Beliaev > Intel Middleware Products Division > -- Vladimir Beliaev Intel Middleware Products Division ------=_Part_105864_24646668.1175504185318--