From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=brian.richardson@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C134D2263DD70 for ; Mon, 16 Apr 2018 08:32:48 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Apr 2018 08:32:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,459,1517904000"; d="scan'208";a="34053370" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga008.jf.intel.com with ESMTP; 16 Apr 2018 08:32:47 -0700 Received: from orsmsx116.amr.corp.intel.com (10.22.240.14) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 16 Apr 2018 08:32:46 -0700 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.92]) by ORSMSX116.amr.corp.intel.com ([169.254.7.150]) with mapi id 14.03.0319.002; Mon, 16 Apr 2018 08:32:46 -0700 From: "Richardson, Brian" To: "edk2-devel@lists.01.org" Thread-Topic: [edk2] TianoCore UEFI Development Kit build: how to cause the build process to correctly recognize the build platform (Linux)? Thread-Index: AdPUzq47VrElRvK5Rk+PEwA/lRPQXQAyR5rw Date: Mon, 16 Apr 2018 15:32:46 +0000 Message-ID: <80AC2BAA3152784F98F581129E5CF5AFA47BB757@ORSMSX114.amr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWU0YzNlYTgtYzAyNy00MmFhLWJhNzctYzAzZGU4YTdlMjg3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IldFM2xNUnUrMWNraEE3VlU5eDYyeW9JYk5KNnV6TktjSGZ2RVwvaTVlM2JZPSJ9 dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Subject: Re: TianoCore UEFI Development Kit build: how to cause the build process to correctly recognize the build platform (Linux)? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2018 15:32:49 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I recommend you try building MdePkg as a test under any Linux environment. = NT32Pkg is designed for Windows environments. https://github.com/tianocore/tianocore.github.io/wiki/UDK2018-How-to-Build#= how-to-build-linux-like-system=20 Thanks . br --- Brian Richardson, Senior Technical Marketing Engineer, Intel Software brian.richardson@intel.com -- @intel_brian (Twitter & WeChat) https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian= -richardson=20 -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Marv= in H=E4user Sent: Sunday, April 15, 2018 11:31 AM To: edk2-devel@lists.01.org Subject: Re: [edk2] TianoCore UEFI Development Kit build: how to cause the = build process to correctly recognize the build platform (Linux)? Hey, As you have found out, Nt32Pkg is for Windows and shouldn't be built on Lin= ux. You can specify the platform descriptor file to build via the "-p " parameter. Regards, Marvin. > -----Urspr=FCngliche Nachricht----- > Von: edk2-devel Im Auftrag von=20 > Aleksey Shevandin > Gesendet: Sonntag, 15. April 2018 17:23 > An: edk2-devel@lists.01.org > Betreff: [edk2] TianoCore UEFI Development Kit build: how to cause the=20 > build process to correctly recognize the build platform (Linux)? >=20 > Dear members, >=20 > I'm trying to build *UDK2018* on *Ubuntu 17*. After studying the=20 > documentation, I had impressed that the platform setup script > (*sedksetup.sh*) shall configure the build framework to target the=20 > correct build platform, the tool chain etc. Unfortunately this is not=20 > what actually happens. >=20 > The platform build process (the Build base tool) unexpectedly tries to=20 > build some *MS Windows* oriented stuff and fails. How this can be fixed? >=20 > Following the documented recommendations, at the first stage I build=20 > the "Base Tools": >=20 > |/make all -C ${EDK_TOOLS_PATH}/| >=20 > Then I run the setup script: >=20 > |/edksetup.sh BaseTools/| >=20 > This stages are finished with success, also the setup script runs some=20 > tests that successfully pass. >=20 > On the next stage I'm trying to build the platform: >=20 > |build all -a X64 -t GCC5| >=20 > This last stage fails with the follow error: >=20 > Nt32Pkg/Include/WinNtPeim.h:27:10: fatal error: Common/WinNtInclude.h: > No such file or directory >=20 >=20 > Regards, >=20 > Aleksey >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel